Panasonic FP Series Programming Manual page 882

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 -123456 (lower
limit) and 654321 (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
F286_DLIMT( 123456, 654321, input_value, output_value);
END_IF;
Relay
DWX DWY DWR
DWL
-
DWY DWR
DWL
Set
If
permanently
for an instant
permanently
(* 123456= lower limit, 654321=upper limit *)
T/C
Register
DSV
DEV
DDT
DLD
DSV
DEV
DDT
DLD
 the value at s1_Min > s2_Max
 the result of processing is between the
upper and lower limits.
Selection Instructions
Constant
DFL
dec. or hex.
DFL
-
881

Advertisement

Table of Contents
loading

Table of Contents