I_RAW: Raw value analog input
Original instructions
Function description
The function provides analog input values as raw values of the WORD data type.
EN and ENO can be configured as additional parameters.
Representation in FBD
Representation:
Representation in LD
Representation:
Representation in IL
Representation:
LD InputChannel
I_RAW
ST RawValue
Representation in ST
Representation:
RawValue := I_RAW (InputChannel) ;
Parameter description
Description of input parameters:
Parameter
Data type
Meaning
InputChannel
Input channel
Description of output parameters:
Parameter
Data type
Meaning
RawValue
Raw value
Runtime error
An error message is returned
NOTE: For a list of all block error codes and values, seeAnalog I/O Scaling .