I_NORM_WARN: Standardized analog-input with warning status
Original instructions
Function description
The function block converts data from 16 bit integer format into REAL floating-point format. The configured integer input value is displayed with a floating-point value in the range of 0.0 to 1.0. If there are warning ranges for the current data format (e.g. 16 bit, +/- 10 V), the floating point value can be expanded (e.g. 1.016)
In addition, the function block indicates at the WARN output whether a status warning has occurred in the connected analog input EFB.
EN and ENO can be configured as additional parameters.
NOTE: The I_NORM_WARN function can only be used with the analog input EFBs All330, AMM090 and AVI030, which are able to generate status information with warnings. Please use the I_NORM function for all other input EFBs
Representation in FBD
Representation:
Representation in LD
Representation:
Representation in IL
Representation:
CAL I_NORM_WARN_Instance (CHANNEL:=InputChannel,
    Y=>StandardizedValue, WARN=>StatusWarning)
Representation in ST
Representation:
I_NORM_WARN_Instance (CHANNEL:=InputChannel,
    Y=>StandardizedValue, WARN=>StatusWarning) ;
Parameter description
Description of input parameters:
Parameter
Data type
Meaning
CHANNEL
Input channel
Description of output parameters:
Parameter
Data type
Meaning
Y
Standardized value
WARN
0: no status warning on the connected analog input EFB
1: status warning on the connected analog input EFB
Runtime error
An error message is returned
NOTE: For a list of all block error codes and values, seeAnalog I/O Scaling .