[etherlab-users] netx50 AssignActive
Raz Ben Yehuda
rbenyehuda at manz.com
Wed Jun 20 10:37:41 CEST 2012
Hey
I am trying to launch etherlab master with netx50 slave example.
It appears that the slave is not getting any sync. so i tried to use
as depicted in the examples.
ecrt_slave_config_dc(sc_ana_in, 0x0700, 1000000, 440000, 0, 0);
but i do not have activeassign for hilscher netx.
xml does not produce any device-dc field ( see bellow )
I googled and i found this discussion:
http://lists.etherlab.org/pipermail/etherlab-users/2011/001199.html
$ ethercat xml
<?xml version="1.0" ?>
<EtherCATInfo>
<!-- Slave 0 -->
<Vendor>
<Id>3758096452</Id>
</Vendor>
<Descriptions>
<Devices>
<Device>
<Type ProductCode="#x0000001a" RevisionNo="#x00000000">netX50
LOM Demo Example Packet API</Type>
<Name><![CDATA[netX50 LOM Demo Example Packet API]]></Name>
<Sm Enable="1" StartAddress="#x1000" ControlByte="#x36"
DefaultSize="128" />
<Sm Enable="1" StartAddress="#x1080" ControlByte="#x32"
DefaultSize="128" />
<Sm Enable="1" StartAddress="#x1100" ControlByte="#x74"
DefaultSize="2" />
<Sm Enable="1" StartAddress="#x1358" ControlByte="#x30"
DefaultSize="2" />
<RxPdo Sm="2" Fixed="1" Mandatory="1">
<Index>#x1600</Index>
<Name>RxPDO 1</Name>
<Entry>
<Index>#x2003</Index>
<SubIndex>16</SubIndex>
<BitLen>16</BitLen>
<Name></Name>
<DataType>UINT16</DataType>
</Entry>
</RxPdo>
<TxPdo Sm="3" Fixed="1" Mandatory="1">
<Index>#x1a00</Index>
<Name>TxPDO 1</Name>
<Entry>
<Index>#x2003</Index>
<SubIndex>16</SubIndex>
<BitLen>16</BitLen>
<Name></Name>
<DataType>UINT16</DataType>
</Entry>
</TxPdo>
</Device>
</Devices>
</Descriptions>
</EtherCATInfo>
--
http://raziebe.wix.com/ironspeedlinux#!Home/mainPage
More information about the Etherlab-users
mailing list