Panasonic FP Series Programming Manual page 640

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

ASCII HEX
code
16#20
16#2B
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.
Availability of F76_A2BIN (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.
POU header
All input and output variables used for programming this function have been declared in the POU
header.
Decimal
characters
SPACE
+
-
0
1
2
3
4
5
6
7
8
9
Function
16-bit area for ASCII code (source)
specifies number of source data bytes to be converted
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 data specified by s2 is recognized as
"0".
 the converted result exceeds the 16-bit
area specified by d.
 ASCII code not corresponding to decimal
numbers (0 to 9) or ASCII characters (+,
-, and SPACE) is specified.
Conversion instructions
Constant
-
dec. or hex.
-
639

Advertisement

Table of Contents
loading

Table of Contents