LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

No SDO Communication Using CAN over EtherCAT (CoE) with 3rd Party Slave

Hi,

 

how did you edit the XML? As in your description I established the control/statusword variables but none other.

 

<RxPdo Mandatory="1" Sm="2">
          <Index>#x1600</Index>
          <Name>Outputs</Name>
          <Entry>
            <Index>#x6040</Index>
            <SubIndex>0</SubIndex>
            <BitLen>16</BitLen>
            <Name>controlword</Name>
            <DataType>UINT</DataType>
          </Entry>
        </RxPdo>
        <TxPdo Mandatory="1" Sm="3">
          <Index>#x1A00</Index>
          <Name>Inputs</Name>
          <Entry>
            <Index>#x6041</Index>
            <SubIndex>0</SubIndex>
            <BitLen>16</BitLen>
            <Name>statusword</Name>
            <DataType>UINT</DataType>
          </Entry>
        </TxPdo>

 That's the code from my XML w/ the control- and statusword. Did you just add another from the list?

 

--
Regards

criomaxx
0 Kudos
Message 11 of 13
(1,415 Views)

Hi criomaxx

 

You need to use an XML-Editor to edit these XML-files. (XML- notepad http://www.microsoft.com/en-us/download/details.aspx?id=7973)

 

I can tell you what my coworker did:

 

in my attachment you can see a screenshot of my XML file.

 

there you can find these Sm options.

 

All parameters under Sm are active, the others aren't.

to add another parameter, you just add enother entry (copy any existing paste next to the others) and put in your desired parameter options.

 

We found these parameter options under "online device state" (right klick on EtherCAT slave) --> "parameter list"

 

you also have these RxPdo and TxPdo.
one of them is read, one write. you need to figure out by yourself, because it behaves different for each device.

 

I hope, I could help you with this.

0 Kudos
Message 12 of 13
(1,410 Views)
Thank's I will try that (unfortunately, in a few weeks).
--
Regards

criomaxx
0 Kudos
Message 13 of 13
(1,401 Views)