User Manual

LOGO! functions
4.4 Special functions list - SF
LOGO!
230 Manual, 06/2014, A5E33039675
Setting the Par parameter
The following illustration shows the view in programming mode that corresponds to the first
example [12 + (6 / 3)] - 1:
View in parameter assignment mode:
4.4.33
Mathematic instruction error detection
Short description
The mathematic instruction error detection block sets an output if an error has occurred in
the referenced Mathematic instruction (Page 227) function block.
Symbol in LOGO!
Wiring
Description
Input En A change in the status from 0 to 1 at input En
(Enable) enables the mathematic instruction error
detection block.
Input R
A signal at input R resets the output.
Parameter MathBN: block number of a mathematic instruction
Err: ZD: divide by 0 error
OF: overflow error
ZD/OF: (divide by 0 error) OR
(overflow error)
AutoRst: reset the output before the next execution of
the mathematic instruction error function block. Y =
yes; N = no
Output Q Q is set high if the error to detect occurred in the last
execution referenced mathematic instruction function
block.
Parameter MathBN
The value for the MathBN parameter references the block number of an already-
programmed mathematic instruction function block.