I recently added a couple more slaves now I am getting errors for subindex.
I am using the latest code from August on a PowerPC.  Before I added slaves 
4 and 5
there were no error messages.  Here are the messages I get.  Followed by the 
xml output



EtherCAT: Link state changed to UP.
EtherCAT: 6 slave(s) responding.
EtherCAT: Slave states: PREOP.
EtherCAT: Scanning bus.

EtherCAT ERROR: SDO upload 0x1C13:01 aborted on slave 4.
EtherCAT ERROR: SDO abort message 0x06090011: "Subindex does not exist".
EtherCAT ERROR: Failed to read index of assigned PDO 1 from SM3.
EtherCAT: Bus scanning completed in 605 ms.
EtherCAT ERROR: SDO information error response at slave 5 while fetching SDO 
entry 0x1801:07!
EtherCAT ERROR: SDO abort message 0x06090011: "Subindex does not exist".




<?xml version="1.0" ?>
<EtherCATInfoList>
  <EtherCATInfo>
    <!-- Slave 0 -->
    <Vendor>
      <Id>2</Id>
    </Vendor>
    <Descriptions>
      <Devices>
        <Device>
          <Type ProductCode="#x04570862" RevisionNo="#x01f4008e">FB1111 Dig. 
Out</Type>
          <Name><![CDATA[FB1111 32 Ch. Dig. Output 2xMII]]></Name>
          <Sm Enable="9" StartAddress="3840" ControlByte="68" 
DefaultSize="0" />
          <Sm Enable="1" StartAddress="3841" ControlByte="68" 
DefaultSize="0" />
          <Sm Enable="1" StartAddress="3842" ControlByte="68" 
DefaultSize="0" />
          <Sm Enable="1" StartAddress="3843" ControlByte="68" 
DefaultSize="0" />
          <RxPdo Sm="0" Fixed="1" Mandatory="1">
            <Index>#x1a00</Index>
            <Name>Byte 0</Name>
            <Entry>
              <Index>#x3101</Index>
              <SubIndex>1</SubIndex>
              <BitLen>8</BitLen>
              <Name>Output</Name>
              <DataType>UINT8</DataType>
            </Entry>
          </RxPdo>
          <RxPdo Sm="1" Fixed="1" Mandatory="1">
            <Index>#x1a01</Index>
            <Name>Byte 1</Name>
            <Entry>
              <Index>#x3101</Index>
              <SubIndex>2</SubIndex>
              <BitLen>8</BitLen>
              <Name>Output</Name>
              <DataType>UINT8</DataType>
            </Entry>
          </RxPdo>
          <RxPdo Sm="2" Fixed="1" Mandatory="1">
            <Index>#x1a02</Index>
            <Name>Byte 2</Name>
            <Entry>
              <Index>#x3101</Index>
              <SubIndex>3</SubIndex>
              <BitLen>8</BitLen>
              <Name>Output</Name>
              <DataType>UINT8</DataType>
            </Entry>
          </RxPdo>
          <RxPdo Sm="3" Fixed="1" Mandatory="1">
            <Index>#x1a03</Index>
            <Name>Byte 3</Name>
            <Entry>
              <Index>#x3101</Index>
              <SubIndex>4</SubIndex>
              <BitLen>8</BitLen>
              <Name>Output</Name>
              <DataType>UINT8</DataType>
            </Entry>
          </RxPdo>
        </Device>
      </Devices>
    </Descriptions>
  </EtherCATInfo>
  <EtherCATInfo>
    <!-- Slave 1 -->
    <Vendor>
      <Id>2</Id>
    </Vendor>
    <Descriptions>
      <Devices>
        <Device>
          <Type ProductCode="#x044c2c52" 
RevisionNo="#x00110000">EK1100</Type>
          <Name><![CDATA[EK1100 EtherCAT-Koppler (2A E-Bus)]]></Name>
        </Device>
      </Devices>
    </Descriptions>
  </EtherCATInfo>
  <EtherCATInfo>
    <!-- Slave 2 -->
    <Vendor>
      <Id>2</Id>
    </Vendor>
    <Descriptions>
      <Devices>
        <Device>
          <Type ProductCode="#x03f03052" 
RevisionNo="#x00100000">EL1008</Type>
          <Name><![CDATA[EL1008 8Ch. Dig. Input 24V, 3ms]]></Name>
          <Sm Enable="1" StartAddress="4096" ControlByte="0" DefaultSize="1" 
/>
          <TxPdo Sm="0" 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="0" 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="0" 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="0" 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="0" 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="0" 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="0" 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="0" 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>
  <EtherCATInfo>
    <!-- Slave 3 -->
    <Vendor>
      <Id>2</Id>
    </Vendor>
    <Descriptions>
      <Devices>
        <Device>
          <Type ProductCode="#x07d23052" 
RevisionNo="#x00100000">EL2002</Type>
          <Name><![CDATA[EL2002 2Ch. Dig. Output 24V, 0.5A]]></Name>
          <Sm Enable="9" StartAddress="3840" ControlByte="68" 
