Panasonic FP Series Programming Manual page 445

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Arithmetic instructions
F349_FZONE
The function adds an offset value to the input value at input s3. The offset value for the negative
Description
and positive area 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.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, 0.0 is returned as the output value to output d.
If the input value at input s3 > 0.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 F349_FZONE (see page 1324)
PLC types
Data types
Variable
Data type
REAL
s1
REAL
s2
REAL
s3
REAL
d
444
Floating point 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