[etherlab-users] ep2338

javier klm340 at hotmail.com
Thu Jun 5 02:22:29 CEST 2014


Hello,

I am a beginer and want start turning on a led in the EP2338 box from 
ethercat master command line.
Can somebody help me me?

here is the xml, thanks in advance
Javier




<?xml version="1.0" ?>
<EtherCATInfo>
   <!-- Slave 0 -->
   <Vendor>
     <Id>2</Id>
   </Vendor>
   <Descriptions>
     <Devices>
       <Device>
         <Type ProductCode="#x09224052" 
RevisionNo="#x00120001">EP2338-0001</Type>
         <Name><![CDATA[EP2338-0001 8 K. Dig. Ein-/Ausgang 24V, 0,5A, 
M8]]></Name>
         <Sm Enable="9" StartAddress="#xf00" ControlByte="#x44" 
DefaultSize="1" />
         <Sm Enable="1" StartAddress="#x1000" ControlByte="#x0" 
DefaultSize="1" />
         <RxPdo Sm="0" Fixed="1" Mandatory="1">
           <Index>#x1600</Index>
           <Name>Channel 9</Name>
           <Entry>
             <Index>#x7000</Index>
             <SubIndex>1</SubIndex>
             <BitLen>1</BitLen>
             <Name>Output</Name>
             <DataType>BOOL</DataType>
           </Entry>
         </RxPdo>
         <RxPdo Sm="0" Fixed="1" Mandatory="1">
           <Index>#x1601</Index>
           <Name>Channel 10</Name>
           <Entry>
             <Index>#x7010</Index>
             <SubIndex>1</SubIndex>
             <BitLen>1</BitLen>
             <Name>Output</Name>
             <DataType>BOOL</DataType>
           </Entry>
         </RxPdo>
         <RxPdo Sm="0" Fixed="1" Mandatory="1">
           <Index>#x1602</Index>
           <Name>Channel 11</Name>
           <Entry>
             <Index>#x7020</Index>
             <SubIndex>1</SubIndex>
             <BitLen>1</BitLen>
             <Name>Output</Name>
             <DataType>BOOL</DataType>
           </Entry>
         </RxPdo>
         <RxPdo Sm="0" Fixed="1" Mandatory="1">
           <Index>#x1603</Index>
           <Name>Channel 12</Name>
           <Entry>
             <Index>#x7030</Index>
             <SubIndex>1</SubIndex>
             <BitLen>1</BitLen>
             <Name>Output</Name>
             <DataType>BOOL</DataType>
           </Entry>
         </RxPdo>
         <RxPdo Sm="0" Fixed="1" Mandatory="1">
           <Index>#x1604</Index>
           <Name>Channel 13</Name>
           <Entry>
             <Index>#x7040</Index>
             <SubIndex>1</SubIndex>
             <BitLen>1</BitLen>
             <Name>Output</Name>
             <DataType>BOOL</DataType>
           </Entry>
         </RxPdo>
         <RxPdo Sm="0" Fixed="1" Mandatory="1">
           <Index>#x1605</Index>
           <Name>Channel 14</Name>
           <Entry>
             <Index>#x7050</Index>
             <SubIndex>1</SubIndex>
             <BitLen>1</BitLen>
             <Name>Output</Name>
             <DataType>BOOL</DataType>
           </Entry>
         </RxPdo>
         <RxPdo Sm="0" Fixed="1" Mandatory="1">
           <Index>#x1606</Index>
           <Name>Channel 15</Name>
           <Entry>
             <Index>#x7060</Index>
             <SubIndex>1</SubIndex>
             <BitLen>1</BitLen>
             <Name>Output</Name>
             <DataType>BOOL</DataType>
           </Entry>
         </RxPdo>
         <RxPdo Sm="0" Fixed="1" Mandatory="1">
           <Index>#x1607</Index>
           <Name>Channel 16</Name>
           <Entry>
             <Index>#x7070</Index>
             <SubIndex>1</SubIndex>
             <BitLen>1</BitLen>
             <Name>Output</Name>
             <DataType>BOOL</DataType>
           </Entry>
         </RxPdo>
         <TxPdo Sm="1" Fixed="1" Mandatory="1">
           <Index>#x1a00</Index>
           <Name>Channel 1</Name>
           <Entry>
             <Index>#x6000</Index>
             <SubIndex>1</SubIndex>
             <BitLen>1</BitLen>
             <Name>Input</Name>
             <DataType>BOOL</DataType>
           </Entry>
         </TxPdo>
         <TxPdo Sm="1" Fixed="1" Mandatory="1">
           <Index>#x1a01</Index>
           <Name>Channel 2</Name>
           <Entry>
             <Index>#x6010</Index>
             <SubIndex>1</SubIndex>
             <BitLen>1</BitLen>
             <Name>Input</Name>
             <DataType>BOOL</DataType>
           </Entry>
         </TxPdo>
         <TxPdo Sm="1" Fixed="1" Mandatory="1">
           <Index>#x1a02</Index>
           <Name>Channel 3</Name>
           <Entry>
             <Index>#x6020</Index>
             <SubIndex>1</SubIndex>
             <BitLen>1</BitLen>
             <Name>Input</Name>
             <DataType>BOOL</DataType>
           </Entry>
         </TxPdo>
         <TxPdo Sm="1" Fixed="1" Mandatory="1">
           <Index>#x1a03</Index>
           <Name>Channel 4</Name>
           <Entry>
             <Index>#x6030</Index>
             <SubIndex>1</SubIndex>
             <BitLen>1</BitLen>
             <Name>Input</Name>
             <DataType>BOOL</DataType>
           </Entry>
         </TxPdo>
         <TxPdo Sm="1" Fixed="1" Mandatory="1">
           <Index>#x1a04</Index>
           <Name>Channel 5</Name>
           <Entry>
             <Index>#x6040</Index>
             <SubIndex>1</SubIndex>
             <BitLen>1</BitLen>
             <Name>Input</Name>
             <DataType>BOOL</DataType>
           </Entry>
         </TxPdo>
         <TxPdo Sm="1" Fixed="1" Mandatory="1">
           <Index>#x1a05</Index>
           <Name>Channel 6</Name>
           <Entry>
             <Index>#x6050</Index>
             <SubIndex>1</SubIndex>
             <BitLen>1</BitLen>
             <Name>Input</Name>
             <DataType>BOOL</DataType>
           </Entry>
         </TxPdo>
         <TxPdo Sm="1" Fixed="1" Mandatory="1">
           <Index>#x1a06</Index>
           <Name>Channel 7</Name>
           <Entry>
             <Index>#x6060</Index>
             <SubIndex>1</SubIndex>
             <BitLen>1</BitLen>
             <Name>Input</Name>
             <DataType>BOOL</DataType>
           </Entry>
         </TxPdo>
         <TxPdo Sm="1" Fixed="1" Mandatory="1">
           <Index>#x1a07</Index>
           <Name>Channel 8</Name>
           <Entry>
             <Index>#x6070</Index>
             <SubIndex>1</SubIndex>
             <BitLen>1</BitLen>
             <Name>Input</Name>
             <DataType>BOOL</DataType>
           </Entry>
         </TxPdo>
       </Device>
     </Devices>
   </Descriptions>
</EtherCATInfo>






More information about the Etherlab-users mailing list