8/26/2010 10:58 AM | |
Posts: 3 Rating:
|
Hi guys...I have the problem. I must time synchro. slaves on profibus network (slaves ->High voltage protection SPA-ZC302 from ABB). I dont know how :-( The slaves are connected to CP 443-5. In attachment I send documentation SPA-ZC302, on page 33 and 34 is discribe time synchronization. Please help me....sorry my english is bad
AttachmentSPA-ZC302_Instman_755014_ENc.pdf (177 Downloads) |
Last edited by: Angel83 at: 8/26/2010 11:03 AM |
|
8/26/2010 6:59 PM | |
Joined: 9/27/2006 Last visit: 3/20/2025 Posts: 12344 Rating:
|
Hello Angel; The DPV1 SFBs for Step 7 are SFB 52 "RDREC" and SFB 53 "WRREC". See this extract form the System and Standard functions manual: http://support.automation.siemens.com/WW/view/en/44240604 8 DPV1 SFBs According to PNO AK 1131 8.1 Reading a Data Record with SFB 52 "RDREC" 8.2 Writing a Data Record with SFB 53 "WRREC" NoteThe SFB 52 "WRREC" interface is identical to the FB "WRREC" defined in the standard "PROFIBUS Guideline PROFIBUS Communication and Proxy Function Blocks according to IEC 61131-3" Description With the SFB 52 "WRREC" (write record) you transfer a data record with the number INDEX to a DP slave/PROFINET IO device component (module or submodule) that has been addressed via ID. Specify the byte length of the data record to be transmitted. The selected length of the source area RECORD should, therefore, have at least the length of LEN bytes. TRUE on output parameter DONE verifies that the data record has been successfully transferred to the DP Slave. The output parameter ERROR indicates whether a data record transmission error has occurred. In this case, the output parameter STATUS contains the error information. I would recommend that you start by reading the Real-time Clock of the CPU (using SFC 1, "RD_CLK"), using for example the following FAQ: http://support.automation.siemens.com/WW/view/en/21222026 Then use a specific DB created to the format of the ABB time synch required values (as per your document), transfer the required byte values from SFC 1 to the ABB DB, and finally use SFB 53 to write this "data record" to the DPV1 slaves. Hope this helps, Daniel Chartier |
This contribution was helpful to
1 thankful Users |
Follow us on