Hello,
i am new to ethercat and linux.
But up to now i have installed IgH EtherCAT Master 1.5.2.
I have started ethercat master in the terminal with the gineric linux driver.
The networkleds are blinking and the statemachine is in the state: PREOP
But wehn i try to change to SAFEOP or to OP then the Slave gets the an Fieldbuserror with the wrong length.
I use a Kollmorgen Servostar 30361-NA with Ethercatmodul. Tho the Drive im am connected via RS232 with a Windowsnotebook an the Kollmorgen Drivesetupsoftware. Here i can see the AL-Controlword and AL-Statusword.
My assumption is that my mapping is wrong.
Here is the xml output from the comandlinetool:
Code:
<?xml version="1.0" ?>
<EtherCATInfo>
<!-- Slave 0 -->
<Vendor>
<Id>106</Id>
</Vendor>
<Descriptions>
<Devices>
<Device>
<Type ProductCode="#x03000600" RevisionNo="#x00000001">S300_S400_S600_S700</Type>
<Name><![CDATA[S300/S400/S600/S700 EtherCAT Drive (CoE)]]></Name>
<Sm Enable="1" StartAddress="#x1800" ControlByte="#x26" DefaultSize="512" />
<Sm Enable="1" StartAddress="#x1c00" ControlByte="#x22" DefaultSize="512" />
<Sm Enable="1" StartAddress="#x1100" ControlByte="#x24" DefaultSize="0" />
<Sm Enable="1" StartAddress="#x1140" ControlByte="#x20" DefaultSize="0" />
<RxPdo Sm="2" Fixed="1" Mandatory="1">
<Index>#x1702</Index>
<Name></Name>
<Entry>
<Index>#x606b</Index>
<SubIndex>0</SubIndex>
<BitLen>32</BitLen>
<Name></Name>
<DataType>UINT32</DataType>
</Entry>
<Entry>
<Index>#x6040</Index>
<SubIndex>0</SubIndex>
<BitLen>16</BitLen>
<Name></Name>
<DataType>UINT16</DataType>
</Entry>
</RxPdo>
<TxPdo Sm="3" Fixed="1" Mandatory="1">
<Index>#x1b01</Index>
<Name></Name>
<Entry>
<Index>#x6064</Index>
<SubIndex>0</SubIndex>
<BitLen>32</BitLen>
<Name></Name>
<DataType>UINT32</DataType>
</Entry>
<Entry>
<Index>#x6041</Index>
<SubIndex>0</SubIndex>
<BitLen>16</BitLen>
<Name></Name>
<DataType>UINT16</DataType>
</Entry>
</TxPdo>
</Device>
</Devices>
</Descriptions>
</EtherCATInfo>
i am using this doc :
etherlab.org/download/ethercat/ethercat-1.5.2.pdf
and the attached Kollmorgen Ethercatdocument
on page 52 of ethercat-1.5.2.pdf is the SDO download described.
But i don´t know how to download the attached S300 xml.
Can someone help me?
Thanks a lot
Christian