
FC6A S
ERIES
M
ICRO
S
MART
A
LL
-
IN
-O
NE
T
YPE
C
OMMUNICATION
M
ANUAL
FC9Y-B1730
5-13
5: U
SER
C
OMMUNICATION
I
NSTRUCTIONS
Delimiter
A delimiter for the data register in the receive format can be assigned. Using a delimiter, incoming data of variable length can be
received and stored to data registers.
Note:
Delimiters for data registers can be used in the receive format of RXD instructions only.
Designating Constant as Start Delimiter
A start delimiter can be programmed at the first byte in the receive format of a RXD instruction; the FC6A Series MicroSmart will
recognize the beginning of valid communication, although a RXD instruction without a start delimiter can also be executed.
When a constant value is designated at the first byte of source device S1, the one-byte data serves as a start delimiter to start the
processing of the received data.
A maximum of five instructions each of RXD1 through RXD3 with different start delimiters can be executed at the same time.
When the first byte of the incoming data matches the start delimiter of a RXD instruction, the received data is processed and
stored according to the receive format specified in the RXD instruction. If the first byte of the incoming data does not match the
start delimiter of any RXD instruction that is executed, the FC6A Series MicroSmart discards the incoming data and waits for the
next communication.
When a RXD instruction without a start delimiter is executed, any incoming data is processed continuously according to the receive
format. Only one instruction each of RXD1 through RXD3 without a start delimiter can be executed at a time. If start inputs to two
or more RXD instructions without a start delimiter are turned on simultaneously, the one at the smallest address is executed and
the corresponding completion output is turned on.
Example:
(1) When a RXD instruction without a start delimiter is executed
(2) When RXD instructions with start delimiters STX (02h) and ENQ (05h) are executed
Delimiter
How the incoming data is stored to data registers
Designated
The incoming data is stored to data registers until all the data specified with receive digits, conversion type, and repeat
is processed or the specified delimiter is received.
No delimiter
The incoming data is stored to data registers until all the data specified with receive digits, conversion type, and repeat
is processed.
****h
D100
When D100 is designated as the first data register
“0”
(30h)
“1”
(31h)
1st
character
“2”
(32h)
“3”
(33h)
Incoming Data
****h
D100+n
****h
D101
The incoming data is divided, converted, and stored to data registers according to the receive format.
****h
D100
RXD Instruction 1
STX
(02h)
“1”
(31h)
“2”
(32h)
“3”
(33h)
Incoming Data
****h
D100+n
****h
D101
The incoming data is divided, converted, and stored to data registers according to the receive format.
Start delimiters are not stored to data registers.
ENQ
(05h)
“A”
(41h)
“B”
(42h)
“C”
(43h)
STX (02h)
When D100 is designated as the first data register
****h
D200
RXD Instruction 2
****h
D200+n
****h
D201
ENQ (05h)
When D200 is designated as the first data register
Compare
Содержание MICROSmart FC6A-C16K1CE
Страница 1: ...B 1730 2 FC6A SERIES All in One Type Communication Manual...
Страница 60: ...3 COMMUNICATION SETTINGS 3 22 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 76: ...4 MAINTENANCE COMMUNICATION 4 16 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 126: ...5 USER COMMUNICATION INSTRUCTIONS 5 50 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 158: ...6 MODBUS COMMUNICATION 6 32 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 200: ...8 J1939 COMMUNICATION 8 32 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 218: ...10 SEND E MAIL FUNCTION 10 16 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730...
Страница 252: ...INDEX 4 FC6A SERIES MICROSMART ALL IN ONE TYPE COMMUNICATION MANUAL FC9Y B1730 INDEX...