Panasonic FP Series Programming Manual page 643

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Conversion instructions
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 F77_DBIN2A (see page 1326)
PLC types
Data types
Variable
Data type
ANY32
s1
INT
s2
WORD
d
Operands
For
s1
s2
d
Error flags
No.
IEC address
R9007
%MX0.900.7
R9008
%MX0.900.8
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.
Body
When the variable start is set to TRUE, the function is carried out. The number of bytes to be
converted is entered directly at the contact pin for s2.
LD
642
Function
32-bit data area to be converted (source)
specifies number of bytes to express destination data (ASCII
codes)
16-bit area for storing ASCII codes (destination)
Relay
DWX DWY
DWR
DWL
WX
WY
WR
WL
-
WY
WR
WL
Set
permanently
for an instant
T/C
Register
DSV
DEV
DDT
DLD
DFL
SV
EV
DT
LD
FL
SV
EV
DT
LD
FL
If
 the number of bytes specified by s2 exceeds
the area specified by d.
 the data specified by s2 is recognized as "0".
 the converted result exceeds the area
specified by d.
 the number of bytes of converted result
exceeds the number of bytes specified by
s2.
Constant
dec. or hex.
dec. or hex.
-

Advertisement

Table of Contents
loading

Table of Contents