Short description
This special function displays 0 or one of 4 saved analog values on the analog output.
Connection |
Description |
Input En |
1 on input En (Enable) switches, dependent on S1 and S2, a parameterized analog value to the output AQ. 0 on input EN switches 0 to the output AQ. |
Inputs S1 and S2 |
S1 and S2 (selectors) for selecting the analog value to be issued. S1 = 0 and S2 = 0: The value 1 is issued S1 = 0 and S2 = 1: The value 2 is issued S1 = 1 and S2 = 0: The value 3 is issued S1 = 1 and S2 = 1: The value 4 is issued |
Parameter |
V1...V4: Analog values (Value) that will be issued. p: Number of decimal places |
Output AQ |
Analog output Value range for AQ: -32768...+32767 |
Parameters V1…V4
The values for V1…V4 can be provided by the value of another already-programmed function:
Analog comparator: Ax – Ay
Analog trigger: Ax
Analog amplifier: Ax
Analog multiplexer: AQ
Analog ramp: AQ
Analog math: AQ
PI controller: AQ
Up/Down counter: Cnt
You select the required function by the block number.
Parameter p (number of decimal places)
Parameter p applies only to the display of AQ, V1, V2, V3 and V4 values in a message text.
Timing diagram
Description of function
If input En is set, then the function issues one of 4 possible analog values V1 to V4 at the output AQ, depending on the parameters S1 and S2.
If the input En is not set, then the function issues the analog value 0 at output AQ.
Particular characteristics to be noted when configuring
For help on analog block parameters, refer to the Analog value processing section.
Analog output
If you connect this special function to a real analog output, then note that the analog output can only process values from 0 to 1000. To do this, connect an additional amplifier between the analog output of the special function and the real analog output. With this amplifier you standardize the output range of the special function to a value range of 0 to 1000.
Example: additional amplifier behind an analog multiplexer.