Panasonic FP Series Programming Manual page 442

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Operands
For
s1, s2, s3
d
Error flags
No.
IEC address
%MX0.900.11
R900B
%MX0.900.9
R9009
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 the input variables input_value and negative_offset are declared. 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. It adds the corresponding
negative offset value = 10 to the negative input_value = -12. However, you can declare a variable
in the POU header and assign it to the function's input in the body.
LD
ST
IF
start
THEN
F289_ZONE( negative_offset, 20, input_value, output_value);
END_IF;
Relay
WX
WY
WR
WL
SV
-
WY
WR
WL
SV
Set
for an instant
for an instant
(*negative_offset=neg. offset, 20=pos. offset *)
T/C
Register
EV
DT
LD
FL
EV
DT
LD
FL
If
 the calculation results in an overflow or
an underflow of output d.
 the input value s3 is 0.
Arithmetic instructions
Constant
dec. or hex.
-
441

Advertisement

Table of Contents
loading

Table of Contents