Siemens SPS starter kit 6ED1057-3BA00-0AA8 12 Vdc, 24 Vdc 6ED1057-3BA00-0AA8 数据表
产品代码
6ED1057-3BA00-0AA8
LOGO! functions
4.4 Special functions list - SF
LOGO!
Manual, 06/2014, A5E33039675
Manual, 06/2014, A5E33039675
227
4.4.32
Mathematic instruction
Short description
The mathematic instruction block calculates the value AQ of an equation formed from the
user-defined operands and operators.
Symbol in LOGO!
Wiring
Description
Input En
A change in the status from 0 to 1 at input En
(Enable) enables the mathematic instruction function
block.
Parameter
V1: first operand value
V2: second operand value
V3: third operand value
V4: fourth operand value
Op1: first operator
Op2: second operator
Op3: third operator
Operator Prio: priority of the operands
Qen→0:
0: reset value of AQ to 0 when En=0
0: reset value of AQ to 0 when En=0
1: retain last value of AQ when En=0
p: number of decimals
Range of values: 0, 1, 2, 3
Output AQ
The output AQ is the result of the equation formed
from the operand values and operators. AQ will be
set to 32767 if a divide by 0 or overflow occurs, and -
32768 if a negative overflow (underflow) occurs.
Parameters V1 to V4
Another already-programmed function can provide the analog values for the parameters V1
to V4. You can use the actual values of the following functions:
● Analog comparator (Page 188) (actual value Ax – Ay)
● Analog threshold trigger (Page 183) (actual value Ax)
● Analog amplifier (Page 195) (actual value Ax)
● Analog multiplexer (Page 213) (actual value AQ)
● Analog comparator (Page 188) (actual value Ax – Ay)
● Analog threshold trigger (Page 183) (actual value Ax)
● Analog amplifier (Page 195) (actual value Ax)
● Analog multiplexer (Page 213) (actual value AQ)