Panasonic FP Series Programming Manual page 627

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Conversion instructions
ASCII HEX code
16#30
16#31
16#32
16#33
16#34
16#35
16#36
16#37
16#38
16#39
16#41
16#42
16#43
16#44
16#45
16#46
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 F72_A2HEX (see page 1326)
PLC types
Data types
Variable
Data type
WORD
s1
INT
s2
ANY16
d
Operands
For
s1
s2
d
Error flags
No.
IEC address
%MX0.900.7
R9007
%MX0.900.8
R9008
In this example, the same POU header is used for all programming languages. For an example
Example
using IL (instruction list), please refer to the online help.
626
Hexadecimal
number
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
Function
starting 16-bit area for ASCII code (source)
specifies number of source data bytes to be converted
starting 16-bit area for storing converted data (destination)
Relay
WX
WY
WR
WL
WX
WY
WR
WL
-
WY
WR
WL
Set
permanently
for an instant
T/C
Register
SV
EV
DT
LD
FL
SV
EV
DT
LD
FL
SV
EV
DT
LD
FL
If
 the number of bytes specified by s2
exceeds the area specified by s1.
 the converted result exceeds the area
specified by d.
 the data specified by s2 is recognized as
"0".
 ASCII code, not a hexadecimal number
(0 to F), is specified.
Constant
-
dec. or hex.
-

Advertisement

Table of Contents
loading

Table of Contents