IDEC FC4A-C10R2 User Manual page 287

Fc4a series microsmart micro programmable logic controller
Table of Contents

Advertisement

Transmit Digits (Bytes)
After conversion, the transmit data is taken out in specified digits. Possible digits depend on the selected conversion type.
Example: D10 stores 010Ch (268)
(1) Binary to ASCII conversion, Transmit digits = 2
010Ch
D10
(2) BCD to ASCII conversion, Transmit digits = 3
D10
010Ch
(3) No conversion, Transmit digits = 1
010Ch
D10
Repeat Cycles
When a data register is designated to repeat, consecutive data registers, as many as the repeat cycles, are used for transmit
data in the same conversion type and transmit digits.
Example:
000Ch
D10
0022h
D11
0038h
D12
Data of data registers starting with D10 is converted in BCD to ASCII and is transmitted according to the designated repeat
cycles.
(1) Repeat cycles = 2
Repeat 1
D10
000Ch
Repeat 2
0022h
D11
(2) Repeat cycles = 3
Repeat 1
000Ch
D10
Repeat 2
0022h
D11
Repeat 3
0038h
D12
Binary to ASCII conversion
00268
Decimal
BCD to ASCII
value
conversion
No conversion
Data register No.: D10
Transmit digits:
Conversion type:
Decimal value
Decimal value
« FC4A M
17: U
ASCII data
"0"
"1"
"0"
"C"
(30h)
(31h)
(30h)
(43h)
ASCII data
"0"
"0"
"2"
(30h)
(30h)
(32h)
ASCII data
SOH
FF
(01h)
(0Ch)
2
BCD to ASCII
00012
00034
BCD to ASCII conversion
00012
00034
00056
BCD to ASCII conversion
S
U
'
M
ICRO
MART
SER
S
ANUAL
C
SER
OMMUNICATION
Transmitted data
"0"
(30h)
Lowest 2 digits
"6"
"8"
(36h)
(38h)
Transmitted data
FF
(0Ch)
Lowest 1 digit
ASCII data
"1"
"2"
"3"
"4"
(31h)
(32h)
(33h)
(34h)
ASCII data
"1"
"2"
"3"
"4"
(31h)
(32h)
(33h)
(34h)
»
I
NSTRUCTIONS
"C"
(43h)
Transmitted data
"2"
"6"
"8"
(32h)
(36h)
(38h)
Lowest 3 digits
"5"
"6"
(35h)
(36h)
17-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents