<div dir="ltr">There's a watchdog that's kicked by every successful access to a Sync Manager. If the dog expires, the slave leaves the Operational state. Strictly speaking a slave will continue to accept inputs and provide outputs in that case, but there's hardware in these devices that only enables the outputs when the device is in the Operational state.<div>
<br></div><div>Be careful when designing a system: the safe output state is zero. Monitor the slave operational state in your program so that your program, if it starts working again, doesn't suddenly turn things back on.</div>
<div><br><div><div><div><br></div><div>J.</div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-20 19:10 GMT+01:00 Allan Brighton <span dir="ltr"><<a href="mailto:Allan.Brighton@t-online.de" target="_blank">Allan.Brighton@t-online.de</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi all,<br>
<br>
I'm new to EtherCat and EtherLab and I modified examples/user/main.c to work with the devices I have for testing: (EK1100, EL2202, EL1252, EL2252).<br>
Everything works and the LED I attached to the EL2202 turns on and off, however the code is using a timer and constantly setting the output value to 1 or 0 (on or off).<br>
Why can't you just set the value to 1 once and have the LED stay on? Even if I wait until the slave reaches the operational state, the LED just blinks once when set to 1,<br>
but doesn't stay on, unless the value is constantly updated. What am I missing?<br>
<br>
Thanks,<br>
Allan<br>
<br>
______________________________<u></u>_________________<br>
etherlab-users mailing list<br>
<a href="mailto:etherlab-users@etherlab.org" target="_blank">etherlab-users@etherlab.org</a><br>
<a href="http://lists.etherlab.org/mailman/listinfo/etherlab-users" target="_blank">http://lists.etherlab.org/<u></u>mailman/listinfo/etherlab-<u></u>users</a><br>
</blockquote></div><br></div>