Block Transfer Commands
25
4.8
Set Multiple Setpoint Values
The Set Multiple Setpoint Values block write command is used to set the setpoint value for one or more setpoints.
Depending on the number of setpoint values set, the command length can vary from 4 to 18 words. Table 4-18
shows the format of the command:
Command Number
Specifies the Set Multiple Setpoint Values command number, 11.
Set Through Setpoint Number
Specifies the setpoints for which setpoint values are set. Valid values are 1 through 8. Setpoint values are set for
all setpoints less than or equal to the number specified. For example, if the Set Through Setpoint Number is 4,
setpoint values are entered for setpoints 1–4, using words 2–9.
Block read command 11 returns a response code to the PLC controller, indicating whether or not the Set Multiple
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 (-11). Table 4-19
shows the format of the block read command.
Table 4-19. Block Read Command 12: Set Multiple 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
1
0
1
1
Command Number (11)
1
0
0
0
0
0
0
0
0
0
0
0
0
n3
n2
n1
n0
Set Through Setpoint
Number (1–8)
2
v31
Setpoint 1 Value
v16
Setpoint 1 Value (MSW)
3
v15
v00
Setpoint 1 Value (LSW)
4
v31
Setpoint 2 Value
v16
Setpoint 2 Value
5
v15
v00
6
v31
Setpoint 3 Value
v16
Setpoint 3 Value
7
v15
v00
8
v31
Setpoint 4 Value
v16
Setpoint 4 Value
9
v15
v00
10
v31
Setpoint 5 Value
v16
Setpoint 5Value
11
v15
v00
12
v31
Setpoint 6 Value
v16
Setpoint 6 Value
13
v15
v00
14
v31
Setpoint 7 Value
v16
Setpoint 7 Value
15
v15
v00
16
v31
Setpoint 8 Value
v16
Setpoint 8 Value
17
v15
v00
Table 4-18. Block Write Command 11: Set Multiple 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
1
0
1
1
Command Number (11)
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
r1
r0
Response Code (0–2)
DISCONTINUED