Please post<br>
- EtherLab version: is not installed. (graphical interface is not used).<br>
- EtherCAT master version: 1.4.0<br>
- EtherCAT master logs containing the exact error message (after setting 'ethercat debug 1' and loading your application).<br>Two different proves:<br>1. Using the user command interface. Trying to pass the slave in OP states using: /opt/etherlab/bin/ethercat states OP. And correspoonds to the master logs: "ethercat.log" (File attached).<br>
2. Using a application "mini.c". And corresponds to the master log: etherlab.log1.<br> <br>
- Output of 'ethercat slave -p<your-slave> -v'<br>=== Slave 0 ===<br>Alias: 5<br>State: PREOP<br>Flag: +<br>Identity:<br> Vendor Id: 0x00000002<br> Product code: 0x26483052<br> Revision number: 0x00000064<br>
Serial number: 0x00000000<br>Mailboxes:<br> RX: 0x1000/128, TX: 0x1400/128<br> Supported protocols: EoE, CoE, FoE<br>General:<br> Group: EvaBoardDemo<br> Image name: DEVICE<br> Order number: EL9800-0100<br> Device name: EL9800 (V4.08) (SPI, ET1100)<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: 0 mA<br><br><br>
- Output of 'ethercat pdos -p<your-slave> -v'<br><br>SM0: PhysAddr 0x1000, DefaultSize 128, ControlRegister 0x26, Enable 1<br>SM1: PhysAddr 0x1400, DefaultSize 128, ControlRegister 0x22, Enable 1<br>SM2: PhysAddr 0x1800, DefaultSize 2, ControlRegister 0x24, Enable 1<br>
RxPDO 0x1601 "DO RxPDO-Map"<br> PDO entry 0x7010:01, 1 bit, "LED 1"<br> PDO entry 0x7010:02, 1 bit, "LED 2"<br> PDO entry 0x7010:03, 1 bit, "LED 3"<br> PDO entry 0x7010:04, 1 bit, "LED 4"<br>
PDO entry 0x0000:00, 12 bit, "Gap"<br>SM3: PhysAddr 0x1c00, DefaultSize 6, ControlRegister 0x20, Enable 1<br> TxPDO 0x1a00 "DI TxPDO-Map"<br> PDO entry 0x6000:01, 1 bit, "Switch 1"<br>
PDO entry 0x6000:02, 1 bit, "Switch 2"<br> PDO entry 0x6000:03, 1 bit, "Switch 3"<br> PDO entry 0x6000:04, 1 bit, "Switch 4"<br> PDO entry 0x0000:00, 12 bit, "Gap"<br>
TxPDO 0x1a02 "AI TxPDO-Map"<br> PDO entry 0x6020:01, 1 bit, "Underrange"<br> PDO entry 0x6020:02, 1 bit, "Overrange"<br> PDO entry 0x6020:03, 2 bit, "Limit 1"<br> PDO entry 0x6020:05, 2 bit, "Limit 2"<br>
PDO entry 0x0000:00, 8 bit, "Gap"<br> PDO entry 0x1802:07, 1 bit, ""<br> PDO entry 0x1802:09, 1 bit, ""<br> PDO entry 0x6020:11, 16 bit, "Analog input"<br><br><br>Following the PIC debbug tool we identified that the problem could be that the space memory according sync manager it's empty (0x0810:0x081F). We figurated out that the master didn't write the data of those SyncManager (SM2 and SM3). <br clear="all">
<br>-- <br>Edgar Camilo Garzon Coral<br>Studente Politecnico di Torino<br>Laurea Specialistica Ingegneria Elettronica<br>Cel. +39 320 2979984<br><a href="mailto:edgarcgarzon@gmail.com">edgarcgarzon@gmail.com</a><br><a href="mailto:s145329@studenti.polito.it">s145329@studenti.polito.it</a><br>