98 Unidrive M SI-PROFIBUS User Guide
Issue Number: 3
Table 14.19 PPO 4 Word Read TASK ID and RESPONSE ID combinations
Table 14.20 shows an example set of data words for PPO 4 Word mode. This example
will read the value in the post ramp speed reference (Pr 02.001) in the drive.
Table 14.20 PPO 4 Word read request example
Table 14.21 shows an example successful read response to the read instruction
illustrated above. The value returned is 15284, which equates to 1528.4 rpm.
Table 14.21 PPO 4 Word read response example
Function TASK
ID
RESPONSE
ID
Message status
No Task 0 0 No message active.
Request
Parameter Value
(16-bit)
64
Parameter read successfully, 16-bit value
returned in word 3.
Request
Parameter Value
(32-bit)
65
Parameter read successfully, 32-bit value
returned in words 2 and 3.
Request
Parameter Value
(16-bit)
67
TASK ID 6 could not be executed. Check the
error code in IN word 3 for the reason why.
Request Last
(Parameter
Reference)
96
The highest parameter reference in specified
menu is available in IN word 3.
Request Last
Parameter
Reference
97
TASK ID 9 could not be executed. Check the
error code in IN word 3 for the reason why.
OUT data
word
Hex value
Function
b15-b12 b11 b10-b8 b7-b0
OUT word 0 0x6002 TASK ID = 6 0 MENU = 2
OUT word 1 0x0100 PARAMETER = 1 0
OUT word 2 0x0000 DATA HIGH word = 0
OUT word 3 0x0000 DATA LOW word = 0
IN data
word
Hex value
Function
b15-b12 b11 b10-b8 b7-b0
IN word 0 0x5002
RESPONS
E ID = 5
0 MENU = 2
IN word 1 0x0100 PARAMETER = 1 0
IN word 2 0x0000 DATA HIGH word = 0
IN word 3 0x3BB4 DATA LOW word = 15284
It is important that the correct module is selected from the GSD file to ensure that the
PPO 4 word mode block is consistent otherwise data skew may occur.
If the OUT data words 0 and 1 are left at the same value, the target parameter will be
read or written to (depending on the TASK ID) on every data cycle.
If the PPO 4 command is left in the data words, the read will be executed on every poll
of the network, effectively providing a continuous read. Care should be taken to ensure
the parameters for the read are set-up before the TASK ID is changed from 0 to prevent
incorrect data in the returned value.