Read peak value, Read gross, tare, net, Read multiple weights – Rice Lake Allen-Bradley Remote I/O User Manual
Page 20: Set setpoint value, Set setpoint hysteresis, Set setpoint bandwidth, Set setpoint preact
16
Remote I/O Installation and Programming Manual
Read Peak Value
Command: 296, 0x128
Block Write: 2 words
Parameter: Scale number
Value: None
Block Read: 4 words
Return Status: Selected scale
Return Value: Net peak weight
Command 296 returns the net peak value for the
specified scale in floating-point format. This
command is only valid for the
520
, and only if the
peak hold function is enabled.
Read Gross, Tare, Net
Command: 302, 0x12E
Block Write: 2 words
Parameter: Scale number
Value: None
Block Read: 8 words
Return Status: Selected scale
Return Value: Gross, tare, and net
weights
Command 302 returns the gross, tare, and net weights
on a single command. The structure of the command
is as follows:
Word 0:
Command number
Word 1:
Scale number
Words 2–3:
Gross weight
Words 4–5:
Tare weight
Words 6–7:
Net weight
Read Multiple Weights
Command: 303, 0x12F
Block Write: 4 words
Parameter: Weight type
Value: Bit-map of scales
Block Read: Variable, 4 words minimum
Return Status: Composite
Return Value: Weight for each scale
requested
Command 303 returns the weights for up to 30 scales
in floating-point format. The weights are returned in
the mode specified by the parameter weight type, 0 for
gross or 1 for net. Words 2 and 3 contain a bit map of
the scales for which a weight should be returned; the
least significant bit represents scale 1. Each 2-word
value represents the weight for the next scale
requested, if valid, beginning with scale 1. If a scale is
not valid (scale does not exist), the bit is ignored.
Status data returned is a composite of the scales
requested, according to the following rules:
•
Indicator status: If a bit is set for any of the
scales requested, it is set in the composite.
•
Scale number: The total number of scales in
the composite is returned.
This command is valid only for
820i
or
920i
.
Set Setpoint Value
Command: 304, 0x130
Block Write: 4 words
Parameter: Setpoint number
Value: Target Value
Block Read: 2 words
Return Status: Batch
Return Value: None
Command 304 sets the target value for the specified
setpoint in floating-point format. This command is
only valid if the setpoint is enabled and requires a
target value.
Set Setpoint Hysteresis
Command: 305, 0x131
Block Write: 4 words
Parameter: Setpoint number
Value: Hysteresis value
Block Read: 2 words
Return Status: Batch
Return Value: None
Command 305 sets the hysteresis value for the
specified setpoint in floating-point format. This
command is only valid if the setpoint is enabled and
requires a hysteresis value.
Set Setpoint Bandwidth
Command: 306, 0x132
Block Write: 4 words
Parameter: Setpoint number
Value: Bandwidth value
Block Read: 2 words
Return Status: Batch
Return Value: None
Command 306 sets the bandwidth value for the
specified setpoint in floating-point format. This
command is only valid if the setpoint is enabled and
requires a bandwidth value.
Set Setpoint Preact
Command: 307, 0x133
Block Write: 4 words
Parameter: Setpoint number
Value: Preact Value
Block Read: 2 words
Return Status: Batch
Return Value: None
Command 307 sets the preact value for the specified
setpoint in floating-point format. This command is
only valid if the setpoint is enabled and requires a
preact value.