<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="MSHTML 11.00.9600.19130">
<style title="owaParaStyle"><!--P {
MARGIN-BOTTOM: 0px; MARGIN-TOP: 0px
}
--></style>
</head>
<body ocsi="x">
<div dir="ltr"><font color="#000000" size="2" face="Tahoma">Would user command from OS console give you the answer:</font></div>
<div dir="ltr"><font size="2" face="tahoma"></font> </div>
<div dir="ltr"><font size="2" face="tahoma"><font size="2" face="tahoma"><a href="mailto:xxxxx@xxxxx::~$">xxxxx@xxxxx</a><a href="mailto:xxxxx@xxxxx::~$"></font>::~$</a> ethercat slaves<br>
</div>
<p></font> </p>
<p><font size="2" face="tahoma">The ethercat commands can be used while your application is running. Try 'ethercat --help' for other options</font></p>
<p><font size="2" face="tahoma"></font> </p>
<p><font size="2" face="tahoma">Best regards,</font></p>
<p><font size="2" face="tahoma">Ian</font></p>
<p><font size="2" face="tahoma"></font> </p>
<div dir="ltr">
<hr tabindex="-1">
</div>
<div dir="ltr"><font size="2" face="Tahoma"><b>From:</b> etherlab-users [etherlab-users-bounces@etherlab.org] On Behalf Of Mohsen Alizadeh Noghani [m.alizad3h@gmail.com]<br>
<b>Sent:</b> Thursday, October 04, 2018 3:06 AM<br>
<b>To:</b> etherlab-users@etherlab.org<br>
<b>Subject:</b> [etherlab-users] How to check if all slaves have reached operational state?<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Dear EtherLab users,
<div>After activating the master and starting frame exchange, is there a way to check whether all states have reached operational?</div>
<div><b>Additional info:</b></div>
<div>Currently, in <a href="https://github.com/mohse-n/L7N_EtherLab/blob/master/simple_test.c" target="_blank">
my code</a>, I just send empty frames for long enough (trial and error) so that when I exit the loop, my slaves (servo drives) are in OP state.</div>
<div>I have tried checking the working counter in the loop and exiting from it after the domain's working counter becomes equal to our expected value. However, there is still a small delay after that happens and the second slave reaching operational state.</div>
<div>Best,</div>
<div>
<div>Mohsen</div>
</div>
</div>
</div>
</body>
</html>