CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Sat Jun 24, 2017 1:06 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue Aug 28, 2012 10:12 pm 
Offline

Joined: Fri Mar 06, 2009 1:33 pm
Posts: 11
Hi,
I have the following problem. I use a PLC (with CoDeSys V2.3) like a CAN Master and Some slaves are connected to it. There are configured some event PDOs. When the system starts, the CAN Master (PLC) sends NMT command for switching to operational state. Immediately after it (I have measured about 100us time) the event PDOs are sent. But the Slaves are still not switched to operational state (they need at least 1-2ms time to react on the NMT command). That's why the first event PDOs are ignored from the Slaves. When the PDOs are sent later, because the data has changed, they are correctly received. This is a problem, because the Slaves doesn't know the initial state of the transported via the event PDOs data. Is there any chance to set a delay between the NMT command and the first sending of the event PDOs?


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

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


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