I_PHYS_WARN: Physical analog input with warning status
Original instructions
Function description
The function block returns analog input values (voltage, current or temperature) as physical values in REAL floating-point format.
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_PHYS_WARN function can only be used with the analog input EFBs, AII330, AMM090 and AVI030, which are able to generate status information with warnings. Please use the I_PHYS function for all other input EFBs.
Representation in FBD
Representation:
Representation in LD
Representation:
Representation in IL
Representation:
CAL I_PHYS_WARN_Instance (CHANNEL:=InputChannel,
    Y=>PhysicalValue, WARN=>StatusWarning)
Representation in ST
Representation:
I_PHYS_WARN_Instance (CHANNEL:=InputChannel,
    Y=>PhysicalValue, WARN=>StatusWarning) ;
Parameter description
Description of input parameters:
Parameter
Data type
Meaning
CHANNEL
Input channel
Description of output parameters:
Parameter
Data type
Meaning
Y
Physical 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 .