[etherlab-users] Working counter of EL9820

Hobin Yoon hobinyoon at gmail.com
Tue Dec 9 10:11:10 CET 2008


# ethercat slave -v
=== Slave 0 ===
State: PREOP
Flag: +
Identity:
  Vendor Id:       0x00000002
  Product code:    0x04570862
  Revision number: 0x0064008e
  Serial number:   0x00000000
General:
  Group: FB1XXX
  Image name:
  Order number: FB1111 Dig. In/Out
  Device name: FB1111 16 Ch. Dig. In-/Output 2xMII
  Flags:
    Enable SafeOp: no
    Enable notLRW: no
  Current consumption: 0 mA

# ethercat config -v
(nothing... correct?)

> Are the PDOs fixed?
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.

http://www.beckhoff.de/download/Document/EtherCAT/Development_products/EL9820_EL9821e.pdf

Best regards,
Hobin Yoon

On Tue, Dec 9, 2008 at 5:42 PM, Florian Pose <fp at igh-essen.com> wrote:

> Hello,
>
> On Tue, Dec 09, 2008 at 04:17:50PM +0900, Hobin Yoon wrote:
> > I have a Beckhoff EL9820 slave board and its working counter seems to
> have a
> > problem. Its actual/expected working counter is 3/5. Is it a master's bug
> or
> > slave configuration's fault?
>
> there is a bug in rc3 that calculated a wrong expected working counter,
> that I fixed recently. But it only showed up, if the process data
> spanned multiple datagrams. This is obviously not so in your case.
>
> > I am using ec_master version 1.4.0-rc3. I burnt the sii with the default
> > TwinCAT configuration file, which is, I believe, from
> > C:\TwinCAT\Io\EtherCAT\Beckhoff FB1XXX.xml.
> >
> > # ethercat pdo
> > SM0: PhysAddr 0x0f02, DefaultSize    0, ControlRegister 0x44, Enable 9
> >   RxPdo 0x1a00 "Byte 0"
> >     Pdo entry 0x3101:01,  8 bit, "Output"
> > SM1: PhysAddr 0x0f03, DefaultSize    0, ControlRegister 0x44, Enable 1
> >   RxPdo 0x1a01 "Byte 1"
> >     Pdo entry 0x3101:02,  8 bit, "Output"
> > SM2: PhysAddr 0x1000, DefaultSize    0, ControlRegister 0x00, Enable 1
> >   TxPdo 0x1600 "Byte 0"
> >     Pdo entry 0x3001:01,  8 bit, "Input"
> >   TxPdo 0x1601 "Byte 1"
> >     Pdo entry 0x3001:02,  8 bit, "Input"
> >
> > # ethercat slaves
> > 0  0:0  PREOP  +  FB1111 16 Ch. Dig. In-/Output 2xMII
> >
> > EtherCAT: Requesting master 0...
> > EtherCAT: Successfully requested master 0.
> > EtherCAT: Domain0: Logical address 0x00000000, 4 byte, expected working
> > counter 5.
> > EtherCAT:   Datagram domain0-0: Logical offset 0x00000000, 4 byte, type
> LRW.
> > EtherCAT: Master thread exited.
> > EtherCAT: Starting EtherCAT-OP thread.
> > EtherCAT: Domain 0: Working counter changed to 3/5.
> > EtherCAT: Slave states: OP.
>
> For this configuration, an expected working counter of 5 is correct, as
> in the used LRW datagram, an output sync manager counts 2 and an input
> sync manager counts 1.
>
> Mhmm, seems there were no errors during the slave configuration. Could
> you post the output of 'ethercat slave -v' and 'ethercat config -v'? Are
> the PDOs fixed?
>
> --
> Best regards,
> Florian Pose
>
> http://etherlab.org
> _______________________________________________
> etherlab-users mailing list
> etherlab-users at etherlab.org
> http://lists.etherlab.org/mailman/listinfo/etherlab-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20081209/fc7804d6/attachment-0004.htm>


More information about the Etherlab-users mailing list