Hi,<br><br>thanks for the fast response.<br><br>I looked again at the Etherlab-Library but there wasn't a '*v2' for the EL4034. Just EL4102v2 and EL4132v2.<br><br>And
I also wondered that that there is an 'Ain' in the icon drawing of the
simulink-block. And also in the help for EL4xxx the block is declared
as Anlog Input but these Terminals are Analog Output.<br>
<br>Here are the ouptus of the command-line tool:<br><br>ethercat slaves -v:<br><br>=== Slave 0 ===<br>State: OP<br>Flag: +<br>Identity:<br> Vendor Id: 0x00000002<br> Product code: 0x044c2c52<br> Revision number: 0x00110000<br>
Serial number: 0x00000000<br>
DL information:<br> FMMU bit operation: no<br> Distributed clocks: yes, 64 bit<br> DC system time transmission delay: 0 ns<br>Port Type Link Loop Signal NextSlave RxTime [ns] Diff [ns] NextDc [ns]<br> 0 MII up open yes - 3347476394 0 0<br>
1 EBUS up open yes 1 3347477154 760 140<br> 2 MII down closed no - - - -<br> 3 N/A down closed no - - - -<br>
General:<br> Group: SystemBk<br> Image name: <br> Order number: EK1100<br> Device name: EK1100 EtherCAT-Koppler (2A E-Bus)<br> Flags:<br> Enable SafeOp: no<br> Enable notLRW: no<br> Current consumption: -2000 mA<br>
=== Slave 1 ===<br>State: OP<br>Flag: +<br>Identity:<br> Vendor Id: 0x00000002<br> Product code: 0x0fc23052<br> Revision number: 0x00100000<br> Serial number: 0x00000000<br>DL information:<br> FMMU bit operation: no<br>
Distributed clocks: yes, 64 bit<br> DC system time transmission delay: 140 ns<br>Port Type Link Loop Signal NextSlave RxTime [ns] Diff [ns] NextDc [ns]<br> 0 EBUS up open yes 0 3348914144 0 140<br>
1 EBUS up open yes 2 3348914624 480 0<br> 2 N/A down closed no - - - -<br> 3 N/C down closed no - - - -<br>
Mailboxes:<br> Bootstrap RX: 0x1000/244, TX: 0x10f4/244<br> Standard RX: 0x1000/128, TX: 0x1080/128<br> Supported protocols: CoE, FoE<br>General:<br> Group: AnaOut<br> Image name: <br> Order number: EL4034<br> Device name: EL4034 4K. Ana. Ausgang +/-10V, 12bit<br>
CoE details:<br> Enable SDO: yes<br> Enable SDO Info: yes<br> Enable PDO Assign: no<br> Enable PDO Configuration: no<br> Enable Upload at startup: no<br> Enable SDO complete access: no<br> Flags:<br>
Enable SafeOp: no<br>
Enable notLRW: no<br> Current consumption: 190 mA<br>=== Slave 2 ===<br>State: OP<br>Flag: +<br>Identity:<br> Vendor Id: 0x00000002<br> Product code: 0x0c1e3052<br> Revision number: 0x00000000<br> Serial number: 0x00000000<br>
DL information:<br> FMMU bit operation: no<br> Distributed clocks: no<br>Port Type Link Loop Signal NextSlave<br> 0 N/A down open yes 1<br> 1 N/A down open yes 3<br> 2 N/A down closed no -<br>
3 N/A down closed no -<br>Mailboxes:<br> Bootstrap RX: 0x1800/244, TX: 0x18f4/244<br> Standard RX: 0x1800/246, TX: 0x18f6/246<br> Supported protocols: CoE, FoE<br>General:<br> Group: AnaIn<br> Image name: <br>
Order number: EL3102<br> Device name: EL3102 2K. Ana. Eingang +/-10V, DIFF<br> CoE details:<br> Enable SDO: yes<br> Enable SDO Info: yes<br> Enable PDO Assign: yes<br> Enable PDO Configuration: yes<br> Enable Upload at startup: no<br>
Enable SDO complete access: no<br> Flags:<br> Enable SafeOp: no<br> Enable notLRW: no<br> Current consumption: 180 mA<br>=== Slave 3 ===<br>State: PREOP<br>Flag: +<br>Identity:<br> Vendor Id: 0x00000002<br>
Product code: 0x0c1e3052<br> Revision number: 0x00000000<br> Serial number: 0x00000000<br>DL information:<br> FMMU bit operation: no<br> Distributed clocks: no<br>Port Type Link Loop Signal NextSlave<br>
0 N/A down open yes 2<br> 1 N/A down closed no -<br> 2 N/A down closed no -<br> 3 N/A down closed no -<br>Mailboxes:<br> Bootstrap RX: 0x1800/244, TX: 0x18f4/244<br>
Standard RX: 0x1800/246, TX: 0x18f6/246<br> Supported protocols: CoE, FoE<br>General:<br> Group: AnaIn<br> Image name: <br> Order number: EL3102<br> Device name: EL3102 2K. Ana. Eingang +/-10V, DIFF<br> CoE details:<br>
Enable SDO: yes<br> Enable SDO Info: yes<br> Enable PDO Assign: yes<br> Enable PDO Configuration: yes<br> Enable Upload at startup: no<br> Enable SDO complete access: no<br> Flags:<br> Enable SafeOp: no<br>
Enable notLRW: no<br> Current consumption: 180 mA<br><br><br>ethercat pdos -v:<br><br>=== Slave 0 ===<br>=== Slave 1 ===<br>SM0: PhysAddr 0x1000, DefaultSize 128, ControlRegister 0x26, Enable 1<br>SM1: PhysAddr 0x1080, DefaultSize 128, ControlRegister 0x22, Enable 1<br>
SM2: PhysAddr 0x1100, DefaultSize 8, ControlRegister 0x24, Enable 1<br> RxPDO 0x1600 "RxPDO-Map OutputsCh.1"<br> PDO entry 0x7000:01, 16 bit, "Analog output"<br> RxPDO 0x1601 "RxPDO-Map OutputsCh.2"<br>
PDO entry 0x7010:01, 16 bit, "Analog output"<br> RxPDO 0x1602 "RxPDO-Map OutputsCh.3"<br> PDO entry 0x7020:01, 16 bit, "Analog output"<br> RxPDO 0x1603 "RxPDO-Map OutputsCh.4"<br>
PDO entry 0x7030:01, 16 bit, "Analog output"<br>SM3: PhysAddr 0x1180, DefaultSize 0, ControlRegister 0x20, Enable 0<br>=== Slave 2 ===<br>SM0: PhysAddr 0x1800, DefaultSize 246, ControlRegister 0x26, Enable 1<br>
SM1: PhysAddr 0x18f6, DefaultSize 246, ControlRegister 0x22, Enable 1<br>SM2: PhysAddr 0x1000, DefaultSize 0, ControlRegister 0x24, Enable 1<br>SM3: PhysAddr 0x1100, DefaultSize 0, ControlRegister 0x20, Enable 1<br>
TxPDO 0x1a00 "TxPDO 001 mapping"<br> PDO entry 0x3101:01, 8 bit, "Status"<br> PDO entry 0x3101:02, 16 bit, "Value"<br> TxPDO 0x1a01 "TxPDO 002 mapping"<br> PDO entry 0x3102:01, 8 bit, "Status"<br>
PDO entry 0x3102:02, 16 bit, "Value"<br>=== Slave 3 ===<br>SM0: PhysAddr 0x1800, DefaultSize 246, ControlRegister 0x26, Enable 1<br>SM1: PhysAddr 0x18f6, DefaultSize 246, ControlRegister 0x22, Enable 1<br>
SM2: PhysAddr 0x1000, DefaultSize 0, ControlRegister 0x24, Enable 1<br>SM3: PhysAddr 0x1100, DefaultSize 0, ControlRegister 0x20, Enable 1<br> TxPDO 0x1a00 "TxPDO 001 mapping"<br> PDO entry 0x3101:01, 8 bit, "Status"<br>
PDO entry 0x3101:02, 16 bit, "Value"<br> TxPDO 0x1a01 "TxPDO 002 mapping"<br> PDO entry 0x3102:01, 8 bit, "Status"<br> PDO entry 0x3102:02, 16 bit, "Value"<br>=== Slave 0 ===<br>
=== Slave 1 ===<br>SM0: PhysAddr 0x1000, DefaultSize 128, ControlRegister 0x26, Enable 1<br>SM1: PhysAddr 0x1080, DefaultSize 128, ControlRegister 0x22, Enable 1<br>SM2: PhysAddr 0x1100, DefaultSize 8, ControlRegister 0x24, Enable 1<br>
RxPDO 0x1600 "RxPDO-Map OutputsCh.1"<br> PDO entry 0x7000:01, 16 bit, "Analog output"<br> RxPDO 0x1601 "RxPDO-Map OutputsCh.2"<br> PDO entry 0x7010:01, 16 bit, "Analog output"<br>
RxPDO 0x1602 "RxPDO-Map OutputsCh.3"<br> PDO entry 0x7020:01, 16 bit, "Analog output"<br> RxPDO 0x1603 "RxPDO-Map OutputsCh.4"<br> PDO entry 0x7030:01, 16 bit, "Analog output"<br>
SM3: PhysAddr 0x1180, DefaultSize 0, ControlRegister 0x20, Enable 0<br>=== Slave 2 ===<br>SM0: PhysAddr 0x1800, DefaultSize 246, ControlRegister 0x26, Enable 1<br>SM1: PhysAddr 0x18f6, DefaultSize 246, ControlRegister 0x22, Enable 1<br>
SM2: PhysAddr 0x1000, DefaultSize 0, ControlRegister 0x24, Enable 1<br>SM3: PhysAddr 0x1100, DefaultSize 0, ControlRegister 0x20, Enable 1<br> TxPDO 0x1a00 "TxPDO 001 mapping"<br> PDO entry 0x3101:01, 8 bit, "Status"<br>
PDO entry 0x3101:02, 16 bit, "Value"<br> TxPDO 0x1a01 "TxPDO 002 mapping"<br> PDO entry 0x3102:01, 8 bit, "Status"<br> PDO entry 0x3102:02, 16 bit, "Value"<br>=== Slave 3 ===<br>
SM0: PhysAddr 0x1800, DefaultSize 246, ControlRegister 0x26, Enable 1<br>SM1: PhysAddr 0x18f6, DefaultSize 246, ControlRegister 0x22, Enable 1<br>SM2: PhysAddr 0x1000, DefaultSize 0, ControlRegister 0x24, Enable 1<br>
SM3: PhysAddr 0x1100, DefaultSize 0, ControlRegister 0x20, Enable 1<br> TxPDO 0x1a00 "TxPDO 001 mapping"<br> PDO entry 0x3101:01, 8 bit, "Status"<br> PDO entry 0x3101:02, 16 bit, "Value"<br>
TxPDO 0x1a01 "TxPDO 002 mapping"<br> PDO entry 0x3102:01, 8 bit, "Status"<br> PDO entry 0x3102:02, 16 bit, "Value"<br><br><br>ethercat config -v:<br><br>0:0 0x00000002/0x044c2c52 0 OP <br>
0:1 0x00000002/0x0fc23052 1 OP <br>0:2 0x00000002/0x0c1e3052 2 OP <br>Alias: 0<br>Position: 0<br>Vendor Id: 0x00000002<br>Product code: 0x044c2c52<br>Attached slave: 0 (OP)<br>SDO configuration:<br> None.<br><br>
Alias: 0<br>Position: 1<br>Vendor Id: 0x00000002<br>Product code: 0x0fc23052<br>Attached slave: 1 (OP)<br>SM2 (Output)<br> PDO 0x1600<br> PDO entry 0x7000:11, 16 bit<br> PDO 0x1601<br> PDO entry 0x7010:11, 16 bit<br>
PDO 0x1602<br> PDO entry 0x7020:11, 16 bit<br> PDO 0x1603<br> PDO entry 0x7030:11, 16 bit<br>SDO configuration:<br> None.<br>DC configuration:<br> AssignActivate: 0x0700<br> Cycle [ns] Shift [ns]<br>
SYNC0 0 0<br>
SYNC1 1000000 0<br><br>Alias: 0<br>Position: 2<br>Vendor Id: 0x00000002<br>Product code: 0x0c1e3052<br>Attached slave: 2 (OP)<br>SM3 (Input)<br> PDO 0x1a00<br> PDO entry 0x3101:01, 8 bit<br> PDO entry 0x3101:02, 16 bit<br>
PDO 0x1a01<br> PDO entry 0x3102:01, 8 bit<br> PDO entry 0x3102:02, 16 bit<br>SDO configuration:<br> None.<br><br>Thanks for your help!<br><br>Best regards,<br><font color="#888888"><br>Jannes Kloepfer</font>