I_PHYS: Physical analog input
Original instructions
Function description
The function returns analog input values (voltage, current or temperature) as physical values in REAL floating-point format.
EN and ENO can be configured as additional parameters.
Representation in FBD
Representation:
Representation in LD
Representation:
Representation in IL
Representation:
LD InputChannel
I_PHYS
ST PhysicalValue
Representation in ST
Representation:
PhysicalValue := I_PHYS (InputChannel) ;
Parameter description
Description of input parameters:
Parameter
Data type
Meaning
InputChannel
Input channel
Description of output parameters:
Parameter
Data type
Meaning
PhysicalValue
Physical 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 I_PHYS_WARN function block.