7 Applied Instructions
7.9 External Device (optional device)
410
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
Devices after
(D100)=0ABCH
(D101)=1234H
(D102)=5678H
Number of digits (characters) specified and result of conversion
Bit composition in the case of n=K2
• When issuing as BCD data by printer or the like, before execution of this instruction, you must convert from
BIN to BCD.
Cautions
1) FXU PLC supports the instruction at V3.07 or later.
FX
0N PLC supports the instruction at V1.20 or later.
2) FX
0N PLC does not support the instruction of pulse operation type.
To execute pulse operation, make the instruction execution condition pulse type.
3) Object devices are limited.
S1: FX
3U, FX3UC, FX3G PLCs only are applicable.
S2: FX3U, FX3UC PLCs only are applicable.
K1 K2 K3 K4 K5 K6 K7 K8 K9
D 200C)B)A)0)4)3)2)1)8)
D 201 C)B)A)0)4)3)2)1)
D 202 C)B)A)0)4)3)2)
D 203 C)B)A)0)4)3)
D 204 C) B) A) 0) 4)
D 205 C) B) A) 0)
D 206 Not changed C) B) A)
D 207 C) B)
D 208 C)
0011110101010000
D 100=0ABCH
ASCII code of D200=B=42H
ASCII code of D201=C=43H
0ABC
0100001000000000
42
1100001000000000
43
ASCII code
0)=30H
A)=41H
B)=42H
C)=43H
1)=31H
2)=32H
3)=33H
4)=34H
5)=35H
6)=36H
7)=37H
8)=38H