User's Manual
LOGO! functions
4.4 Special functions list - SF
LOGO!
268 Manual, 04/2011, A5E03556174-01
Setting the Par parameter
The following illustration shows the view in programming mode that corresponds to the first
example (12 + (6 / 3)) - 1:
35 0
23
9
%
35 +
23
9
%
35 /
23
9
%
S
4HQൺ
9
%
3UHVV
ႱႧ
3UHVV
ႱႧ
3UHVV
ႱႧ
Use the
and keys to navigate between the operand value, operator, and operation
priority. To change a value, use the
and keys to scroll through value choices for each
value. Use the
key to navigate from one screen to the previous screen when the cursor is
on the V1..V4 line, and the
key to navigate to the next screen from the PR1..PR3 line. Use
the OK key to accept changes.
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 265) 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
(ᇄ
4
(Q
5
3DU
Output Q Q is set high if the error to detect occurred in the last
execution referenced mathematic instruction function
block