FT1A S
MART
A
XIS
U
SER
’
S
M
ANUAL
FT9Y-B1382
25-11
25: U
SER
C
OMMUNICATION
I
NSTRUCTIONS
While 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 RXD2 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, 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
Multi-byte Start Delimiter
A start delimiter can be programmed at the first bytes in the receive format of a RXD instruction; the SmartAxis will recognize the
beginning of valid communication, although a RXD instruction without a start delimiter can also be executed. A maximum of 5
consecutive constants that are either character or hexadecimal from the first byte of the receive format are considered a multi-byte
start delimiter.
If a RXD instruction with a start delimiter is executed and another RXD instruction with the same start delimiter is executed, user
communication error code 5 is stored in the data register designated as the receive status of the second RXD instruction. When the
error occurs, the second RXD instruction is canceled, and the first RXD instruction keeps executed.
If a multi-byte start delimiter is designated, and the incoming data does not match the entire multi-byte start delimiter, the
SmartAxis discards the incoming data and waits for the next communication.
When the first one byte is received, a timer is started to monitor the interval between incoming data even when a multi-byte start
delimiter is designated. If data is not received in the period specified for the receive timeout value after receiving one byte of data,
a receive timeout error occurs, and user communication error code 11 is stored in the status data register.
****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 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 ...