O_NORM: Standardized analog output
Original instructions
Function description
The procedure returns values from the REAL floating point format as analog values in 16 bit integer format. The floating point value in the range of 0.0 to 1.0 is displayed onto the configured integer output value.
EN and ENO can be configured as additional parameters.
Representation in FBD
Representation:
Representation in LD
Representation:
Representation in IL
Representation:
LD OutputChannel
O_NORM REAL_variable
Representation in ST
Representation:
O_NORM (OutputChannel, REAL_variable);
Parameter description
Description of input parameters:
Parameter
Data type
Meaning
OutputChannel
Output channel
REAL_variable
Standardized value
Runtime error
An error message is returned
NOTE: For a list of all block error codes and values, seeAnalog I/O Scaling .
NOTE: To evaluate the status information for the I/O module, use the O_NORM_WARN function block.