5: U
SER
C
OMMUNICATION
I
NSTRUCTIONS
5-12 FC6A S
ERIES
M
ICRO
S
MART
A
LL
-
IN
-O
NE
T
YPE
C
OMMUNICATION
M
ANUAL
FC9Y-B1730
Receive Digits
The received data is divided into blocks of specified receive digits before conversion as described below:
Example: Received data of 6 bytes are divided in different receive digits. (Repeat is also designated.)
Conversion Type
The data block of the specified receive digits is then converted according to the designated conversion type as described below:
Example: Received data has been divided into a 2-digit block.
(1) ASCII to Binary conversion
(2) ASCII to BCD conversion
(3) No conversion
Repeat Cycles
When a data register is assigned to repeat, the received data is divided and converted in the same way as specified, and the converted data is
stored to as many consecutive data registers as repeat cycles.
Example: Received data of 6 bytes is divided into 2-digit blocks, converted in ASCII to Binary, and stored to data registers starting
at D20.
(1) Repeat cycles = 2
(2) Repeat cycles = 3
(1) Receive digits = 2 (2) Receive digits = 3
“1”
(31h)
“2”
(32h)
“3”
(33h)
“4”
(34h)
2 digits
“5”
(35h)
“6”
(36h)
2 digits
2 digits
1st block 2nd block 3rd block
“1”
(31h)
“2”
(32h)
“3”
(33h)
“4”
(34h)
3 digits
“5”
(35h)
“6”
(36h)
3 digits
1st block 2nd block
0012h
ASCII to Binary conversion
“1”
(31h)
“2”
(32h)
00012
ASCII to BCD conversion
“1”
(31h)
“2”
(32h)
000Ch
Hexadecimal value
3132h
No conversion
“1”
(31h)
“2”
(32h)
0012h
D20
Repeat 1
0034h
D21
ASCII to Binary conversion
Repeat 2
“1”
(31h)
“2”
(32h)
2 digits
1st block
“3”
(33h)
“4”
(34h)
2 digits
2nd block
0012h
D20
Repeat 1
0034h
D21
ASCII to Binary conversion
Repeat 2
“1”
(31h)
“2”
(32h)
2 digits
1st block
“3”
(33h)
“4”
(34h)
2 digits
2nd block
“5”
(35h)
“6”
(36h)
2 digits
3rd block
0056h
D22
Repeat 3