[etherlab-users] EL6692 connector

jasper2 at gmx.net jasper2 at gmx.net
Thu Nov 21 09:54:01 CET 2013


Hello Richard,

Yes I have added the product code and revision numbers in the xml and in the generic block mask in Simulink.
<Type ProductCode="#x1a243052" RevisionNo="#x00100000">EL6692</Type>

The command below shows all my pdo, whereas ethercat -p9 pdo only shows TxPDO. Why are the two commands showing me such different information?

Best Regards,
Jasper

# ethercat config -v -p9

Alias: 0                                                            
Position: 9                                                         
Vendor Id: 0x00000002                                               
Product code: 0x1a243052                                            
Attached slave: 9 (OP)                                              
Watchdog divider: (Default)                                         
Watchdog intervals: (Default)                                       
SM2, Dir: Output, Watchdog: Default                                 
  PDO 0x1600                                                        
    PDO entry 0x7000:01, 64 bit
    PDO entry 0x7000:02, 64 bit
    PDO entry 0x7000:03, 64 bit
    PDO entry 0x0000:00,  8 bit
    PDO entry 0x0000:00,  5 bit
    PDO entry 0x7000:04,  1 bit
    PDO entry 0x7000:05,  1 bit
    PDO entry 0x7000:06,  1 bit
SM3, Dir: Input, Watchdog: Default
  PDO 0x1a03
    PDO entry 0x10f4:02,  2 bit
    PDO entry 0x0000:00,  6 bit
    PDO entry 0x0000:00,  3 bit
    PDO entry 0x1800:09,  1 bit
    PDO entry 0x1800:07,  1 bit
    PDO entry 0x10f4:0e,  1 bit
    PDO entry 0x10f4:0f,  1 bit
    PDO entry 0x10f4:0a,  1 bit
    PDO entry 0x10f4:0b, 32 bit
    PDO entry 0x10f4:0c, 32 bit
    PDO entry 0x10f4:0d, 32 bit
  PDO 0x1a00
    PDO entry 0x6000:01, 32 bit
    PDO entry 0x6000:02, 32 bit
    PDO entry 0x6000:03, 64 bit
    PDO entry 0x6000:04, 64 bit
    PDO entry 0x6000:05, 64 bit
    PDO entry 0x6000:06, 64 bit
    PDO entry 0x6000:07, 64 bit
    PDO entry 0x6000:08, 64 bit
    PDO entry 0x0000:00,  8 bit
    PDO entry 0x0000:00,  6 bit
    PDO entry 0x6000:09,  1 bit
    PDO entry 0x6000:0a,  1 bit
SDO configuration:
  None.
DC configuration:
  AssignActivate: 0x0320
         Cycle [ns]   Shift [ns]
  SYNC0       125000        62500
  SYNC1            0            0

-----Ursprüngliche Nachricht-----
Gesendet: Freitag, 15 November 2013 um 11:54:25 Uhr
Von: "Richard Hacker" <ha at igh.de>
An: etherlab-users at etherlab.org
Betreff: Re: [etherlab-users] EL6692 connector
Looking at the debug output from simulink, it does not look like your 
slave has accepted the device in the xml? There are no PDO's! Did you 
add the product code and revision numbers?

Try to compare the simulink debug output with the slave configuration:
ethercat config -v -p9
(notice the -v) to detect any differences.


Am 11/14/2013 11:09 AM, schrieb Jasper Westpfahl:
> Hello Richard and Jeroen,
>
> I did what you suggested and recorded some debug output. The Kernel
> messages concerning my slave directly after insmod are in relmess.txt .
> The debug level was 1.
> Everything else is below.
>
> Thanks for the hints!
> Jasper
>
> set_param(gcb,'debug','2')
>
> ====== EtherCAT slave tb/win/Generic Slave =======
> - - EtherCATInfo.Descriptions.Devices.Device.Sm: - - - - -
> EtherCATInfo.Descriptions.Devices.Device.Dc.OpMode: - - - - - -
> EtherCATInfo.Descriptions.Devices.Device.RxPdo(1): - - - - - - - - - -
> EtherCATInfo.Descriptions.Devices.Device.TxPdo(1): - - - - - - - - - - -
> - - EtherCATInfo.Descriptions.Devices.Device.TxPdo(2):
>
> ethercat config -p9
>
> 0:9 0x00000002/0x1a243052 9 OP
>
> ethercat domains
>
> Domain0: LogBaseAddr 0x00000000, Size 76, WorkingCounter 9/9
> Domain1: LogBaseAddr 0x0000004c, Size 145, WorkingCounter 8/8
>
>
>
> _______________________________________________
> etherlab-users mailing list
> etherlab-users at etherlab.org
> http://lists.etherlab.org/mailman/listinfo/etherlab-users
>

Mit freundlichem Gru�

Richard Hacker

-- 
------------------------------------------------------------------------

Richard Hacker M.Sc.
richard.hacker at igh-essen.com
Tel.: +49 201 / 36014-16

Ingenieurgemeinschaft IgH
Gesellschaft f�r Ingenieurleistungen mbH
Heinz-B�cker-Str. 34
D-45356 Essen

Amtsgericht Essen HRB 11500
USt-Id.-Nr.: DE 174 626 722
Gesch�ftsf�hrung:
- Dr.-Ing. T. Finke,
- Dr.-Ing. W. Hagemeister
Tel.: +49 201 / 360-14-0
http://www.igh-essen.com

------------------------------------------------------------------------
_______________________________________________
etherlab-users mailing list
etherlab-users at etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-users



More information about the Etherlab-users mailing list