CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Sun Aug 18, 2019 11:47 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Tue Jun 19, 2018 3:14 pm 
Offline

Joined: Mon Jan 08, 2018 6:44 pm
Posts: 10
Hello there,

sometimes it happens that after the download of the project in the PLC, this go in STOP. The PLC is in STOP cause he is not able to see the EtherCAT modules. When this occur, I have to switch OFF the machine and after the restart everything goes well. It's something that happens especially after a big offline change. I want to know if it is something that "can happen" or if there's a way to prevent it.

And another question is: can I catch the exception of the etherCAT and prevent the STOP of the PLC?


Top
   
PostPosted: Wed Jun 20, 2018 8:08 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3384
Hi,
which plc in which version are you using?
There is this option:
- PLC Settings - update while plc in stop
- Ethercat Master Option - Automatic restart slaves (even if you enable this without having option A it should work)

BR
Edwin


Top
   
PostPosted: Thu Jun 21, 2018 8:49 am 
Offline

Joined: Mon Jan 08, 2018 6:44 pm
Posts: 10
Thanks for your reply Edwin, I will test it later.

Do you know if I can avoid the PLC stop if the ethercat slave won't restart? Because now, if the EtherCAT has some problem, the PLC goes in exception. Is it possible to intercept the exception and restart from a function the ethercat and check if everything is ok?


Top
   
PostPosted: Fri Jun 22, 2018 6:09 pm 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3384
agáin, which Version are you using and which plc?
This exception is a buf if this happen it is an error which need to be fixed!

BR
Edwin


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited