Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ecat connection not established
#1
Good morning all...!

when i rebooting controller (power brick) the ecat is not estblishing. when i reset $$$ through command the controller communicating with slaves. can you help me out of this
Reply
#2
When you reboot your Power Brick, are you also rebooting all of the EtherCAT Slaves?

If issuing a "$$$" works, but power cycling the brick does not, it sounds like there is a timing condition where power cycling causes EtherCAT to try to enable before something is ready, whether that is one of the slaves or something else. The easiest fix is most likely to add a timer to the start of your PLC so that it waits longer before it tries to enable EtherCAT. The better fix is to add a while loop with a timeout value to the PLC which will wait until all of the slaves and master are prepared to enable EtherCAT (waiting until the master and all slaves are in PREOP/state = 2), then issue the commands.
Reply
#3
(07-14-2017, 12:02 PM)AAnikstein Wrote: When you reboot your Power Brick, are you also rebooting all of the EtherCAT Slaves?

If issuing a "$$$" works, but power cycling the brick does not, it sounds like there is a timing condition where power cycling causes EtherCAT to try to enable before something is ready, whether that is one of the slaves or something else. The easiest fix is most likely to add a timer to the start of your PLC so that it waits longer before it tries to enable EtherCAT. The better fix is to add a while loop with a timeout value to the PLC which will wait until all of the slaves and master are prepared to enable EtherCAT (waiting until the master and all slaves are in PREOP/state = 2), then issue the commands.

Thank you for help, yes i am rebooting all salves and master, can write me a while loop for plc...?
Reply
#4
(07-14-2017, 10:40 PM)desai gururaj Wrote:
(07-14-2017, 12:02 PM)AAnikstein Wrote: When you reboot your Power Brick, are you also rebooting all of the EtherCAT Slaves?

If issuing a "$$$" works, but power cycling the brick does not, it sounds like there is a timing condition where power cycling causes EtherCAT to try to enable before something is ready, whether that is one of the slaves or something else. The easiest fix is most likely to add a timer to the start of your PLC so that it waits longer before it tries to enable EtherCAT. The better fix is to add a while loop with a timeout value to the PLC which will wait until all of the slaves and master are prepared to enable EtherCAT (waiting until the master and all slaves are in PREOP/state = 2), then issue the commands.

Thank you for help, yes i am rebooting all salves and master, can write me a while loop for plc...?

the ethercat link between drive and controller is not happening,
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)