7/22/2012 3:05 AM | |
Joined: 9/27/2006 Last visit: 3/21/2025 Posts: 12344 Rating:
|
Hello Bojan; First, welcome to the forum. If you knowbefore startup that you will have certain unavailable slaves (because of maintenance procedures or repairs, for example) then you can use SFC12 to disable these slaves from being called by the master; you use another call to the same function to enable these slaves again See the following FAQ, that includes a sample program explaining the use of SFc12: What should you pay attention to when operating a DP slave temporarily on a PROFIBUS DP network? I f this happens because slaves are not online when the DP-master starts polling them (sometimes they require a long warm-up time), I suggest you go to the CPU properties (right-click on the cPU in HWConfig to open the properties) and locate the Startup tab, where itis stated : "Startup ifpresetconfigurationdoes not match actualconfiguration" and click on the check box.. Save, compile and download to the CPU, as always when you modify the CPU parameters. Hope this helps, Daniel Chartier |
Last edited by: dchartier at: 7/22/2012 2:15 PM |
|
This contribution was helpful to
3 thankful Users |
7/22/2012 3:43 PM | |
Joined: 9/27/2006 Last visit: 3/21/2025 Posts: 12344 Rating:
|
Hello Bojan; A slave that has been deactivated by SFC12 will no longer be polled by the master, so it cannot trigger OB86. Therefore any fault on the deactivated slaves cannotbring abouta PLC stop. You must monitor the SFC interface as quoted above to detect that the slave has physically been removed from the network. And yes, you can call SFC12 in OB1, but there are coordination signals you must learn to respect in your programming when calling SFC12 multiple times, as this is an asynchronous function that camn carry over more than one scan: you cannot simply do multiple calls of SFC12 without coordination. See here: Notes on the use of the system function SFC12 "D_ACT_DP" |
This contribution was helpful to
1 thankful Users |
4/12/2018 12:36 PM | |
Joined: 6/19/2017 Last visit: 9/6/2024 Posts: 8175 Rating:
|
New question published by Amithamz is split to a separate thread with the subject PLC is not able to detect these nodes during startup. Best regards |
Follow us on