<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13.63636302947998px">Hello everyone,</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"><br></div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px">
Thanks for the response, But I still have some questions.</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"><br></div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px">The development environment I use is CentOS 6 (with kernel 2.6.18-371.e15), Igh-1.4.0 and display on VMware player(I wonder if it's feasible by using VMware player?)</div>
<div style="font-family:arial,sans-serif;font-size:13.63636302947998px">Also, I followed Ethercat-1.4.0-pre.pdf chapter 9's steps, everything was fine (I can got EtherCAT master 1.4.0 done message), but there still are some questions: </div>
<div style="font-family:arial,sans-serif;font-size:13.63636302947998px"><br></div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px">1. In CentOS I can not use "insserv ethercat", so I used "chkconfig --add ethercat" to start the service, are these two commands do the same thing?</div>
<div style="font-family:arial,sans-serif;font-size:13.63636302947998px"><br></div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px">2. I copied /opt/etherlab/etc/sysconfig/ethercat to /etc/sysconfig/ethercat, and edited ethercat file like the following,</div>
<div style="font-family:arial,sans-serif;font-size:13.63636302947998px"><br></div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> MASTER0_DEVICE="ff:ff:ff:ff:ff:ff:ff"</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px">
DEVICE_MODULES="8139too"</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"><br></div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> but I am confused that what is the rule to choose the correct "DEVICE_MODULES"? </div>
<div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> Does it depend on something? or should I choose "generic"?</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px">
(By the way, If I chose e1000 or e100, the message would say fail, so I chose 8139too.)</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"><br></div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px">
3. If I use VMware player to install IGH-EtherCAT, what are the additional steps should I do?</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> (Ex: set the virtual network card)</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px">
<br></div><div><div><font face="arial, sans-serif">4.I found that there many command in command "/opt/etherlab/bin/ethercat ____".</font></div><div><font face="arial, sans-serif"> Which commands should I set in advance to let IGH-EtherCAT to control the slaves?</font></div>
</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"><br></div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px">5. When I command "/etc/init.d/ethercat status", the shell said "Master0 running".</div>
<div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> However, when I command "/opt/etherlab/bin/ethercat master"</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px">
the shell said</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"><br></div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> Master0</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px">
Phase: Idle</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> Active: no</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> Slaves: 0</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px">
Ethernet devices:</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> Main: ff:ff:ff:ff:ff:ff (attached)</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> Link: UP</div>
<div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> Tx frames: 215608</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> Rx frames: 0</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px">
Lost frames: 215608</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> Tx bytes: 12936480</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> Tx errors: 0</div>
<div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> Tx frame rate [1/s]: 497 489 481</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> Tx rate [KByte/s]: 29.1 28.7 28.2</div>
<div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> Loss rate [1/s]: 497 489 481</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> Frame loss [%]: 100.0 100.0 100.0</div>
<div style="font-family:arial,sans-serif;font-size:13.63636302947998px"><br></div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> Backup: None.</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px">
Distributed clocks:</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> Reference clock: None</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> Application time: 0</div>
<div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> 2000-01-01 00:00:00.000000000</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"><br></div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px">
I don't know how to activate the master, and how to connect to slave(ET1100)? Thanks for help!</div><div style="font-family:arial,sans-serif;font-size:13.63636302947998px"> (sorry I lost something on last mail)<br>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/14 Yuning Lin <span dir="ltr"><<a href="mailto:pandaning9112@gmail.com" target="_blank">pandaning9112@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>Hello everyone, </div><div><br></div><div>Thanks for the response, But I still have some questions.</div><div><br></div><div>The development environment I use is CentOS 6 (with kernel 2.6.18-371.e15), Igh-1.4.0 and display on VMware player(I wonder if it's feasible by using VMware player?)</div>
<div>Also, I followed Ethercat-1.4.0-pre.pdf chapter 9's steps, everything was fine (I can got EtherCAT master 1.4.0 done message), but there still are some questions: </div><div><br></div><div>1. In CentOS I can not use "insserv ethercat", so I used "chkconfig --add ethercat" to start the service, are these two commands do the same thing?</div>
<div><br></div><div>2. I copied /opt/etherlab/etc/sysconfig/ethercat to /etc/sysconfig/ethercat, and edited ethercat file like the following,</div><div><br></div><div> MASTER0_DEVICE="ff:ff:ff:ff:ff:ff:ff"</div>
<div> DEVICE_MODULES="8139too"</div><div><br></div><div> but I am confused that what is the rule to choose the correct "DEVICE_MODULES"? </div><div> Does it depend on something? or should I choose "generic"?</div>
<div> (By the way, If I chose e1000 or e100, the message would say fail, so I chose 8139too.)</div><div><br></div><div>3. If I use VMware player to install IGH-EtherCAT, what are the additional steps should I do?</div>
<div>
(Ex: set the virtual network card)</div><div><br></div><div>4. When I command "/etc/init.d/ethercat status", the shell said "Master0 running".</div><div> However, when I command "/opt/etherlab/bin/ethercat master"</div>
<div> the shell said</div><div><br></div><div> Master0</div><div> Phase: Idle</div><div> Active: no</div><div> Slaves: 0</div><div> Ethernet devices:</div><div> Main: ff:ff:ff:ff:ff:ff (attached)</div>
<div> Link: UP</div><div> Tx frames: 215608</div><div> Rx frames: 0</div><div> Lost frames: 215608</div><div> Tx bytes: 12936480</div><div> Tx errors: 0</div><div> Tx frame rate [1/s]: 497 489 481</div>
<div> Tx rate [KByte/s]: 29.1 28.7 28.2</div><div> Loss rate [1/s]: 497 489 481</div><div> Frame loss [%]: 100.0 100.0 100.0</div><div><br></div><div> Backup: None.</div>
<div> Distributed clocks:</div><div> Reference clock: None</div><div> Application time: 0</div><div> 2000-01-01 00:00:00.000000000</div><div><br></div><div> I don't know how to activate the master, and how to connect to slave(ET1100)? Thanks for help!</div>
<span class="HOEnZb"><font color="#888888">
<div><br></div>-- <br><div dir="ltr">Best Regards, <div>Yuning</div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Best regards, <div>Yuning</div></div>
</div>