[etherlab-users] problem on reading slave information at startup
Quirino Nardin
quirino.nardin at v8tech.com
Thu Nov 6 13:37:36 CET 2008
the logs below....
a restart helps most of the time
<7>EtherCAT DEBUG: 10 01 00 F1
<7>EtherCAT DEBUG: Pdo entry 0xF100:01, 16 bit, "???".
<7>EtherCAT DEBUG: Reading of Pdo configuration finished.
<4>EtherCAT WARNING: Slave 137 has state error bit set (SAFEOP + ERROR)!
<7>EtherCAT DEBUG: Scanning Pdo assignment and mapping of slave 137.
<7>EtherCAT DEBUG: Reading Pdo assignment of SM2.
<7>EtherCAT DEBUG: Uploading Sdo 0x1C12:00 from slave 137.
<7>EtherCAT DEBUG: Upload request:
<7>EtherCAT DEBUG: 00 20 40 12 1C 00 00 00 00 00
<7>EtherCAT DEBUG: Slave 137 did no respond to Sdo upload request.
Retrying after 0 ms...
<7>EtherCAT DEBUG: Slave 137 did no respond to Sdo upload request.
Retrying after 0 ms...
<7>EtherCAT DEBUG: Slave 137 did no respond to Sdo upload request.
Retrying after 0 ms...
<7>EtherCAT DEBUG: Slave 137 did no respond to Sdo upload request.
Retrying after 0 ms...
<7>EtherCAT DEBUG: Slave 137 did no respond to Sdo upload request.
Retrying after 0 ms...
<7>EtherCAT DEBUG: Slave 137 did no respond to Sdo upload request.
Retrying after 0 ms...
<7>EtherCAT DEBUG: Slave 137 did no respond to Sdo upload request.
Retrying after 4 ms...
<7>EtherCAT DEBUG: Slave 137 did no respond to Sdo upload request.
Retrying after 4 ms...
<7>EtherCAT DEBUG: Slave 137 did no respond to Sdo upload request.
Retrying after 4 ms...
<7>EtherCAT DEBUG: Slave 137 did no respond to Sdo upload request.
Retrying after 4 ms...
<7>EtherCAT DEBUG: Slave 137 did no respond to Sdo upload request.
Retrying after 4 ms...
<7>EtherCAT DEBUG: Slave 137 did no respond to Sdo upload request.
Retrying after 4 ms...
<7>EtherCAT DEBUG: Slave 137 did no respond to Sdo upload request.
Retrying after 4 ms...
<7>EtherCAT DEBUG: Slave 137 did no respond to Sdo upload request.
Retrying after 4 ms...
<7>EtherCAT DEBUG: Slave 137 did no respond to Sdo upload request.
Retrying after 4 ms...
<7>EtherCAT DEBUG: Slave 137 did no respond to Sdo upload request.
Retrying after 8 ms...
<7>EtherCAT DEBUG: Slave 137 did no respond to Sdo upload request.
Retrying after 8 ms...
<7>EtherCAT DEBUG: Slave 137 did no respond to Sdo upload request.
Retrying after 8 ms...
....
...
<7>EtherCAT DEBUG: Slave 137 did no respond to Sdo upload request.
Retrying after 2996 ms...
<7>EtherCAT DEBUG: Slave 137 did no respond to Sdo upload request.
Retrying after 2996 ms...
<7>EtherCAT DEBUG: Slave 137 did no respond to Sdo upload request.
Retrying after 2996 ms...
<3>EtherCAT ERROR: Reception of CoE upload request failed on slave 137:
No response.
<3>EtherCAT ERROR: Failed to read number of assigned Pdos for SM2.
./ethercat states OP
...
...
<3>EtherCAT ERROR: Failed to set SAFEOP state, slave 74 refused state
change (PREOP + ERROR).
<4>EtherCAT WARNING: Reception of AL status code datagram failed: No
response.
<6>EtherCAT: Acknowledged state PREOP on slave 74.
...
...
<6>EtherCAT: Domain 0: Working counter changed to 349/342.
<6>EtherCAT: Domain 0: Working counter changed to 346/342.
<6>EtherCAT: Domain 0: 2 working counter changes - now 346/342.
<4>EtherCAT WARNING: Slave 75 changed to INIT in the meantime.
<3>EtherCAT ERROR: Failed to set OP state, slave 75 refused state change
(INIT + ERROR).
<4>EtherCAT WARNING: Reception of AL status code datagram failed: No
response.
<6>EtherCAT: Acknowledged state INIT on slave 75.
...
Florian Pose wrote:
> On Wed, Oct 29, 2008 at 05:47:34PM +0100, Quirino Nardin wrote:
>
>> Now, when i start the master, it happens (not every time) that some
>> BK1120 are being read with Error.
>>
>
>
>> /ethercat_1529# ./ethercat slaves
>> 4 1004:0 PREOP E BK1120 min
>> 18 1018:0 PREOP E BK1120 min
>> 34 1034:0 PREOP E BK1120 min
>> 48 1048:0 PREOP E BK1120 min
>> 74 1064:0 PREOP E BK1120 min
>> 78 1078:0 PREOP E BK1120 min
>> 94 1094:0 PREOP E BK1120 min
>> 108 1108:0 PREOP E BK1120 min
>> 124 1124:0 INIT E BK1120 min
>>
>
> it looks as most of the slaves can not be configured correctly. Could
> you supply the appropriate logging output with 'ethercat debug 1' set?
>
>
>> - is there a possibility to reconfigure or reinitialize Slave during
>> runtime?
>>
>
> Try 'ethercat states OP'.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20081106/5c79c187/attachment-0004.htm>
More information about the Etherlab-users
mailing list