Programmable Relay ● User Manual for ELC, EXM and PR Series 144 2020 v6.0 ● © Rievtech Co.,
Ltd. ● www.rievtech.com
If the analogue math function block execution results in
zero division or overflow, it sets internal bits that indicate
the type of error that occurred. You can program an
analogue math error detection function block in your
circuit program to detect these errors, and to control the
program behaviour as needed. You program one
analogue math error detection function block to reference
one specific analogue math function block.
Examples
The following tables show some simple example analogue
math block parameters, and the resulting equations and
output values:
Equation: (12 + (6 / 3)) - 1
Result: 13
Equation: 2+ (3*(1+4))
Result: 17
Equation: (100 – 25) / (2 + 1)
Result: 25
Long Data Math!!
Analogue Math Error Detection
Description of function
The analogue math error detection block sets an output if
an error has occurred in the referenced analogue math
function block.
Enable the analogue math error
detection function block.
Referenced FB: block number of an
analogue math instruction
Error to detect: Zero division,
Overflow, or Zero division OR
Overflow.
Auto Reset: Reset the output when
the failure condition clears.
Q is set high if the error to detect
occurred in the last execution of
the referenced analogue math
function block.