Instructions
9.5 Polyline
Errors with error messages ErrorBits ≥ 16#0001_0000
If one or more errors with error messages ErrorBits ≥ 16#0001_0000 are pending, the output
value cannot be determined as expected. The substitute output value is output instead.
Enable output ENO is set to FALSE.
ErrorBits
Description
( DW#16#...)
0001_0000
The SubstituteOutput or Input parameter that is being used as the output value has no valid REAL val-
ue. The output is set to 0.0.
Possible error scenarios:
The Reset parameter is set to FALSE and an error with ErrorBits ≥ 16#0002_0000 is pending that
•
prevents the interpolation calculation, and
–
–
The Reset parameter is set to TRUE while the SubstituteOutput parameter has no valid REAL value.
•
The error bit at the Error parameter is cleared and enable output ENO is set to TRUE again, when
The SubstituteOutput or Input parameter is changed to a valid REAL value.
•
or
The SubstituteOutput or Input parameter is no longer being used as the output value.
•
If the SubstituteOutput or Input parameter is changed to a valid REAL value, FB Polyline uses the Sub-
stituteOutput or Input parameter again as the output value.
0002_0000
The Input parameter has no valid REAL value, while the interpolation calculation is to be performed
(Reset = FALSE).
The Output parameter is assigned the substitute output value that you configure at the ErrorMode tag.
Note that the output value is set to 0.0 when tag ErrorMode = 0 is set because the value at the Input
parameter is not being used as a substitute output value in this case.
The NextXIndex tag is not updated as long as the Input parameter has an invalid REAL value
The error bit at the Error parameter is cleared and enable output ENO is set to TRUE again, when
The Input parameter is changed to a valid REAL value.
•
or
The Reset parameter is set to TRUE.
•
If the Input parameter is changed to a valid REAL value and the Reset parameter is set to FALSE, FB
Polyline outputs the interpolation value again at the output.
520
the Input parameter has no valid REAL value, then tag ErrorMode = 0.
the SubstituteOutput parameter has no valid REAL value, then tag ErrorMode = 1.
Function Manual, 03/2017, A5E35300227-AC
PID control