17: USER COMMUNICATION INSTRUCTIONS
OPENNET CONTROLLER USER’S MANUAL 17-15
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 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
(2) Repeat cycles = 3
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
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com