DefaultSize="0" />
          <RxPdo Sm="0" Fixed="1" Mandatory="1">
            <Index>#x1600</Index>
            <Name>Channel 1</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 2</Name>
            <Entry>
              <Index>#x7010</Index>
              <SubIndex>1</SubIndex>
              <BitLen>1</BitLen>
              <Name>Output</Name>
              <DataType>BOOL</DataType>
            </Entry>
          </RxPdo>
        </Device>
      </Devices>
    </Descriptions>
  </EtherCATInfo>
  <EtherCATInfo>
    <!-- Slave 4 -->
    <Vendor>
      <Id>2</Id>
    </Vendor>
    <Descriptions>
      <Devices>
        <Device>
          <Type ProductCode="#x0fa13052" 
RevisionNo="#x00100000">EL4001</Type>
          <Name><![CDATA[EL4001 1K. Ana. Ausgang 0-10V, 12bit]]></Name>
          <Sm Enable="1" StartAddress="4096" ControlByte="38" 
DefaultSize="128" />
          <Sm Enable="1" StartAddress="4224" ControlByte="34" 
DefaultSize="128" />
          <Sm Enable="1" StartAddress="4352" ControlByte="36" 
DefaultSize="2" />
          <Sm Enable="0" StartAddress="4480" ControlByte="32" 
DefaultSize="0" />
          <RxPdo Sm="2" Fixed="1" Mandatory="1">
            <Index>#x1600</Index>
            <Name>RxPDO-Map OutputsCh.1</Name>
            <Entry>
              <Index>#x7000</Index>
              <SubIndex>1</SubIndex>
              <BitLen>16</BitLen>
              <Name>Analog output</Name>
              <DataType>UINT16</DataType>
            </Entry>
          </RxPdo>
        </Device>
      </Devices>
    </Descriptions>
  </EtherCATInfo>
  <EtherCATInfo>
    <!-- Slave 5 -->
    <Vendor>
      <Id>2</Id>
    </Vendor>
    <Descriptions>
      <Devices>
        <Device>
          <Type ProductCode="#x0bf53052" 
RevisionNo="#x00100000">EL3061</Type>
          <Name><![CDATA[EL3061 1K.Ana. Eingang 0-10V]]></Name>
          <Sm Enable="1" StartAddress="4096" ControlByte="38" 
DefaultSize="128" />
          <Sm Enable="1" StartAddress="4224" ControlByte="34" 
DefaultSize="128" />
          <Sm Enable="0" StartAddress="4352" ControlByte="4" DefaultSize="0" 
/>
          <Sm Enable="1" StartAddress="4480" ControlByte="32" 
DefaultSize="4" />
          <TxPdo Sm="3" Fixed="1" Mandatory="1">
            <Index>#x1a00</Index>
            <Name></Name>
            <Entry>
              <Index>#x6000</Index>
              <SubIndex>1</SubIndex>
              <BitLen>1</BitLen>
              <Name></Name>
              <DataType>BOOL</DataType>
            </Entry>
            <Entry>
              <Index>#x6000</Index>
              <SubIndex>2</SubIndex>
              <BitLen>1</BitLen>
              <Name></Name>
              <DataType>BOOL</DataType>
            </Entry>
            <Entry>
              <Index>#x6000</Index>
              <SubIndex>3</SubIndex>
              <BitLen>2</BitLen>
              <Name></Name>
              <DataType></DataType>
            </Entry>
            <Entry>
              <Index>#x6000</Index>
              <SubIndex>5</SubIndex>
              <BitLen>2</BitLen>
              <Name></Name>
              <DataType></DataType>
            </Entry>
            <Entry>
              <Index>#x6000</Index>
              <SubIndex>7</SubIndex>
              <BitLen>1</BitLen>
              <Name></Name>
              <DataType>BOOL</DataType>
            </Entry>
            <Entry>
              <Index>#x0000</Index>
              <BitLen>1</BitLen>
            </Entry>
            <Entry>
              <Index>#x0000</Index>
              <BitLen>5</BitLen>
            </Entry>
            <Entry>
              <Index>#x1800</Index>
              <SubIndex>7</SubIndex>
              <BitLen>1</BitLen>
              <Name></Name>
              <DataType>BOOL</DataType>
            </Entry>
            <Entry>
              <Index>#x1800</Index>
              <SubIndex>9</SubIndex>
              <BitLen>1</BitLen>
              <Name></Name>
              <DataType>BOOL</DataType>
            </Entry>
            <Entry>
              <Index>#x0000</Index>
              <BitLen>1</BitLen>
            </Entry>
            <Entry>
              <Index>#x6000</Index>
              <SubIndex>17</SubIndex>
              <BitLen>16</BitLen>
              <Name></Name>
              <DataType>UINT16</DataType>
            </Entry>
          </TxPdo>
        </Device>
      </Devices>
    </Descriptions>
  </EtherCATInfo>
</EtherCATInfoList>




**********************************************************
Outbound scan for Spam or Virus by Barracuda at Delta Tau
**********************************************************
_______________________________________________
etherlab-users mailing list
etherlab-users@etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users

Reply via email to