Hi all,
 
I'm a bloody EtherCAT newbie and I'd like to implement a simple
application, which communicates with the NXIO 100-RE board, which has 16
digital in-/ and outputs. Via the ethercat utility I exported the slave
configuration to XML (see attachment) and I tried to adapt the user
example, to communicate with the board - without any succes right now.
 
Could anyony give me some hints, how I have to proceed?
 
thanks,
Clemens

Important Notice:
This electronic transmission (including any attachments) is intended solely for 
the use and information
of the addressee(s). It may contain confidential or legally privileged 
information. Any unauthorized use
or disclosure of this message is strictly prohibited.If you are not the 
intended recipient, please notify
the sender immediately and delete the message and its attachments.
The sender does not guarantee the integrity of this transmission and shall 
therefore never be liable if
the message is altered or falsified nor for any virus, interception or damage 
to your system.

<?xml version="1.0" ?>
  <EtherCATInfo>
    <!-- Slave 0 -->
    <Vendor>
      <Id>68</Id>
    </Vendor>
    <Descriptions>
      <Devices>
        <Device>
          <Type ProductCode="#x00000002" RevisionNo="#x00010000">NXIO 100-RE</Type>
          <Name><![CDATA[NXIO 100-RE]]></Name>
          <Sm Enable="1" StartAddress="4096" ControlByte="54" DefaultSize="128" />
          <Sm Enable="1" StartAddress="4224" ControlByte="50" DefaultSize="128" />
          <Sm Enable="1" StartAddress="4352" ControlByte="116" DefaultSize="4" />
          <Sm Enable="1" StartAddress="4952" ControlByte="48" DefaultSize="4" />
          <RxPdo Sm="2" Fixed="1" Mandatory="1">
            <Index>#x1600</Index>
            <Name></Name>
            <Entry>
              <Index>#x2004</Index>
              <SubIndex>32</SubIndex>
              <BitLen>3</BitLen>
              <Name></Name>
              <DataType></DataType>
            </Entry>
          </RxPdo>
          <TxPdo Sm="3" Fixed="1" Mandatory="1">
            <Index>#x1a00</Index>
            <Name></Name>
            <Entry>
              <Index>#x2007</Index>
              <SubIndex>32</SubIndex>
              <BitLen>3</BitLen>
              <Name></Name>
              <DataType></DataType>
            </Entry>
          </TxPdo>
        </Device>
     </Devices>
  </Descriptions>
</EtherCATInfo>

Attachment: main.cpp
Description: main.cpp

_______________________________________________
etherlab-users mailing list
[email protected]
http://lists.etherlab.org/mailman/listinfo/etherlab-users

Reply via email to