Siemens SPS starter kit 6ED1057-3BA00-0AA8 12 Vdc, 24 Vdc 6ED1057-3BA00-0AA8 Ficha De Dados

Códigos do produto
6ED1057-3BA00-0AA8
Página de 378
Reference material 
 
5.3 Special functions 
 
LOGO!Soft Comfort Online Help 
276
 
Operating Instructions, 06/2014 
5.3.3.8 
Mathematic instruction 
 
Short description 
The mathematic instruction block calculates the value AQ of an equation formed from the 
user-defined operands and operators.  
 
Connection 
Description 
Input En 
A positive edge at input En enables the mathematic instruction function block 
Parameter 
V1: Value 1: First operand 
V2: Value 2: Second operand 
V3: Value 3: Third operand 
V4: Value 4: Fourth operand 
Range of values: -32768 to 32767 
Operator 1:  First operator 
Operator 2: Second operator 
Operator 3: Third operator 
Priority 1:  Priority of first operation 
Priority 2: Priority of second operation 
Priority 3: Priority of third operation 
p: Number of decimals 
Possible settings: 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. 
 
 
 
0BA1- 0BA5:  
The mathematic instruction function block did not exist prior to 0BA6. 
Parameters V1, V2, V3, and V4 
The values V1, V2, V3, and V4 can be provided by the actual value of another already-
programmed function:  
●  Analog comparator: Ax - Ay 
●  Analog threshold trigger: Ax 
●  Analog amplifier: Ax 
●  Analog multiplexer: AQ 
●  Analog ramp: AQ 
●  Mathematic instruction: AQ