Analog Math - Siemens LOGO! Manual

Hide thumbs Also See for LOGO!:
Table of Contents

Advertisement

4.4.30

Analog math

Short description
The analog math block calculates the value AQ of an equation formed from the user-defined
operands and operators.
Symbol in LOGO!
Parameters V1...V4
The analog values for the parameters V1...V4 can be derived from another already-
programmed function. You can use the actual values of the following functions:
● Analog comparator (Page 165) (actual value Ax – Ay)
● Analog threshold trigger (Page 160) (actual value Ax)
● Analog amplifier (Page 173) (actual value Ax)
● Analog multiplexer (Page 194) (actual value AQ)
● Analog ramp (Page 197) (actual value AQ)
● Analog math (actual value AQ)
● PI controller (Page 201) (actual value AQ)
● Up/down counter (Page 151) (actual value Cnt)
LOGO!
Manual, 10/2017, A5E01248535-AA
Wiring
Description
Input En
A change in the status from 0 to 1 at input En (Ena-
ble) enables the analog math 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
Pr1: Priority of first operation
Pr2: Priority of second operation
Pr3: Priority of third operation
Qen→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.
LOGO! functions
4.4 Special functions list - SF
209

Advertisement

Table of Contents
loading

Table of Contents