IDEC FC4A-C10R2 User Manual page 295

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

Receive Digits
The received data is divided into a block 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.)
(1) Receive digits = 2
"1"
"2"
"3"
(31h)
(32h)
(33h)
2 digits
2 digits
1st block
2nd block
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
"1"
"2"
(31h)
(32h)
ASCII to Binary conversion
(2) ASCII to BCD conversion
"1"
"2"
(31h)
(32h)
(3) No conversion
"1"
"2"
(31h)
(32h)
Repeat Cycles
When a data register is designated to repeat, the received data is divided and converted in the same way as specified, and
the converted data is stored to consecutive data registers as many as the 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
"1"
"2"
"3"
(31h)
(32h)
(33h)
2 digits
2 digits
1st block
2nd block
Repeat 1
"4"
"5"
"6"
(34h)
(35h)
(36h)
2 digits
3rd block
ASCII to BCD conversion
No conversion
"4"
(34h)
ASCII to Binary conversion
Repeat 2
« FC4A M
17: U
(2) Receive digits = 3
"1"
(31h)
1st block
0012h
00012
Hexadecimal value
3132h
D20
D21
S
U
'
M
ICRO
MART
SER
S
ANUAL
C
SER
OMMUNICATION
"2"
"3"
"4"
"5"
"6"
(32h)
(33h)
(34h)
(35h)
(36h)
3 digits
3 digits
2nd block
000Ch
0012h
0034h
»
I
NSTRUCTIONS
17-17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents