LD OutputChannel O_SCALE ScalingInput0Percent, FloatingPointValue, ScalingInput100Percent
O_SCALE (OutputChannel, ScalingInput0Percent, FloatingPointValue, ScalingInput100Percent);
Parameter
|
Data type
|
Meaning
|
---|---|---|
OutputChannel
|
Output channel
|
|
ScalingInput0Percent
|
Scaling input, 0 percent
|
|
FloatingPointValue
|
REAL
|
Floating-point value
|
ScalingInput100Percent
|
REAL
|
Scaling input, 100 percent
|
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) |