5 Description of analog functions
In the following, you will find explanations and examples of the individual analog functions. The
term "analog function" is defined as follows:
An analog function has at least one analog input or output value. Other inputs are used as digi-
tal signal, depending on the function.
If the function has an analog output value (O1), the second output value (O2) is the inverted
(negative) value.
If the function has both analog and Boolean inputs, the analog inputs are assigned the smaller
ordinal numbers (I1 = analog, I4 = Boolean)
In the examples, the standard links of the input buffer are used. You can also parameterize
other settings for the individual instructions.
Note:
In the case of some functions, output O2 is not used as an inverted output, but written with
function-specific values. These functions are marked with "Long" for long variable.
In the descriptions, the following abbreviations are used:
b Boolean (TRUE / FALSE) = 1 Bit
% Percentage with/or without sign (int/unit) = 2 Byte = 16 Bit
L Long Variable of type long = 4 byte = 32 bits
i Any number
0 "Low" state. Representation of signal statuses in logic tables.
1 "High" state. Representation of signal statuses in logic tables.
Off "Low" state. Representation of signal statuses in function descriptions.
On "High" state. Representation of signal statuses in function descriptions.
5.1 Behavior
The behavior of the instructions can be set up via P1 and P2. The function of these parameters
depends on the selected instruction.
Description Min. Max.
P1 0 65535
P2 0 65535