17: U
SER
C
OMMUNICATION
I
NSTRUCTIONS
17-20
« FC4A M
ICRO
S
MART
U
SER
’
S
M
ANUAL
»
Example:
(1) When a RXD instruction without an end delimiter is executed
(2) When a RXD instruction with end delimiter ETX (03h) and without BCC is executed
(3) When a RXD instruction with end delimiter ETX (03h) and one-byte BCC is executed
Skip
When “skip” is designated in the receive format, a specified quantity of digits in the incoming data are skipped and not
stored to data registers. A maximum of 99 digits (bytes) of characters can be skipped continuously.
Example:
When a RXD instruction with skip for 2 digits starting at the third byte is executed
****h
D100
When D100 is designated
“0”
(30h)
“1”
(31h)
Total of received characters
“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.
Receive operation is completed when the total characters programmed in RXD are received.
as the first data register
****h
D100
When D100 is designated
ETX
(03h)
“1”
(31h)
End delimiter
“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.
The end delimiter is not stored to a data register.
Any data arriving after the end delimiter is discarded.
as the first data register
End of receiving data
****h
D100
When D100 is designated
ETX
(03h)
“1”
(31h)
End delimiter
“2”
(32h)
BCC
Code
Incoming data
****h
D100+n
****h
D101
The incoming data is divided, converted, and stored to data registers according to the receive format.
The end delimiter and BCC code are not stored to data registers.
After receiving the end delimiter, the
MicroSmart
receives only the one-byte BCC code.
as the first data register
End of receiving data
0035h
D102
“1”
(31h)
“2”
(32h)
Skipped
“3”
(33h)
“4”
(34h)
Incoming Data
0038h
D105
0036h
D103
“5”
(35h)
“6”
(36h)
“7”
(37h)
“8”
(38h)
0031h
D100
0032h
D101
0037h
D104
When D100 is designated
as the first data register
Содержание FC4A-C10R2
Страница 1: ...FC4A SERIES Micro Programmable Logic Controller User s Manual FC9Y B812 ...
Страница 6: ...PREFACE 4 FC4A MICROSMART USER S MANUAL ...
Страница 94: ...2 MODULE SPECIFICATIONS 2 74 FC4A MICROSMART USER S MANUAL ...
Страница 184: ...6 ALLOCATION NUMBERS 6 20 FC4A MICROSMART USER S MANUAL ...
Страница 218: ...8 ADVANCED INSTRUCTIONS 8 8 FC4A MICROSMART USER S MANUAL ...
Страница 240: ...11 BINARY ARITHMETIC INSTRUCTIONS 11 8 FC4A MICROSMART USER S MANUAL ...
Страница 244: ...12 BOOLEAN COMPUTATION INSTRUCTIONS 12 4 FC4A MICROSMART USER S MANUAL ...
Страница 252: ...13 SHIFT ROTATE INSTRUCTIONS 13 8 FC4A MICROSMART USER S MANUAL ...
Страница 274: ...15 WEEK PROGRAMMER INSTRUCTIONS 15 8 FC4A MICROSMART USER S MANUAL ...
Страница 378: ...22 DUAL TEACHING TIMER INSTRUCTIONS 22 4 FC4A MICROSMART USER S MANUAL ...
Страница 386: ...23 INTELLIGENT MODULE ACCESS INSTRUCTIONS 23 8 FC4A MICROSMART USER S MANUAL ...
Страница 408: ...24 ANALOG I O CONTROL 24 22 FC4A MICROSMART USER S MANUAL ...
Страница 426: ...26 COMPUTER LINK COMMUNICATION 26 6 FC4A MICROSMART USER S MANUAL ...