20
Remote I/O Installation and Programming Manual
Block read command 2 returns a response code to the PLC controller, indicating whether or not the Set Setpoint
Values block write command was successful. Possible values for the response code field are:
0
00 Command successful
1
01 Command failed
2
10 Block write command format not valid
If the block write command failed, the command number returned in word 0 is set negative (-2). Table 4-7 shows
the format of the block read command.
4.3
Read Setpoint Values
The Read Setpoint Values block write command is used to read setpoint values from the indicator. Table 4-8
shows the format of the command:
Command Number
Specifies the Read Setpoint Values command number, 3.
Setpoint Number
Specifies the number of the setpoint being read. Valid values are 1 through 8.
Block read command 3 returns an 11-word block of setpoint values to the PLC controller. If the block write
command failed, the command number returned in word 0 is set negative (-3). Table 4-9 shows the format of the
block read command.
Table 4-9. Block Read Command 3: Read Setpoint Values
Word
Bit Number
Word Contents
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
Command Number (2)
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
r1
r0
Response Code (0–2)
Table 4-7. Block Read Command 2: Set Setpoint Values (Read Response Code)
Word
Bit Number
Word Contents
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
Command Number (3)
1
0
0
0
0
0
0
0
0
0
0
0
0
n3
n2
n1
n0
Setpoint Number (1–8)
Table 4-8. Block Write Command 3: Read Setpoint Values
Word
Bit Number
Word Contents
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
Command Number (3)
1
0
0
0
0
0
0
0
0
0
0
0
0
n3
n2
n1
n0
Setpoint Number (1–8)
2
0
0
0
0
0
0
0
0
0
0
0
k4
k3
k2
k1
k0
Setpoint Kind (0–18)
3
v31
Setpoint Value
v16
Setpoint Value (MSW)
4
v15
v00
Setpoint Value (LSW)
5
b31
Band Value
b16
Band Value (MSW)
6
b15
b00
Band Value (LSW)
7
h31
Hysteresis Value
h16
Hysteresis Value (MSW)
8
h15
h00
Hysteresis Value (LSW)
9
p31
Preact Value
p16
Preact Value (MSW)
10
p15
p00
Preact Value (LSW)
DISCONTINUED