Conversion instructions
636
Part III FP Instructions
When a positive number is converted
d[2] d[1] d[0]
s1
2132
21
3334
43
2020
1234
D204
Range specified by s2 (6 bytes)
ASCII code
Extra bytes
Converted
result
F75_BIN2A instruction execution
bit data
(Space)(Space)
Decimal characters to express ASCII HEX code:
Decimal
characters
ASCII HEX
code
SPACE
-
0
1
2
3
4
5
6
7
8
9
16#20
16#2D
16#30
16#31
16#32
16#33
16#34
16#35
16#36
16#37
16#38
16#39
This instruction also exists as a P instruction (for FP2/2SH, FP3/5, FP10/10SH PLC types), which
is only executed at the rising edge of the EN trigger. Select [Insert P instruction] from the
"Instructions" pane if you require a P instruction. To facilitate reuse, the instruction then appears
under "Recently used" in the pop-up menu. Press <Ctrl>+<Shift>+<v> within the programming
area to open the list of recently used elements.
PLC types
Availability of F75_BIN2A (see page 1326)
Variable Data type Function
s1 ANY16 16-bit area to be converted (source)
s2 INT specifies number of bytes used to express destination data
(ASCII codes)
d WORD 16-bit area for storing ASCII codes (destination)
For Relay T/C Register Constant
s1, s2 WX WY WR WL SV EV DT LD FL dec. or hex.
d - WY WR WL SV EV DT LD FL -
Data types
Operands