11/17/2010 8:27 AM | |
Joined: 1/28/2009 Last visit: 9/25/2023 Posts: 6822 Rating:
|
Dear member Check the attachment for description of SFC13'sparameters.It is part of this manual.Note that DP slaves provide some diagnostic data for error handling, the structure of this data is determined by EN50170 PART 3.For each Dp slave this structure provided by manufacturer.For ET200B check section 5.3.3 of the manual in this link for structure and meaning of this items. Points you should observe while calling SFC13: 1-record is as type of ANY , the length of this parameter varies from 6 to 240 bytes so be sure to assign sufficient area for specific slave otherwise you may have error in RET_VAL 2- monitor busy parameter for finished job(call function till busy is one) Best regards Attachmentsfc13.pdf (490 Downloads) |
This contribution was helpful to
1 thankful Users |
11/17/2010 8:32 AM | |||||||||||||||||||||||||||||||||||||||||||||||
Joined: 10/7/2005 Last visit: 9/28/2023 Posts: 2988 Rating:
|
Hello Diana.S the first 6 Bytes of diagnostic data from a DP Slave are standardised, mandatory and have the same structure/meaning for all DP Slaves as followed (ref: Acromags Introduction to Profibus DP): Byte 1: Status 1
Byte 2: Status 2
Byte 3: Status 3
Byte 4: Address of DP Master that parameterised the DP Slave
Byte 5: Manufacturer Identification Number High byte Byte 6: Manufacturer Identification Number Low byte If a DP Slave has/supports so called "Extended Diagnostics", Byte 7 will contain the amount of additional Diagnostic bytes that follow and the data itselfstarts as of Byte 8andis manufacturer specific (i.e. you'll need to consult the manual of the DP Slave and/or its GSD file to find out what their meaning is). Last but not least, if you use a Siemens HMI/SCADA you may be interested in RSE (Report System Error, use THIS link for WinCCand THIS for WinCC flexible) as well as the PNIODiag application. I hope this helps |
||||||||||||||||||||||||||||||||||||||||||||||
Cheers |
|||||||||||||||||||||||||||||||||||||||||||||||
This contribution was helpful to
8 thankful Users |
7/18/2016 12:44 PM | |
Joined: 7/9/2010 Last visit: 8/10/2022 Posts: 8 Rating:
|
Thanks... Good information |
Follow us on