<br><br><div class="gmail_quote">On Thu, Feb 17, 2011 at 7:07 AM, peak peak <span dir="ltr"><<a href="mailto:peakpeak05@yahoo.com">peakpeak05@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">Hello everyone,<br>
<br>
I am trying with EL9800 board with digital I/O.<br>
<br>1. - When declaring domain for using the digital output portion of the evaluation board, I used:<br>
-------------------------------------------------------------------<br>
const static ec_pdo_entry_reg_t domain1_regs[] = {
<br>
{EL9800SlavePos, Beckhoff_EL9800, 0x0f00, 0x01, &off_dig_out},
<br>
{}
<br>
};<br>
-----------------------------------------------------------------------<br><br>
I don't know if I declared the address <span style="font-style:italic">0x0f00 and 0x01</span> in a right way
or not. Can you tell me how to refer such the addresses? <span style="font-style:italic;font-weight:bold">We should
always infer them from the xml file?</span></td></tr></tbody></table></blockquote><div><br></div><div><br></div><div>Yes, you get this information from the xml file or from running the command-line tool 'ethercat cstruct' which will also give you the address information that you can put in here.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit"><br>
<br>2. - When I input the command<br>
ethercat config<br>
I got no return information. Is it normal or I didn't properly install the ethercat master ? Though the Slave and PDOs commands are informative.<br><br></td></tr></tbody></table></blockquote><div><br></div><div>This command only gives back information when the master is actually running and exchanging PDOs with the slaves IIRC.</div>
<div><br></div><div>HTH,</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">
Thank you and best regards,<br>
<br>
<br>
</td></tr></tbody></table><br>
<br>_______________________________________________<br>
etherlab-users mailing list<br>
<a href="mailto:etherlab-users@etherlab.org">etherlab-users@etherlab.org</a><br>
<a href="http://lists.etherlab.org/mailman/listinfo/etherlab-users" target="_blank">http://lists.etherlab.org/mailman/listinfo/etherlab-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div><br></div>Newell<br><br><br>