[etherlab-dev] r1713 - Distributed Clocks IOCTL functions

Erwin Burgstaller ethercat.berknapp at spamgourmet.com
Mon Apr 27 15:24:20 CEST 2009


* Mon, Apr 27, 2009 - 12:58:01 +0200, Florian Pose - fp at igh-essen.com:
> BTW, what are the first 4 digits of the serial number printed on the
> left side (2 dig. week, 2 dig. year)?

Good point, it's: 4007

So I got me one of the unused spare ones, which has 0509 and it did work
instantly! I think, I should more often consider the Beckhoff devices to
be part of the problem.

* Mon, Apr 27, 2009 - 13:44:48 +0200, Florian Pose - fp at igh-essen.com:
> Please try the latest tarball.
> 
> http://etherlab.org/download/ethercat/ethercat-devel-r1723.tar.bz2

OK, did it, now both are working and here's the difference:

> ethercat slaves -v -p 0
=== Slave 0 ===
State: PREOP
Flag: +
Identity:
  Vendor Id:       0x00000002
  Product code:    0x044c2c52
  Revision number: 0x00100000
  Serial number:   0x00000000
Ports:
  0: MII.
  1: EBUS.
  2: MII.
  3: Not implemented.
DL information:
  FMMU bit operation: no
  Distributed clocks: yes, delay measurement only
General:
  Group: SystemBk
  Image name: 
  Order number: EK1100
  Device name: EK1100 EtherCAT-Koppler (2A E-Bus)
  Flags:
    Enable SafeOp: no
    Enable notLRW: no
  Current consumption: -2000 mA

> ethercat slaves -v -p 12
=== Slave 12 ===
State: PREOP
Flag: +
Identity:
  Vendor Id:       0x00000002
  Product code:    0x044c2c52
  Revision number: 0x00110000
  Serial number:   0x00000000
Ports:
  0: MII.
  1: EBUS.
  2: MII.
  3: Not implemented.
DL information:
  FMMU bit operation: no
  Distributed clocks: yes, 64 bit
General:
  Group: SystemBk
  Image name: 
  Order number: EK1100
  Device name: EK1100 EtherCAT-Koppler (2A E-Bus)
  Flags:
    Enable SafeOp: no
    Enable notLRW: no
  Current consumption: -2000 mA

And best of all: Our Device works too:

> ethercat slaves -v -p 12
=== Slave 12 ===
State: PREOP
Flag: E
Identity:
  Vendor Id:       0x00000537
  Product code:    0x00000001
  Revision number: 0x00000003
  Serial number:   0x00000000
Ports:
  0: MII.
  1: MII.
  2: Not implemented.
  3: Not implemented.
DL information:
  FMMU bit operation: no
  Distributed clocks: yes, delay measurement only
Mailboxes:
  Bootstrap RX: 0x1000/532, TX: 0x1800/532
  Standard  RX: 0x1500/592, TX: 0x1750/592
  Supported protocols: EoE, CoE
General:
  Group: Knapp FB1100
  Image name: 
  Order number: FB1100 MCI16 DC
  Device name: PCC
  CoE details:
    Enable SDO: yes
    Enable SDO Info: yes
    Enable PDO Assign: yes
    Enable PDO Configuration: yes
    Enable Upload at startup: no
    Enable SDO complete access: no
  Flags:
    Enable SafeOp: no
    Enable notLRW: no
  Current consumption: 0 mA


The flag E is another problem, we maybe have to discuss. Depends on if
the programmer of the firmware is ready to accept any state changes
regardless of what he's personally thinking about sense or nonsense, or
not ;-)

As long as it's accepting OP state in the end, it's not that
important. :-)

Thanks for your help,

Erwin

-- 
Erwin Burgstaller



More information about the Etherlab-dev mailing list