Analog multiplexer

Short description

When enabled, the analog multiplexer SFB displays one of four pre-defined analog values, depending on input conditions.

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 V1 is issued
S1 = 0 and S2 = 1: The value V2 is issued
S1 = 1 and S2 = 0: The value V3 is issued
S1 = 1 and S2 = 1: The value V4 is issued

Parameter

V1 to V4: Analog values (Value) that will be issued.
Value range: -32768 to +32767

p: Number of decimal places
Possible settings: 0, 1, 2, 3

Output AQ

Analog output
Value range for AQ: -32768 to +32767

Parameters V1 to V4

The values for V1 to V4 can be provided by the value of another already-programmed function:

For the 0BA7 and later version devices, you can additionally use the actual values of the following already-programmed functions:

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 four possible analog values V1 to V4 at the output AQ, depending on the inputs 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 Basics 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.

Overview