3/26/2020 8:51 PM | |
Joined: 3/24/2018 Last visit: 5/5/2024 Posts: 236 Rating: (1) |
Hi, what do you mean by delay alarm? |
3/26/2020 8:52 PM | |
Joined: 9/27/2006 Last visit: 5/29/2024 Posts: 12257 Rating: (2669)
|
Hello Pepsi Cola; What is the relationship of the 2 CPUs, as far as Profibus is concerned? Is the PLC in cabinet #2 a slave to the CPU in cabinet #1? Why you should check that: when a Profibus-DP master gets power and becomes active, it starts polling the slaves that have been setup in its Profibus configuration. If a slave des not answer, it will try again in the next Profibus cycle, and attempt again, until the slave is declared faulty. Then it will not attempt to contact it again, it will take the slave out of the polling cycle; you must reset the master so that it restarts its polling cycle and eventually sees the response from the slave that is now active. If this is the case, one option is to use SFC 12, D_ACT_DP, that is designed to remove a slave temporarily from the master's polling cycle, when you take it out physically for maintenance, for example. See these FAQs: What should you pay attention to when operating a DP slave temporarily on a PROFIBUS DP network? (Note: this FAQ proposes a sample program showing how to use SFC 12.) https://support.industry.siemens.com/cs/ww/en/view/15014658 Enabling a disabled DP slave with SFC 12 'D_ACT_DP' https://support.industry.siemens.com/cs/ww/en/view/19730984 I suggest that in your program you setup SFC 12 for theat slave CPU 318-2DP, and make it active before you shutdown power. When you have powered up cabinet #1 and cabinet #2, use SFC 12 again to re-activate the slave CPU in the master's program. The master will see the active slave and continue polling without problem. If I am making a complete mistake here, please give us more details so we can evaluate a solution that fits your issues. Hope this helps, Daniel Chartier |
This contribution was helpful to1 thankful Users |
3/28/2020 7:44 PM | |
Joined: 3/24/2018 Last visit: 5/5/2024 Posts: 236 Rating: (1) |
Dear Ste39, Can you explain in details your concept ? |
3/28/2020 8:29 PM | |
Joined: 3/24/2018 Last visit: 5/5/2024 Posts: 236 Rating: (1) |
Data transfer between Master and slave through certain area address "process image" |
3/28/2020 8:33 PM | |
Joined: 3/24/2018 Last visit: 5/5/2024 Posts: 236 Rating: (1) |
I think we have |
3/28/2020 8:48 PM | |
Joined: 3/24/2018 Last visit: 5/5/2024 Posts: 236 Rating: (1) |
But the Profibus error due to error from the hardware once the System is launched, and you have no access to them, only the OS does |
3/28/2020 8:55 PM | |
Joined: 1/21/2013 Last visit: 3/19/2024 Posts: 4618 Rating: (705) |
But your error is a system error or an error programmed by someone? you have to be able to mask this ... can you share your program with us? |
This contribution was helpful to1 thankful Users |
3/28/2020 9:01 PM | |
Joined: 3/24/2018 Last visit: 5/5/2024 Posts: 236 Rating: (1) |
Dear Ste39, The Profibus error is a system error due to the delay in the power on in slave cabinet rather than master cabinet. |
3/28/2020 9:17 PM | |
Joined: 1/21/2013 Last visit: 3/19/2024 Posts: 4618 Rating: (705) |
Can you show to us (with photo perhaps) your system error message with respective error number? |
Last edited by: Ste39 at: 03/28/2020 21:21:55 |
|
This contribution was helpful to1 thankful Users |
3/28/2020 9:29 PM | |
Joined: 3/24/2018 Last visit: 5/5/2024 Posts: 236 Rating: (1) |
Have a look at the attached file. |
Last edited by: Pepsi Cola at: 03/28/2020 21:35:59 |
|
3/29/2020 10:20 AM | |
Joined: 1/21/2013 Last visit: 3/19/2024 Posts: 4618 Rating: (705) |
Hello, I think this is not a system error, someone has programmed it, can you find this bit (maybe)in the program? |
This contribution was helpful to1 thankful Users |
3/29/2020 11:26 AM | |
Joined: 3/24/2018 Last visit: 5/5/2024 Posts: 236 Rating: (1) |
I will check it after we able to go work and update you with the result. Thanks for the good discussion that make us forget the bad news around the world. |
Follow us on