[etherlab-users] Slave not going into PREOP

William william at opinicus.com
Thu Oct 30 22:24:30 CET 2008


I am using a Beckhoff FB1111-0141 slave module connected to a custom IO 
board.  The slave is recognized and goes from INIT to PREOP state about 70% 
of the time after a power off/on cycle.  The remaining times the slave stays 
in INIT state.  See messages below:

Intel(R) PRO/1000 Network Driver - version 7.3.20-k2-NAPI
Copyright (c) 1999-2006 Intel Corporation.
e1000: 0000:02:0b.0: e1000_probe: (PCI:33MHz:32-bit) 00:1b:21:21:68:de
e1000: eth2: e1000_probe: Intel(R) PRO/1000 Network Connection
EtherCAT: Master driver 1.4.0-rc3 stable r1483
EtherCAT: 1 master waiting for devices.
EtherCAT Intel(R) PRO/1000 Network Driver - version 7.3.20-k2-NAPI
Copyright (c) 1999-2006 Intel Corporation.
ec_e1000: 0000:02:0b.0: e1000_probe: (PCI:33MHz:32-bit) 00:1b:21:21:68:de
EtherCAT: Accepting device 00:1B:21:21:68:DE for master 0.
EtherCAT: Starting EtherCAT-IDLE thread.
ec_e1000: ec0: e1000_probe: Intel(R) PRO/1000 Network Connection
ec_e1000: ec0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex, Flow 
Control: RX
EtherCAT: Link state changed to UP.
EtherCAT: 1 slave(s) responding.
EtherCAT: Slave states: PREOP.
EtherCAT: Scanning bus.
EtherCAT WARNING: 1 datagram TIMED OUT!
EtherCAT: Bus scanning completed in 100 ms.

The above shows success...
Now a power cycle and another success...

ec_e1000: ec0: e1000_watchdog: NIC Link is Down
EtherCAT: Link state changed to DOWN.
EtherCAT: 0 slave(s) responding.
EtherCAT WARNING: 249 datagrams TIMED OUT!
EtherCAT WARNING: 1 datagram UNMATCHED!
ec_e1000: ec0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex, Flow 
Control: RX
EtherCAT: Link state changed to UP.
EtherCAT WARNING: 393 datagrams UNMATCHED!
EtherCAT: 1 slave(s) responding.
EtherCAT: Slave states: INIT.
EtherCAT: Scanning bus.
EtherCAT: Bus scanning completed in 100 ms.
EtherCAT: Slave states: PREOP.

Now a failure...

EtherCAT: Link state changed to DOWN.
EtherCAT: 0 slave(s) responding.
EtherCAT WARNING: 249 datagrams TIMED OUT!
EtherCAT WARNING: 1 datagram UNMATCHED!
ec_e1000: ec0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex, Flow 
Control: RX
EtherCAT: Link state changed to UP.
EtherCAT WARNING: 419 datagrams UNMATCHED!
EtherCAT: 1 slave(s) responding.
EtherCAT: Slave states: INIT.
EtherCAT: Scanning bus.
EtherCAT ERROR: Reception of SII read datagram failed on slave 0: No 
response.
EtherCAT ERROR: Failed to fetch SII contents of slave 0.
EtherCAT: Bus scanning completed in 16 ms.

Any idea why this might happen?
Suggestions for debugging?

Thanks,
Wm




More information about the Etherlab-users mailing list