Siemens SPS starter kit 6ED1057-3BA10-0AA8 6ED1057-3BA10-0AA8 数据表
产品代码
6ED1057-3BA10-0AA8
Reference material
5.3 Special functions
LOGO!Soft Comfort Online Help
338
Operating Instructions, 06/2014
Mathematic instruction error detection logic table
In the table below, Error to Detect represents the parameter of the mathematic instruction
error detection instruction that selects which type of error to detect. Zero represents the zero
division bit set by the mathematic instruction at the end of its execution: 1 if the error
ocurred, 0 if not. OF represents the overflow bit set by the mathematic 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 mathematic instruction. Output (Q)
represents the output of the mathematic instruction 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 (Q)
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 mathematic instruction function block is null, then the output is always 0.
Special functions (Page 212)
Special functions (Page 212)
See also
Mathematic instruction (Page 276)
5.3.6.11
Additional functions of the LAD Editor
with edge evaluation (Page 209) instruction are available in the group of miscellaneous
functions.