EcoStruxure Automation Expert / IEC 61499 Forum
Schneider Electric support forum to acquire and share knowledge about EcoStruxure Automation Expert and IEC 61499 standard for distributed control systems.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-05-24 03:15 AM . Last Modified: 2023-07-28 02:21 AM
Hi experts,
What is the best practice to detect a communication loss between dPac's?
Example:
A DIG_IN mapped to a TM251dPac is linked the run command of a ATVdPac. When the Ethernet communication is lost I want the ATV to stop for security reasons.
Of course, I can use a time based trigger like E_CYCLE to check this, but I suppose there must be a better way.
Any suggestion would be much appreciated!
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-07-12 06:34 AM
Obviously here is no point checking just once, so E_CYCLE in the M251 dPAC is a good way to perform the check as this will trigger regular events to do the checking. Inside the ATV dPAC you can use something like E_DELAYR to check the received pulses - use the pulses to reset the delay timer. This way if the pulses stop, the delay timer will time out and can then trigger the logic to to stop the motor.
There are other ways but this is probable the simplest.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-07-12 06:34 AM
Obviously here is no point checking just once, so E_CYCLE in the M251 dPAC is a good way to perform the check as this will trigger regular events to do the checking. Inside the ATV dPAC you can use something like E_DELAYR to check the received pulses - use the pulses to reset the delay timer. This way if the pulses stop, the delay timer will time out and can then trigger the logic to to stop the motor.
There are other ways but this is probable the simplest.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-07-24 05:56 AM
Thank you Richard! I guess I was hoping for a kind of automatic communication check. This was a question raised by a customer during a demo. I didn't include any communication check at the time, so the ATV fitted with ATV dPac stayed in its last state (running or not) when disconnection the network. This behaviour is of course something very important to be aware of.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.