beckhoff — 11.3.3.1 GSD Device

Reference | Boxes Diagnostic The diagnosis for the PROFIBUS DP slaves at the FC310x is described in a separate section. The diagnosis for other I/O devices is described below. Input Diagnosis Each Profibus slave fieldbus box contains two diagnostic input bytes which signal the state of each slave during the running time and which can be linked, for example with the PLC. Table 15: BoxState Table 16: DpState PROFIBUS Diagnostic Data The Profibus diagnostic data sent by a PROFIBUS slave can be read by any TwinCAT program via ADS and/or signalled to any TwinCAT program. In this case, set ADS parameters as follows: Net-ID : PC Net ID. Port : 300 IndexGroup : 0x5000 + Device-ID IndexOffset :

Hi-Word: Station Address, Lo Word: 0x100 Length : 6 - 244 The diagnostic data are structured as described in the DP standard. TwinCAT 2 314 Version:

1.7 Value Description 0 No Error 1 Error - more precise description in DpState Value Description 0 No Error - station is exchanging data 1 Station deactivated - slave has been deactivated, temporary state during StartUp 2 Station not exists - slave does not reply on the bus -> check whether slave is switched on, whether PROFIBUS plug is in, correct station address or bus cables 3 Master lock - slave is exchanging data with another master -> remove other master from bus or release slave again by other master 4 Invalid slave response - incorrect answer from slave, occurs temporarily if slave has ceased data exchange because of a local event 5 Parameter fault - check whether Bus Coupler / GSD file is correct, that station address is correct or that UserPrmData settings are correct 6 Not supported - DP function is not supported -> check whether GSD file is correct or whether station address is correct 7 Config fault – configuration fault -> check whether the added terminals / modules are correct 8 Station not ready -> station starting up, temporarily displayed during StartUp 9 Static diagnosis - slave signalling static diagnosis and cannot deliver valid data at present -> check operating state at the slave