

LD InputChannel I_RAW ST RawValue
RawValue := I_RAW (InputChannel) ;
|
Parameter
|
Data type
|
Meaning
|
|---|---|---|
|
InputChannel
|
Input channel
|
|
Parameter
|
Data type
|
Meaning
|
|---|---|---|
|
RawValue
|
Raw value
|
|
Name
|
Type
|
Comment
|
|---|---|---|
valuePtr |
UDINT |
3x or 4x raw value register |
rawControl |
BYTE |
Control Byte(internal use only) |
rawSpecific |
BYTE |
Specific Byte (internal use only) |
offset |
INT |
Offset Value |
range |
WORD |
Input range (resolution) |
channel |
BYTE |
Input Channel number |
statusMode |
BYTE |
Status Mode (internal use only) |
statusPtr |
UDINT |
Identifies high byte or low byte of status register |
warnCode |
BYTE |
Warning Code (internal use only) |
|
Base
|
Lower limit
|
Upper limit
|
|---|---|---|
|
Hexadecimal
|
16#0
|
16#FFFF
|
|
Octal
|
8#0
|
8#177777
|
|
Binary
|
2#0
|
2#1111111111111111
|
|
Data
|
Representation in one of the bases
|
|---|---|
|
0000000011010011
|
16#D3
|
|
1010101010101010
|
8#125252
|
|
0000000011010011
|
2#11010011
|