8 Table of contents
Actual values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Scaling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
8. Communication protocol
What this chapter contains . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
PROFIBUS DP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
Service access points (SAPs) . . . . . . . . . . . . . . . . . . . . . . 120
Communication start-up . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
PROFIBUS SD2 telegram for Default SAP (0) and SAP 58-
62 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
Default SAP (SAP 0) (Data_Exch) . . . . . . . . . . . . . . . . 121
SAP 58 (Global_Control) . . . . . . . . . . . . . . . . . . . . . . . 122
SAP 60 (Slave_Diag) . . . . . . . . . . . . . . . . . . . . . . . . . . 123
SAP 61 (Set_Prm) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
SAP 62 (Chk_Cfg) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Other SAPs for DP-V1 communication . . . . . . . . . . . . . . . 134
Cyclical message types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
PPO types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
Standard telegram (ST) types (DP-V1) . . . . . . . . . . . . . . . 136
Parameter handling in cyclic communication (DP) . . . . . . . . . . 137
Parameter data transfer examples (DP-V0) . . . . . . . . . . . . 142
Example 1: Reading a drive parameter (or data set) . . 142
Example 2: Writing a drive parameter (or data set) . . . 144
Example 3: Reading a PROFIdrive parameter (word) . 146
Example 4: Writing a PROFIdrive parameter (word) . . 147
Example 5: Reading a PROFIdrive parameter (array) . 148
Example 6: Configuring the process data written to the
drive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
Example 7: Configuring the process data read from the
drive . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
DP-V1 read/write request sequence . . . . . . . . . . . . . . . . . 151
PROFIBUS SD2 telegram for SAP 51 . . . . . . . . . . . . . 153
Parameter data transfer examples (DP-V1) . . . . . . . . . . . . 162
Example 1a: Reading a drive parameter (array element). .
162
Example 1b: Reading 3 drive parameters (multi-parameter)