<div># ethercat slave -v<br></div><div>=== Slave 0 ===</div><div>State: PREOP</div><div>Flag: +</div><div>Identity:</div><div> Vendor Id: 0x00000002</div><div> Product code: 0x04570862</div><div> Revision number: 0x0064008e</div>
<div> Serial number: 0x00000000</div><div>General:</div><div> Group: FB1XXX</div><div> Image name:</div><div> Order number: FB1111 Dig. In/Out</div><div> Device name: FB1111 16 Ch. Dig. In-/Output 2xMII</div><div> Flags:</div>
<div> Enable SafeOp: no</div><div> Enable notLRW: no</div><div> Current consumption: 0 mA</div><div><br></div><div># ethercat config -v<br></div><div>(nothing... correct?)</div><div><br></div><div>> Are the PDOs fixed?<br>
</div><div>EL9820 has several PDIs (process data interfaces) which can be configured. There are 8/16 bit microcontroller interface, 32 bit digital I/O and SPI interface. Here is the datasheet.</div><div><br></div><div><a href="http://www.beckhoff.de/download/Document/EtherCAT/Development_products/EL9820_EL9821e.pdf">http://www.beckhoff.de/download/Document/EtherCAT/Development_products/EL9820_EL9821e.pdf</a><br>
</div><div><br></div><div>Best regards,</div><div>Hobin Yoon</div><div><br></div><div class="gmail_quote">On Tue, Dec 9, 2008 at 5:42 PM, Florian Pose <span dir="ltr"><<a href="mailto:fp@igh-essen.com">fp@igh-essen.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<br>
<div class="Ih2E3d"><br>
On Tue, Dec 09, 2008 at 04:17:50PM +0900, Hobin Yoon wrote:<br>
> I have a Beckhoff EL9820 slave board and its working counter seems to have a<br>
> problem. Its actual/expected working counter is 3/5. Is it a master's bug or<br>
> slave configuration's fault?<br>
<br>
</div>there is a bug in rc3 that calculated a wrong expected working counter,<br>
that I fixed recently. But it only showed up, if the process data<br>
spanned multiple datagrams. This is obviously not so in your case.<br>
<div><div></div><div class="Wj3C7c"><br>
> I am using ec_master version 1.4.0-rc3. I burnt the sii with the default<br>
> TwinCAT configuration file, which is, I believe, from<br>
> C:\TwinCAT\Io\EtherCAT\Beckhoff FB1XXX.xml.<br>
><br>
> # ethercat pdo<br>
> SM0: PhysAddr 0x0f02, DefaultSize 0, ControlRegister 0x44, Enable 9<br>
> RxPdo 0x1a00 "Byte 0"<br>
> Pdo entry 0x3101:01, 8 bit, "Output"<br>
> SM1: PhysAddr 0x0f03, DefaultSize 0, ControlRegister 0x44, Enable 1<br>
> RxPdo 0x1a01 "Byte 1"<br>
> Pdo entry 0x3101:02, 8 bit, "Output"<br>
> SM2: PhysAddr 0x1000, DefaultSize 0, ControlRegister 0x00, Enable 1<br>
> TxPdo 0x1600 "Byte 0"<br>
> Pdo entry 0x3001:01, 8 bit, "Input"<br>
> TxPdo 0x1601 "Byte 1"<br>
> Pdo entry 0x3001:02, 8 bit, "Input"<br>
><br>
> # ethercat slaves<br>
> 0 0:0 PREOP + FB1111 16 Ch. Dig. In-/Output 2xMII<br>
><br>
> EtherCAT: Requesting master 0...<br>
> EtherCAT: Successfully requested master 0.<br>
> EtherCAT: Domain0: Logical address 0x00000000, 4 byte, expected working<br>
> counter 5.<br>
> EtherCAT: Datagram domain0-0: Logical offset 0x00000000, 4 byte, type LRW.<br>
> EtherCAT: Master thread exited.<br>
> EtherCAT: Starting EtherCAT-OP thread.<br>
> EtherCAT: Domain 0: Working counter changed to 3/5.<br>
> EtherCAT: Slave states: OP.<br>
<br>
</div></div>For this configuration, an expected working counter of 5 is correct, as<br>
in the used LRW datagram, an output sync manager counts 2 and an input<br>
sync manager counts 1.<br>
<br>
Mhmm, seems there were no errors during the slave configuration. Could<br>
you post the output of 'ethercat slave -v' and 'ethercat config -v'? Are<br>
the PDOs fixed?<br>
<br>
--<br>
Best regards,<br>
Florian Pose<br>
<br>
<a href="http://etherlab.org" target="_blank">http://etherlab.org</a><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>
</blockquote></div><br>