Panasonic FP Series Programming Manual page 435

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Arithmetic instructions
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 3 (lower limit of
the deadband) and 10 (upper limit of the deadband) 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
IF
start
THEN
F287_BAND( 3, 10, input_value, output_value);
END_IF;
434
Set
permanently
for an instant
TRUE
(* 3=lower limit of deadband, 10=upper limit of deadband *)
If
 the value at s1 > s2.
 the input value at s3 is 0.

Advertisement

Table of Contents
loading

Table of Contents