Panasonic FP Series Programming Manual page 880

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Operands
For
s1_Min, s2_Max, s3_In
d
Error flags
No.
IEC address
%MX0.900.7
R9007
%MX0.900.8
R9008
%MX0.900.11
R900B
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 variable input_value is declared. However, you can write a constant
directly at the input contact of the function instead.
Body
When the variable start is set to TRUE, the function is carried out. The constant 0 (lower limit) and
2000 (upper limit) are assigned to inputs s1 and s2. However, you can declare variables in the
POU header and write them in the function in the body at the inputs.
LD
ST
When programming with structured text, enter the following:
IF
start
THEN
F285_LIMT( 0, 2000, input_value, output_value);
END_IF;
Relay
WX
WY
WR
-
WY
WR
Set
permanently
for an instant
permanently
(* 0=lower limit, 2000=upper limit *)
T/C
Register
WL
SV
EV
DT
WL
SV
EV
DT
If
 the value at s1_Min > s2_Max
 the result of processing is between the
upper and lower limits.
Selection Instructions
Constant
LD
FL
dec. or hex.
LD
FL
-
879

Advertisement

Table of Contents
loading

Table of Contents