Panasonic FP Series Programming Manual page 879

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Selection Instructions
F285_LIMT
The function compares the input value at input s3_In with a lower and an upper limit. The lower
Description
limit is specified at input s1_Min, and the upper limit at input s2_Max. The result of the function is
returned at output d as follows.
If the input value at s3_In < s1_Min, the lower limit at input s1_Min is returned at
output d.
If the input value at s3_In > s2_Max, the upper limit at input s2_Max is returned
at output d.
If the input value at s2_Max  s3_In  s1_Min, the input value s3_In is returned
unchanged at output d.
If you want to control the output value solely via the upper value s2_Max, set -32768 or 16#8000
for the lower limit s1_Min. To perform lower limit control only, set 32767 or 16#7FFF for the upper
limit s2_Max.
Lower limit s1
This instruction also exists as a P instruction (for FP2/2SH, FP3/5, FP10/10SH PLC types), which
is only executed at the rising edge of the EN trigger. Select [Insert P instruction] from the
"Instructions" pane if you require a P instruction. To facilitate reuse, the instruction then appears
under "Recently used" in the pop-up menu. Press <Ctrl>+<Shift>+<v> within the programming
area to open the list of recently used elements.
Availability of F285_LIMT (see page 1323)
PLC types
Data types
Variable
Data type
s1_Min
s2_Max
ANY16
s3_In
d
878
16-bit data upper and lower limit control
Output value d
[s2]
Input value s3
Upper limit s2
[s1]
Function
the area where the lower limit is stored or the lower limit data
the area where the upper limit is stored or the upper limit
data
the area where the input value is stored or the input value
data
the area where the output value data is stored

Advertisement

Table of Contents
loading

Table of Contents