[etherlab-users] Reading SDOs from Beckhoff EL6731 Profibus Master

gha guenter.hammer at ids.de
Wed Nov 10 11:47:22 CET 2010


Hello

I want to read out the SDO Informations from a Beckhoff EL6731 Profibus 
Master with 3 connected Profibus Slaves.
The device is in OP-state and the IOs are working properly.
My problem is, that i can not read out the SDOs i have configured with 
the "ethercat -pX sdos -v" command.
I need this information to check the downloaded Profibus communication 
parameter and the Profibus DP bus parameter.

The output is:

SDO 0x1000, "Device type"
   0x1000:00, r-r-r-, uint32, 32 bit, "Device type"
SDO 0x1008, "Device name"
   0x1008:00, r-r-r-, string, 48 bit, "Device name"
SDO 0x1009, "Hardware version"
   0x1009:00, r-r-r-, string, 16 bit, "Hardware version"
SDO 0x100a, "Software version"
   0x100a:00, r-r-r-, string, 88 bit, "Software version"
SDO 0x1011, "Restore default parameters"
   0x1011:00, r-r-r-, uint8, 8 bit, "SubIndex 000"
   0x1011:01, rwrwrw, uint32, 32 bit, "SubIndex 001"
SDO 0x1018, "Identity"
   0x1018:00, r-r-r-, uint8, 8 bit, "SubIndex 000"
   0x1018:01, r-r-r-, uint32, 32 bit, "Vendor ID"
   0x1018:02, r-r-r-, uint32, 32 bit, "Product code"
   0x1018:03, r-r-r-, uint32, 32 bit, "Revision"
   0x1018:04, r-r-r-, uint32, 32 bit, "Serial number"
SDO 0x10f0, "Backup parameter handling"
   0x10f0:00, r-r-r-, uint8, 8 bit, "SubIndex 000"
   0x10f0:01, r-r-r-, uint32, 32 bit, "Checksum"
SDO 0x10f2, "Backup parameter storage"
   0x10f2:00, rwr-r-, octet_string, 32 bit, "Backup parameter storage"
SDO 0x1c00, "Sync manager type"
   0x1c00:00, r-r-r-, uint8, 8 bit, "SubIndex 000"
   0x1c00:01, r-r-r-, uint8, 8 bit, "SubIndex 001"
   0x1c00:02, r-r-r-, uint8, 8 bit, "SubIndex 002"
   0x1c00:03, r-r-r-, uint8, 8 bit, "SubIndex 003"
   0x1c00:04, r-r-r-, uint8, 8 bit, "SubIndex 004"
SDO 0x1c12, "RxPDO assign"
   0x1c12:00, rwr-r-, uint8, 8 bit, "SubIndex 000"
   0x1c12:01, rwr-r-, uint16, 16 bit, "SubIndex 001"
    ...
   0x1c12:7c, rwr-r-, uint16, 16 bit, "SubIndex 124"
   0x1c12:7d, rwr-r-, uint16, 16 bit, "SubIndex 125"
SDO 0x1c13, "TxPDO assign"
   0x1c13:00, rwr-r-, uint8, 8 bit, "SubIndex 000"
   0x1c13:01, rwr-r-, uint16, 16 bit, "SubIndex 001"
   ...
   0x1c13:83, rwr-r-, uint16, 16 bit, "SubIndex 131"
   0x1c13:84, rwr-r-, uint16, 16 bit, "SubIndex 132"
SSDO 0x1c32, "SM output parameter"
   0x1c32:00, r-r-r-, uint8, 8 bit, "SubIndex 000"
   0x1c32:01, rwrwrw, uint16, 16 bit, "Sync mode"
   ...
   0x1c32:1f, r-r-r-, type 0000, 0 bit, "SubIndex 031"
   0x1c32:20, r-r-r-, type 0001, 1 bit, "Sync error"
SDO 0x1c33, "SM input parameter"
   0x1c33:00, r-r-r-, uint8, 8 bit, "SubIndex 000"
   0x1c33:01, rwrwrw, uint16, 16 bit, "Sync mode"
   ...
   0x1c33:1f, r-r-r-, type 0000, 0 bit, "SubIndex 031"
   0x1c33:20, r-r-r-, type 0001, 1 bit, "Sync error"
SDO 0xf000, "Modular device profile"
   0xf000:00, r-r-r-, uint8, 8 bit, "SubIndex 000"
   0xf000:01, r-r-r-, uint16, 16 bit, "Module index distance"
   0xf000:02, r-r-r-, uint16, 16 bit, "Maximum number of modules"
   0xf000:03, r-r-r-, uint32, 32 bit, "General Configuration Entries"
   0xf000:04, r-r-r-, uint32, 32 bit, "General Information Entries"
SDO 0xf008, "Code word"
   0xf008:00, rwrwrw, uint32, 32 bit, "Code word"

I miss the values for the 0x80xx and 0xf800 areas i configured with the 
ecrt_slave_config_complete_sdo()-function.
The function returns with success an the Profibus-communication is running.

Is it even possible to read out the dynamically configured sdos ?

Best regards
Günter Hammer

-- 
*************************************
Günter Hammer
Software-Ingenieur

IDS GmbH
E-PA - Entwicklung Prozess-Automatisierung
Nobelstr. 18
D-76275 Ettlingen
T +49 (0) 72 43/2 18-623
F +49 (0) 72 43/2 18-100

<mailto:guenter.hammer at ids.de>

http://www.ids.de
Geschäftsführer: Norbert Wagner, Friedrich Abriß
Sitz der Gesellschaft: Ettlingen
Amtsgericht Mannheim HRB 362503

*************************************
Der Inhalt dieser E-Mail ist vertraulich und ausschließlich für den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein sollten, so beachten Sie bitte, dass jede Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts dieser E-Mail untersagt ist und gesetzwidrig sein kann. Wir bitten Sie, sich in diesem Fall mit dem Absender der E-Mail in Verbindung zu setzen. Wir möchten außerdem darauf hinweisen, dass die Kommunikation per E-Mail über das Internet unsicher ist, da für unberechtigte Dritte grundsätzlich die Möglichkeit der Kenntnisnahme und Manipulation besteht.
The information contained in this email is confidential. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. Please notify the sender immediately. We would also like to inform that communication via email over the internet is insecure because third parties may access and manipulate emails.




More information about the Etherlab-users mailing list