Panasonic FP Series Programming Manual page 637

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Conversion instructions
When a positive number is converted
bit data
Converted
result
34
4
Range specified by s2 (6 bytes)
Decimal characters to express ASCII HEX code:
Decimal
characters
SPACE
-
0
1
2
3
4
5
6
7
8
9
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.
Availability of F75_BIN2A (see page 1326)
PLC types
Data types
Variable
Data type
ANY16
s1
INT
s2
WORD
d
Operands
For
s1, s2
d
636
s1
04
D2
1234
F75_BIN2A instruction execution
d[2]
d[1]
d[0]
33
32
21
20
20
3
2
1
(Space)
(Space)
ASCII code
Extra bytes
ASCII HEX
code
16#20
16#2D
16#30
16#31
16#32
16#33
16#34
16#35
16#36
16#37
16#38
16#39
Function
16-bit area to be converted (source)
specifies number of bytes used to express destination data
(ASCII codes)
16-bit area for storing ASCII codes (destination)
Relay
WX
WY
WR
WL
-
WY
WR
WL
T/C
Register
SV
EV
DT
LD
FL
SV
EV
DT
LD
FL
Constant
dec. or hex.
-

Advertisement

Table of Contents
loading

Table of Contents