[etherlab-users] EL6692 pdo entries
Westpfahl Jasper
Jasper.Westpfahl-projekt at ipk.fraunhofer.de
Tue Apr 19 14:07:00 CEST 2011
Hello,
I'm trying to send data from a windows twincat master to an ethercat master made in simulink with the etherlab target. I'm using a EL6692 bridge and have configured it using two windows machines with twincat. twincat -> twincat data transfer works. I have problems on linux though. I don't "see" the pdo entries that I configured. In the twincat software I can see them in the process data tab of the EL6692.
The interesting pdo entries should be below TxPDO 0x1a00 "TxPDO-Map", but they aren't.
when I type:
ethercat pdo
I get:
=== Master 0, Slave 1 ===
SM0: PhysAddr 0x1000, DefaultSize 256, ControlRegister 0x26, Enable 1
SM1: PhysAddr 0x1100, DefaultSize 256, ControlRegister 0x22, Enable 1
SM2: PhysAddr 0x1200, DefaultSize 0, ControlRegister 0x24, Enable 1
RxPDO 0x1600 "RxPDO-Map"
SM3: PhysAddr 0x1800, DefaultSize 20, ControlRegister 0x20, Enable 1
TxPDO 0x1a01 "TxPDO-Map External Sync Compact"
PDO entry 0x10f4:02, 2 bit, "SubIndex 002"
PDO entry 0x0000:00, 6 bit, ""
PDO entry 0x0000:00, 3 bit, ""
PDO entry 0x1800:09, 1 bit, "TxPDO toggle"
PDO entry 0x1800:07, 1 bit, "TxPDO state"
PDO entry 0x10f4:0e, 1 bit, "Control value update toggle"
PDO entry 0x10f4:0f, 1 bit, "Time stamp update toggle"
PDO entry 0x10f4:10, 1 bit, "External device not connected"
TxPDO 0x1a00 "TxPDO-Map"
what I would expect is something like this (note the last three lines):
=== Master 0, Slave 1 ===
SM0: PhysAddr 0x1000, DefaultSize 256, ControlRegister 0x26, Enable 1
SM1: PhysAddr 0x1100, DefaultSize 256, ControlRegister 0x22, Enable 1
SM2: PhysAddr 0x1200, DefaultSize 0, ControlRegister 0x24, Enable 1
RxPDO 0x1600 "RxPDO-Map"
SM3: PhysAddr 0x1800, DefaultSize 20, ControlRegister 0x20, Enable 1
TxPDO 0x1a01 "TxPDO-Map External Sync Compact"
PDO entry 0x10f4:02, 2 bit, "SubIndex 002"
PDO entry 0x0000:00, 6 bit, ""
PDO entry 0x0000:00, 3 bit, ""
PDO entry 0x1800:09, 1 bit, "TxPDO toggle"
PDO entry 0x1800:07, 1 bit, "TxPDO state"
PDO entry 0x10f4:0e, 1 bit, "Control value update toggle"
PDO entry 0x10f4:0f, 1 bit, "Time stamp update toggle"
PDO entry 0x10f4:10, 1 bit, "External device not connected"
TxPDO 0x1a00 "TxPDO-Map"
PDO entry 0x6000:01, 64 bit, "Var 43"
PDO entry 0x6000:02, 64 bit, "Var 44"
PDO entry 0x6000:03, 64 bit, "Var 45"
I Also need an xml file for the simulink Block. I tried to generate it with
ethercat xml -p1 > EL6692.xml
but of course the important pdo entries don't show up in that file.
can anybody help me?
Best regards
Jasper Westpfahl
More information about the Etherlab-users
mailing list