5/13/2017 6:18 PM | |
Joined: 9/27/2006 Last visit: 5/28/2024 Posts: 12257 Rating: (2668) |
Hello arun; I do not quite understand your requirement for "not losing time" in prepariing the configuration of your project, I am not sure it is a straightforward way of strating a project. However, I could suggest to try this way. 1- start by preparing your HWConfig for the complete, final, Profibus network, with all of the slaves,, their installe modules and I/O addresses, their Profibus address, etc... Save and compile it in your project, download it to the CPU. Make sure it is detailed and up-to-date, if you have to go back to modify it later you will have to download a new compilation of the hardware configuration, requiring you to stop the CPU. 2- in your program, use one call of the already-mentionned SFC 12 ("D_ACT_DP") for each one of the disconnected, non-existant slaves, so the DP-master does not interrogate them in the Profibus loop, and error OBs are not triggered. How do you switch off (decouple) a slave without causing an error entry to appear in OB 86/OB 122? Wich is the right way to call SFC12 Several times? Deactivating a DP/DP Coupler with SFC12 Enabling a disabled DP slave with SFC 12 'D_ACT_DP' Note hat there will be a cost in terms of cycle time to process ecvery one of those SFC 12 calls, they are asynchrone blocks and one must be finished before the other is launched. 3- when you have one of the missing slaves with you on site, configuerd, addressed and ready to function, connect it to the Profinus network in the field. In your program, use SFC 12 once more to enable the disabled slave; the DP-master will start polling it once the slave has been re-activated. Do the same for every disabled slave until your network is completely active. Hope this helps, Daniel Chartier |
Last edited by: dchartier at: 5/13/2017 6:20:05 PM |
|
This contribution was helpful to1 thankful Users |
5/17/2017 6:50 PM | |
Posts: 15 Rating: (0) |
Dear Mr. dchartier Actually you have understood my requirement well and pointed me in the right path, Step 2 was very useful to me , I am sorry i was not able to put the right question first time, decouple was the one i was searching for. thank you so much Regards Arun |
This contribution was helpful to1 thankful Users |
Follow us on