LS L7N Servo drives standing INIT state

More
2 months 3 weeks ago #348466 by emresensoy
my DIGAN IO card (ER 12 DIG 4 ANA IO) is working without problem,
but servo drives standing INIT state and generates error,
what is the problem?
Code:
[code]emre@debian:~$ ethercat slaves 0  0:0  INIT   E  0x00007595:0x00000000 1  0:1  INIT   E  0x00007595:0x00000000 2  0:2  INIT   E  0x00007595:0x00000000 3  0:3  INIT   E  0x00007595:0x00000000 4  0:4  INIT   E  0x00007595:0x00000000 5  0:5  PREOP  +  ER 12 DIG 4 ANA IO 
[/code]
Code:
[code][code]emre@debian:~$ sudo dmesg | tail -n 30 [  538.497723] EtherCAT 0-1: Acknowledged state INIT. [  538.497724] EtherCAT 0-2: Acknowledged state INIT. [  538.497726] EtherCAT 0-3: Acknowledged state INIT. [  538.497727] EtherCAT 0-4: Acknowledged state INIT. [  538.499581] EtherCAT 0: Domain 0: Working counter changed to 2/18. [  538.529813] EtherCAT 0: Slave states on main device: INIT, OP. [  539.503585] EtherCAT 0: Domain 0: Working counter changed to 3/18. [  549.453683] EtherCAT 0: Master thread exited. [  549.453704] EtherCAT 0: Starting EtherCAT-IDLE thread (build-marker: lib-refclk-quiet-v16). [  549.453762] EtherCAT 0: Releasing master... [  549.453764] EtherCAT 0: Released. [  549.486309] EtherCAT 0: Slave states on main device: INIT, PREOP + ERROR. [  549.486318] EtherCAT ERROR 0-0: Failed to set PREOP state, slave refused state change (INIT + ERROR). [  549.486321] EtherCAT ERROR 0-1: Failed to set PREOP state, slave refused state change (INIT + ERROR). [  549.486322] EtherCAT ERROR 0-2: Failed to set PREOP state, slave refused state change (INIT + ERROR). [  549.486324] EtherCAT ERROR 0-3: Failed to set PREOP state, slave refused state change (INIT + ERROR). [  549.486326] EtherCAT ERROR 0-4: Failed to set PREOP state, slave refused state change (INIT + ERROR). [  549.490488] EtherCAT ERROR 0-0: AL status message 0x0016: "Invalid mailbox configuration". [  549.490493] EtherCAT ERROR 0-1: AL status message 0x0016: "Invalid mailbox configuration". [  549.490495] EtherCAT ERROR 0-2: AL status message 0x0016: "Invalid mailbox configuration". [  549.490497] EtherCAT ERROR 0-3: AL status message 0x0016: "Invalid mailbox configuration". [  549.490499] EtherCAT ERROR 0-4: AL status message 0x0016: "Invalid mailbox configuration". [  549.498600] EtherCAT 0-0: Acknowledged state INIT. [  549.498605] EtherCAT 0-1: Acknowledged state INIT. [  549.498606] EtherCAT 0-2: Acknowledged state INIT. [  549.498608] EtherCAT 0-3: Acknowledged state INIT. [  549.498609] EtherCAT 0-4: Acknowledged state INIT. [  549.517994] EtherCAT 0: Slave states on main device: INIT, PREOP. [  622.701268] warning: `Socket Thread' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211 [  809.225497] perf: interrupt took too long (3952 > 3950), lowering kernel.perf_event_max_sample_rate to 50500
[/code]
[/code]
Code:
emre@debian:~$ ethercat xml <?xml version="1.0" ?> <EtherCATInfoList>   <EtherCATInfo>     <!-- Slave 0 -->     <Vendor>       <Id>30101</Id>     </Vendor>     <Descriptions>       <Devices>         <Device>           <Type ProductCode="#x00000000" RevisionNo="#x00000002"></Type>         </Device>       </Devices>     </Descriptions>   </EtherCATInfo>   <EtherCATInfo>     <!-- Slave 1 -->     <Vendor>       <Id>30101</Id>     </Vendor>     <Descriptions>       <Devices>         <Device>           <Type ProductCode="#x00000000" RevisionNo="#x00000002"></Type>         </Device>       </Devices>     </Descriptions>   </EtherCATInfo>   <EtherCATInfo>     <!-- Slave 2 -->     <Vendor>       <Id>30101</Id>     </Vendor>     <Descriptions>       <Devices>         <Device>           <Type ProductCode="#x00000000" RevisionNo="#x00000002"></Type>         </Device>       </Devices>     </Descriptions>   </EtherCATInfo>   <EtherCATInfo>     <!-- Slave 3 -->     <Vendor>       <Id>30101</Id>     </Vendor>     <Descriptions>       <Devices>         <Device>           <Type ProductCode="#x00000000" RevisionNo="#x00000002"></Type>         </Device>       </Devices>     </Descriptions>   </EtherCATInfo>   <EtherCATInfo>     <!-- Slave 4 -->     <Vendor>       <Id>30101</Id>     </Vendor>     <Descriptions>       <Devices>         <Device>           <Type ProductCode="#x00000000" RevisionNo="#x00000002"></Type>         </Device>       </Devices>     </Descriptions>   </EtherCATInfo>   <EtherCATInfo>     <!-- Slave 5 -->     <Vendor>       <Id>1640067</Id>     </Vendor>     <Descriptions>       <Devices>         <Device>           <Type ProductCode="#x00000002" RevisionNo="#x00000002">ER 12 DIG 4 ANA IO </Type>           <Name><![CDATA[ER 12 DIG 4 ANA IO ]]></Name>           <Sm Enable="1" StartAddress="#x1000" ControlByte="#x64" DefaultSize="0" />           <Sm Enable="1" StartAddress="#x1200" ControlByte="#x20" DefaultSize="0" />           <RxPdo Sm="0" Fixed="1" Mandatory="1">             <Index>#x1600</Index>             <Name>Outputs</Name>             <Entry>               <Index>#x0005</Index>               <SubIndex>1</SubIndex>               <BitLen>32</BitLen>               <Name>DAC1</Name>               <DataType>UINT32</DataType>             </Entry>             <Entry>               <Index>#x0005</Index>               <SubIndex>2</SubIndex>               <BitLen>32</BitLen>               <Name>DAC2</Name>               <DataType>UINT32</DataType>             </Entry>             <Entry>               <Index>#x0005</Index>               <SubIndex>3</SubIndex>               <BitLen>32</BitLen>               <Name>DAC3</Name>               <DataType>UINT32</DataType>             </Entry>             <Entry>               <Index>#x0005</Index>               <SubIndex>4</SubIndex>               <BitLen>32</BitLen>               <Name>DAC4</Name>               <DataType>UINT32</DataType>             </Entry>             <Entry>               <Index>#x0005</Index>               <SubIndex>5</SubIndex>               <BitLen>16</BitLen>               <Name>Output</Name>               <DataType>UINT16</DataType>             </Entry>           </RxPdo>           <TxPdo Sm="1" Fixed="1" Mandatory="1">             <Index>#x1a00</Index>             <Name>Inputs</Name>             <Entry>               <Index>#x0006</Index>               <SubIndex>1</SubIndex>               <BitLen>32</BitLen>               <Name>V1</Name>               <DataType>UINT32</DataType>             </Entry>             <Entry>               <Index>#x0006</Index>               <SubIndex>2</SubIndex>               <BitLen>32</BitLen>               <Name>V2</Name>               <DataType>UINT32</DataType>             </Entry>             <Entry>               <Index>#x0006</Index>               <SubIndex>3</SubIndex>               <BitLen>32</BitLen>               <Name>V3</Name>               <DataType>UINT32</DataType>             </Entry>             <Entry>               <Index>#x0006</Index>               <SubIndex>4</SubIndex>               <BitLen>32</BitLen>               <Name>V4</Name>               <DataType>UINT32</DataType>             </Entry>             <Entry>               <Index>#x0006</Index>               <SubIndex>5</SubIndex>               <BitLen>16</BitLen>               <Name>Input</Name>               <DataType>UINT16</DataType>             </Entry>           </TxPdo>         </Device>       </Devices>     </Descriptions>   </EtherCATInfo> </EtherCATInfoList>
Code:
[code] 
[/code]

Please Log in to join the conversation.

More
2 months 3 weeks ago #348496 by emresensoy
I installed linuxcnc 2.9.4
and problem solved,
lol

Please Log in to join the conversation.

Time to create page: 0.081 seconds
Powered by Kunena Forum