[etherlab-users] Not PREOP state on EL7201

Carlos Jiménez Leal carlos_jimenez at encopim.com
Wed May 21 16:21:58 CEST 2014


Hello,

I tested with the latest version of the master but still fails in the 
same way, I have activated the debug mode to get more traces.

[ 1306.804022] EtherCAT 0: Link state changed to DOWN.
[ 1306.808089] EtherCAT ERROR 0-1: Failed to receive AL state datagram: 
Datagram error.
[ 1306.812070] EtherCAT 0: 0 slave(s) responding.
[ 1306.812154] EtherCAT DEBUG 0: Master state machine detected link 
down. Clearing slave list.
[ 1310.600023] EtherCAT 0: Link state changed to UP.
[ 1310.604093] EtherCAT 0: 4 slave(s) responding.
[ 1310.604185] EtherCAT 0: Slave states: INIT, PREOP.
[ 1310.604286] EtherCAT DEBUG 0-0: Init FSM.
[ 1310.604296] EtherCAT DEBUG 0-1: Init FSM.
[ 1310.604307] EtherCAT DEBUG 0-2: Init FSM.
[ 1310.604315] EtherCAT DEBUG 0-3: Init FSM.
[ 1310.604344] EtherCAT DEBUG 0: Sending broadcast-write to measure 
transmission delays.
[ 1310.604370] EtherCAT DEBUG 0: 4 slaves responded to delay measuring.
[ 1310.604376] EtherCAT 0: Scanning bus.
[ 1310.604525] EtherCAT DEBUG 0-0: Slave has the System Time register.
[ 1310.649491] EtherCAT DEBUG 0-1: Slave has the System Time register.
[ 1310.723641] EtherCAT DEBUG 0-2: Slave has the System Time register.
[ 1310.841053] EtherCAT DEBUG 0-2: Unknown category type 0x002A.
[ 1310.841078] EtherCAT DEBUG 0-2: Unknown category type 0x003C.
[ 1310.841157] EtherCAT DEBUG 0-3: Slave has the System Time register.
[ 1311.017836] EtherCAT DEBUG 0-3: Unknown category type 0x003C.
[ 1311.017844] EtherCAT DEBUG 0-3: Slave is not in the state to do 
mailbox com (INIT), setting to PREOP.
[ 1311.017851] EtherCAT DEBUG 0-3: Configuring...
[ 1311.017894] EtherCAT DEBUG 0-3: Now in INIT.
[ 1311.017899] EtherCAT DEBUG 0-3: Clearing FMMU configurations...
[ 1311.017923] EtherCAT DEBUG 0-3: Clearing sync manager 
configurations...
[ 1311.017947] EtherCAT DEBUG 0-3: Clearing DC assignment...
[ 1311.017971] EtherCAT DEBUG 0-3: Configuring mailbox sync managers...
[ 1311.017979] EtherCAT DEBUG 0-3: SM0: Addr 0x1000, Size 128, Ctrl 
0x26, En 1
[ 1311.017987] EtherCAT DEBUG 0-3: SM1: Addr 0x1080, Size 128, Ctrl 
0x22, En 1
[ 1311.018245] EtherCAT ERROR 0-3: Failed to set PREOP state, slave 
refused state change (INIT + ERROR).
[ 1311.018396] EtherCAT ERROR 0-3: Unknown AL status code 0x00F2.
[ 1311.018531] EtherCAT 0-3: Acknowledged state INIT.
[ 1311.018605] EtherCAT 0: Bus scanning completed in 416 ms.
[ 1311.019343] EtherCAT DEBUG 0-0: 0
[ 1311.019347] EtherCAT DEBUG 0-1: 140
[ 1311.019352] EtherCAT DEBUG 0-2: 285
[ 1311.019357] EtherCAT DEBUG 0-3: 435
[ 1311.019362] EtherCAT DEBUG 0: Writing system time offsets...
[ 1311.019366] EtherCAT DEBUG 0: No app_time received up to now.
[ 1311.028030] EtherCAT DEBUG 0-0: Changing state from PREOP to PREOP 
(forced).
[ 1311.028038] EtherCAT DEBUG 0-0: Configuring...
[ 1311.028080] EtherCAT DEBUG 0-0: Now in INIT.
[ 1311.028085] EtherCAT DEBUG 0-0: Clearing FMMU configurations...
[ 1311.028117] EtherCAT DEBUG 0-0: Clearing sync manager 
configurations...
[ 1311.028144] EtherCAT DEBUG 0-0: Clearing DC assignment...
[ 1311.028168] EtherCAT DEBUG 0-0: Slave does not support mailbox 
communication.
[ 1311.028211] EtherCAT DEBUG 0-0: Now in PREOP.
[ 1311.028216] EtherCAT DEBUG 0-0: Finished configuration.
[ 1311.032237] EtherCAT DEBUG 0-1: Changing state from PREOP to PREOP 
(forced).
[ 1311.032246] EtherCAT DEBUG 0-1: Configuring...
[ 1311.032297] EtherCAT DEBUG 0-1: Now in INIT.
[ 1311.032305] EtherCAT DEBUG 0-1: Clearing FMMU configurations...
[ 1311.032335] EtherCAT DEBUG 0-1: Clearing sync manager 
configurations...
[ 1311.032363] EtherCAT DEBUG 0-1: Clearing DC assignment...
[ 1311.032393] EtherCAT DEBUG 0-1: Slave does not support mailbox 
communication.
[ 1311.032441] EtherCAT DEBUG 0-1: Now in PREOP.
[ 1311.032448] EtherCAT DEBUG 0-1: Finished configuration.
[ 1311.036236] EtherCAT DEBUG 0-2: Changing state from PREOP to PREOP 
(forced).
[ 1311.036246] EtherCAT DEBUG 0-2: Configuring...
[ 1311.036298] EtherCAT DEBUG 0-2: Now in INIT.
[ 1311.036306] EtherCAT DEBUG 0-2: Clearing FMMU configurations...
[ 1311.036336] EtherCAT DEBUG 0-2: Clearing sync manager 
configurations...
[ 1311.036365] EtherCAT DEBUG 0-2: Clearing DC assignment...
[ 1311.036394] EtherCAT DEBUG 0-2: Slave does not support mailbox 
communication.
[ 1311.036443] EtherCAT DEBUG 0-2: Now in PREOP.
[ 1311.036448] EtherCAT DEBUG 0-2: Finished configuration.
[ 1311.040229] EtherCAT DEBUG 0-0: Ready for requests.
[ 1311.040238] EtherCAT DEBUG 0-1: Ready for requests.
[ 1311.040245] EtherCAT DEBUG 0-2: Ready for requests.
[ 1311.040253] EtherCAT DEBUG 0-3: Ready for requests.

