02-24-2015 01:33 AM
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?
02-24-2015 03:57 AM
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.
02-24-2015 04:03 AM