Panasonic FP Series Programming Manual page 671

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Conversion instructions
Operands
For
s, n
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.
In this example bit_combination and position are declared as input variables. However, you can
write constants directly at the input contact of the function instead.
Body
When the variable start is set to TRUE, the function is carried out.
LD
ST
When programming with structured text, enter the following:
IF
start
THEN
F240_COLM( s:= bit_combination,
n:= position,
d=>
END_IF;
670
Relay
WX
WY
WR
WL
-
WY
WR
WL
Set
permanently
for an instant
data_field
);
T/C
Register
SV
EV
DT
LD
FL
SV
EV
DT
LD
FL
If
 the bit position specified at input n is not
between 0 and 15
 the conversion operation results in an
overflow of the address area at output d.
Constant
dec. or hex.
-

Advertisement

Table of Contents
loading

Table of Contents