25: U
SER
C
OMMUNICATION
I
NSTRUCTIONS
25-12
FT1A S
MART
A
XIS
U
SER
’
S
M
ANUAL
FT9Y-B1382
Examples: Multi-byte Start Delimiter
Multi-byte start delimiter is determined in the structure of the Receive Format. The following examples show how multi-byte start
delimiter is determined.
Constants are followed by data register, skip, or BCC
Note:
Constants following data register, skip, or BCC are not considered start delimiter even if these are in the first five bytes of the receive format.
More than 5 constants are specified from the first byte
Note:
Constants that are not either start delimiters nor end delimiters are considered constants for verification. See page 25-15.
Example: Start Delimiter Duplication Error
When input I0 is turned on, the first RXD instruction is executed and status code 32 is stored in the receive status D200, indicating
the RXD instruction is waiting for the incoming data. When input I1 is turned on, another RXD instruction is executed, but since
two RXD instructions have the same start delimiter, the second RXD instruction is not executed, and the user communication error
code 5 is stored in the receive status D300.
Note:
If the lengths of multi-byte start delimiters of two RXD instructions executed at the same time are different, these are considered the same
multi-byte start delimiter if the start delimiter constants as many as the length of the start delimiter of the RXD instruction whose start delimiter
length is smaller are the same. The start delimiter of any of two RXD instructions in the following RXD instructions are considered the same.
Data register, skip, or BCC
Receive Format
Start Delimiter
Receive Format
Const
Start
Delimiter
DR
etc.
Const Const Const
Data register, skip, or BCC
DR
etc.
Start Delimiter
Receive Format
Const Const Const Const Const Const
S1
16
D1
M20
I0
SOTU
RXD
2
D2
D200
Communication port:
Port 2
Receive completion output:
M20
Receive status register:
D200
Receive data byte count:
D201
Receive Format S1
32
D200
OFF
M20
Const
(05h)
Start
Delimiter
DR
D210
Const
(05h)
S1
16
D1
M30
I1
SOTU
RXD
2
D2
D300
Communication port:
Port 2
Receive completion output:
M30
Receive status register:
D300
Receive data byte count:
D301
5
D300
OFF
M30
Receive Format S1
Const
(05h)
Start
Delimiter
DR
D310
Const
(0Ah)
Содержание microsmart pentra
Страница 1: ...FT1A SERIES FC9Y B1382 Ladder Programming Manual ...
Страница 6: ...Preface 5 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 104: ...7 DATA COMPARISON INSTRUCTIONS 7 10 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 122: ...8 BINARY ARITHMETIC INSTRUCTIONS 8 18 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 138: ...10 SHIFT ROTATE INSTRUCTIONS 10 12 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 162: ...11 DATA CONVERSION INSTRUCTIONS 11 24 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 188: ...12 CALENDAR COMPARISON INSTRUCTIONS 12 26 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 198: ...15 REFRESH INSTRUCTIONS 15 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 202: ...16 INTERRUPT CONTROL INSTRUCTIONS 16 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 266: ...20 DUAL TEACHING TIMER INSTRUCTIONS 20 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 318: ...25 USER COMMUNICATION INSTRUCTIONS 25 22 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...