Panasonic FP Series Programming Manual page 441

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Arithmetic instructions
F289_ZONE
The function adds an offset value to the input value at input s3. The offset values for the negative
Description
and positive areas are entered at inputs s1 and s2. The result of the function is returned at output d
as follows:
If the input value at input s3 < 0, the negative offset value at input s1 is added to
the input value at s3, and the result is stored as the output value at d.
If the input value at input s3 = 0, 0 is returned at the output value to output d.
If the input value at input s3 > 0, the positive offset value at input s2 is added to
the input value at s3, and the result is stored as the output value at d.
Positive bias
value s2
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 F289_ZONE (see page 1323)
PLC types
Data types
Variable
Data type
s1
s2
ANY16
s3
d
440
16-bit data zone control
Output value d
Input value s3
0
Negative bias value s1
Function
area where negative bias value is stored or negative bias value
data
area where positive bias value is stored or positive bias value data
area where input value is stored or input value data
area where output value is stored

Advertisement

Table of Contents
loading

Table of Contents