Anyone have any idea what I can try?

Thanks in advance

A 2014-05-21 10:03, Carlos Jiménez Leal escrigué:
> Hello Henry, thank you for your answer,
>
> I am not using the latest version, I use the 1.5.2. I'll be down the
> latest version and try again
>
> Regards
>
> A 2014-05-20 18:59, Henry Bausley escrigué:
>> Are you using the latest version of the stack?  I believe this was
>> related to writing a 1 to address 0x500 in
>> ec_fsm_slave_config_state_boot_preop and was fixed.
>>
>>
>> On Tue, 2014-05-20 at 13:30 +0200, Carlos Jiménez Leal wrote:
>>> Hello,
>>>
>>> I'm trying to run the Beckhoff EL7201 drive with Etherlab Master, 
>>> but
>>> when starting the master, the module does not pass to PREOP  state 
>>> and
>>> remains in INIT state.
>>>
>>> This is the output of dmesg:
>>>
>>> [ 8402.649526] EtherCAT 0: Link state of ecm0 changed to UP.
>>> [ 8402.653599] EtherCAT 0: 4 slave(s) responding on main device.
>>> [ 8402.653680] EtherCAT 0: Slave states on main device: PREOP.
>>> [ 8402.653795] EtherCAT 0: Scanning bus.
>>> [ 8403.069126] EtherCAT 0: Bus scanning completed in 416 ms.
>>> [ 8403.069190] EtherCAT 0: Using slave 0 as DC reference clock.
>>> [ 8403.089907] EtherCAT ERROR 0-3: Failed to set PREOP state, slave
>>> refused state change (INIT + ERROR).
>>> [ 8403.090037] EtherCAT ERROR 0-3: Unknown AL status code 0x00F2.
>>> [ 8403.090152] EtherCAT 0-3: Acknowledged state INIT.
>>> [ 8403.093619] EtherCAT 0: Slave states on main device: INIT, 
>>> PREOP.
>>>
>>>
>>> Anyone have any idea that could happen?
>>>
>>> Thanks in advance and regards
>>>
>>
>>
>>
>>
>>
>> Outbound scan for Spam or Virus by Barracuda at Delta Tau
>
> --
>
> Carlos Jiménez
>
> ENCOPIM S.L.
> Ctra. de Ripollet a Santiga 104, P.I. Els Pinetons
> E-08291 RIPOLLET (Barcelona)
> Tel: (+34) 935 94 23 47
> Fax: (+34) 935 94 64 15
>
> ==========================================================
> La información contenida en la presente transmisión es confidencial y 
> su
> uso únicamente está permitido a su(s) destinatario(s). Si Ud. no es 
> la
> persona destinataria de la presente transmisión, rogamos nos lo
> comunique de manera inmediata por teléfono (+34 935 942 347) y 
> destruya
> cualquier copia de la misma (tanto digitales como en papel).
>
> The information contained in this transmission is confidential and is
> intended only for the use of the addressee(s). If you are not the
> designated recipient of this transmission, please advise us 
> immediately
> by telephone (+34 935 942 347) and destroy any copies (digital and
> paper).
> ==========================================================
> _______________________________________________
> etherlab-users mailing list
> etherlab-users at etherlab.org
> http://lists.etherlab.org/mailman/listinfo/etherlab-users

-- 

Carlos Jiménez

ENCOPIM S.L.
Ctra. de Ripollet a Santiga 104, P.I. Els Pinetons
E-08291 RIPOLLET (Barcelona)
Tel: (+34) 935 94 23 47
Fax: (+34) 935 94 64 15

==========================================================
La información contenida en la presente transmisión es confidencial y 
su
uso únicamente está permitido a su(s) destinatario(s). Si Ud. no es la
persona destinataria de la presente transmisión, rogamos nos lo
comunique de manera inmediata por teléfono (+34 935 942 347) y destruya
cualquier copia de la misma (tanto digitales como en papel).

The information contained in this transmission is confidential and is
intended only for the use of the addressee(s). If you are not the
designated recipient of this transmission, please advise us immediately
by telephone (+34 935 942 347) and destroy any copies (digital and
paper).
==========================================================



More information about the Etherlab-users mailing list