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

Dr.-Ing. Wilhelm Hagemeister hm at igh-essen.com
Wed Nov 10 17:59:00 CET 2010


Hello,

0x8000 and maybe other entries as well just don't exists in the SDO
Dictionary.
If you want, you can manually upload all the entries by:

e.g.

ethercat upload -pX -mX -t uint32 0x8000 4

But you have to know the subindices and the type information.

Look at: infosys.beckhoff.de

Regards Wilhelm.

Am 10.11.2010 11:47, schrieb gha:
> 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
> 




More information about the Etherlab-users mailing list