|CODESYS - the IEC 61131-3 automation software
|Event PDOs immediatelly after the NMT command
|Page 1 of 1|
|Author:||trifonovs [ Tue Aug 28, 2012 10:12 pm ]|
|Post subject:||Event PDOs immediatelly after the NMT command|
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?
|Page 1 of 1||All times are UTC+01:00|
|Powered by phpBB® Forum Software © phpBB Limited