IDEC FC6A-C16K1CE Communications Manual page 88

Fc6a series microsmart all-in-one type
Hide thumbs Also See for FC6A-C16K1CE:
Table of Contents

Advertisement

5: U
C
SER
OMMUNICATION
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.)
(1) Receive digits = 2
"1"
"2"
"3"
(31h)
(32h)
(33h)
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)
(2) ASCII to BCD conversion
"1"
"2"
(31h)
(32h)
(3) No conversion
"1"
"2"
(31h)
(32h)
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
"1"
"2"
"3"
(31h)
(32h)
(33h)
2 digits
1st block
2nd block
Repeat 1
(2) Repeat cycles = 3
"1"
"2"
"3"
(31h)
(32h)
(33h)
2 digits
1st block
2nd block
Repeat 1
5-12
I
NSTRUCTIONS
"4"
"5"
"6"
(34h)
(35h)
(36h)
2 digits
2 digits
3rd block
ASCII to Binary conversion
ASCII to BCD conversion
No conversion
"4"
(34h)
2 digits
ASCII to Binary conversion
Repeat 2
"4"
"5"
"6"
(34h)
(35h)
(36h)
2 digits
2 digits
3rd block
ASCII to Binary conversion
Repeat 2
Repeat 3
FC6A S
M
S
A
ERIES
ICRO
MART
(2) Receive digits = 3
"1"
(31h)
0012h
00012
Hexadecimal value
3132h
D20
D21
D20
D21
D22
-
-O
T
C
LL
IN
NE
YPE
OMMUNICATION
"2"
"3"
"4"
"5"
(32h)
(33h)
(34h)
(35h)
(36h)
3 digits
3 digits
1st block
2nd block
000Ch
0012h
0034h
0012h
0034h
0056h
M
FC9Y-B1730
ANUAL
"6"

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents