Panasonic FP Series Programming Manual page 630

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

"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 F73_BCD2A (see page 1326)
Data types
Variable
Data type
WORD
s1
ANY16
s2
WORD
d
Operands
For
s1
s2
d
Error flags
No.
IEC address
%MX0.900.7
R9007
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.
%MX0.900.8
R9008
Body
When the variable start is set to TRUE, the function is carried out. In this example, the variable
direction_number specifies that from the input variable BCDCodeInput, 2 bytes will be converted
in the reverse direction and stored in ASCOutput.
LD
Function
starting 16-bit area for BCD data (source)
specifies number of source data bytes to be converted, and
how it is arranged
starting 16-bit area for storing converted result (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
Conversion instructions
Constant
-
dec. or hex.
-
629

Advertisement

Table of Contents
loading

Table of Contents