EasyManua.ls Logo

Rievtech ELC Series - Page 145

Rievtech ELC Series
355 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
EN
Programmable Relay User Manual for ELC, EXM and PR Series 145 2020 v6.0 © Rievtech Co.,
Ltd. www.rievtech.com
The value for the Referenced FB parameter references the
block number of an already-programmed analogue math
function block.
Description of the function
The analogue math error detection block sets the output
when the referenced analogue math function block has an
error. You can program the function to set the output on
a zero-division error, an overflow error, or when either
type of error occurs.
If you select the automatically reset checkbox, the output
is reset prior to the next execution of the function block.
If not, the output retains its state until the analogue math
error detection block is reset with the R parameter.
In any scanning cycle, if the referenced analogue math
function block executes before the analogue math error
detection function block, the error is detected in the same
scan cycle. if the referenced analogue math function block
executes after the analogue math error detection function
block, the error is detected in the next scan cycle.
Analogue math error detection logic table
In the table below, Error to Detect represents the
parameter of the analogue math error detection
instruction that selects which type of error to detect. Zero
represents the zero division bit set by the analogue math
instruction at the end of its execution: 1 if the error
occurred, 0 if not. OF represents the overflow bit set by
the analogue math instruction: 1 if the error occurred, 0 if
not. Zero division OR Overflow represents the logical OR
of the zero-division bit and the overflow bit of the
referenced analogue math instruction. Output (Q)
represents the output of the analogue math error
detection function. An “x” indicates that the bit can be
either 0 or 1 with no influence on the output.
Error to Detect
Zero
Of
Output
Zero division
1
X
1
Zero division
0
X
0
Overflow
X
1
1
Overflow
X
0
0
Zero division OR
Overflow
1
0
1
Zero division OR
Overflow
0
1
1
Zero division OR
Overflow
1
1
1
Zero division OR
Overflow
0
0
0
If the Referenced Analog Math FB is null, then the output
is always 0.

Related product manuals