![](//vs1.manuzoid.com/store/data-gzf/d4c889923b6baa35a4e3ac49a2469a9d/2/002196922.htmlex.zip/bg4.jpg)
Contents
Page
Software-Manual • Doc. No.: C.2909.21 / Rev. 1.0
CANopen-DP/2
Page 4 of 100
1. Overview ....................................................................6
1.1 About this Manual ......................................................6
1.2 Introduction into Functionality of the Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.3 Configuration via PROFIBUS-DP..........................................7
2. Functionality of the Local Firmware .............................................8
2.1 PROFIBUS-Slave Address ...............................................8
2.2 User Data .............................................................9
2.3 Watchdog.............................................................9
2.4 Diagnostics............................................................9
2.5 Parameter Telegram (CAN Bit Rate) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.6 Global-Control Services (FREEZE, SYNC, UNSYNC) . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.7 PROFIBUS-DP Profiles..................................................9
3. Implementing and Diagnostics .................................................10
3.1 Prerequisites for Implementation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.2 Implementation .......................................................10
3.2.1 Procedure ...................................................10
3.2.2 Start-Up ....................................................11
3.2.3 Data Transfer ................................................11
3.3 Diagnostics via LED Indication...........................................12
3.4 Slave Diagnostics......................................................14
3.4.1 Diagnostic Bytes 1...6..........................................14
3.4.2 External (Device Related) Diagnostic Bytes . . . . . . . . . . . . . . . . . . . . . . . . 18
3.4.3 Identifier Related Diagnostic Bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.5 Identification .........................................................20
4. GSD File ...................................................................21
5. Cyclic PROFIBUS Data Transfer to CANopen ...................................24
5.1 Course of Configuration via SIMATIC Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
5.1.1 Set PROFIBUS Address........................................25
5.1.3 Assignment of the Slots and Setting the CANopen Node-ID . . . . . . . . . . . 35
5.1.4 Configuration of a CANopen Node on a PLC-Slot . . . . . . . . . . . . . . . . . . . 37
5.1.5 Save settings to Hard Disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.2 Description of Input Window ‘Properties - DP Slave’ .........................38
6. Acyclic PROFIBUS Data Transfer to CANopen ..................................44
6.1 Mode of Operation.....................................................44
6.2 Structure of the PROFIBUS Write Request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
6.2.1 Example : Structure of the PROFIBUS Write Request for n = 5 SDOs . . . 47
6.3 Structure of the PROFIBUS-Read-Request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
6.3.1 Example: Structure of the PROFIBUS-Read-Requests for n = 5 SDOs . . . 50
6.4 Data Format ..........................................................51
6.5 Error Codes of the PROFIBUS at Acyclic Transfers to/from CANopen . . . . . . . . . . . . 52
6.5.1 Error-Numbers in DPV1 Parameter Value . . . . . . . . . . . . . . . . . . . . . . . . . . 53
6.6 I&M0 for Identification .................................................54
6.6.1 Write Request................................................54