Read setpoint bandwidth, Read setpoint preact, Read single setpoint, all values – Rice Lake Allen-Bradley Remote I/O User Manual
Page 22: Set multiple setpoint values, Read multiple setpoint values
18
Remote I/O Installation and Programming Manual
Read Setpoint Bandwidth
Command: 322, 0x142
Block Write: 2 words
Parameter: Setpoint number
Value: None
Block Read: 4 words
Return Status: Batch
Return Value: Bandwidth value
Command 322 returns 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.
Read Setpoint Preact
Command: 323, 0x143
Block Write: 2 words
Parameter: Setpoint number
Value: None
Block Read: 4 words
Return Status: Batch
Return Value: Preact value
Command 323 returns 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.
Read Single Setpoint, All Values
Command: 335, 0x14F
Block Write: 2 words
Parameter: Setpoint number
Value: None
Block Read: 10 words
Return Status: Batch
Return Value: Values as available
C o m m a n d 3 3 5 r e t u r n s t h e t a r g e t ,
hysteresis/bandwidth and preact values for the
specified setpoint in floating-point format. This
command is only valid if the setpoint is enabled and
requires a target value.
The structure of the block read command is as
follows:
Word 0:
Command number
Word 1:
Setpoint number
Word 2:
Setpoint kind
Word 3:
Reserved/not used
Words 4–5:
Target value
Words 6–7:
Hysteresis or band value
Words 8–9:
Preact value
The value returned in words 6 and 7 is either the
hysteresis or band value, based on the TRIP setting of
the setpoint. If the setpoint requires neither a
hysteresis nor a band value, this value is set to 0. The
preact value returned is set to 0 if preact is not enabled
for the setpoint.
See Table 4-6 for a list of the setpoint kind values
returned in word 2.
Set Multiple Setpoint Values
Command: 336, 0x150
Block Write: Variable, 4 words minimum
Parameter: Setpoint range
Value: Values as required
Block Read: 2 words
Return Status: Batch
Return Value: None
Command 336 sets the target values for the specified
range of setpoints in floating-point format. The first
value sent is the target value for the setpoint number
specified in the low byte of the parameter. The last
value sent is the target value for the setpoint number
specified in the high byte of the parameter. If a target
value is not required for any setpoint, the value should
be set to 0.0, but is actually ignored by the indicator.
Up to 30 setpoints can be set at one time. The return
status includes the setpoint number of the last setpoint
set.
Read Multiple Setpoint Values
Command: 337, 0x151
Block Write: 2 words
Parameter: Setpoint range
Value: None
Block Read: Variable, 4 words minimum
Return Status: Batch
Return Value: Values as available
Command 337 returns the target values for the
specified range of setpoints in floating-point format.
The first value returned is the target value for the
setpoint number specified in the low byte of the
parameter. The last value returned is the target value
for the setpoint number specified in the high byte of
the parameter. If a target value is not required for any
setpoint, the value returned is 0.0. Up to 30 setpoints
can be requested at one time. The return status
includes the setpoint number of the last setpoint read.