Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

CANopen - using *.eds or *.dcf files (to be uploaded)

When using Wireshark for CANopen values get retrieved from the CANopen-bus.

The description of the values for each node and the sub-index is in a *.eds (or the very similar *.dcf) file.

Here some entries in a node4711.eds file:

[1016sub1]
ParameterName=Consumer Heartbeat Time 1
ObjectType=7
DataType=7
AccessType=rw
PDOMapping=0
DefaultValue=0x0000

[1017]
ParameterName=Producer Heartbeat Time
ObjectType=7
DataType=6
AccessType=rw
PDOMapping=0
DefaultValue=1000

[1018]
ParameterName=Identity Object
ObjectType=9
SubNumber=5

[1018sub0]
ParameterName=Number of entries
ObjectType=7
DataType=5
AccessType=ro
PDOMapping=0
DefaultValue=4

[1018sub1]
ParameterName=Vendor Id
ObjectType=7
DataType=7
AccessType=ro
PDOMapping=0
DefaultValue=0

When retrieving the vakue for 1018sub1 i should have the description "Vendor-ID added" (but i only see OD main Index (0x1018) and OD sub index (0x01) and the retrieved value.

Commercial tools allow to upload the eds file and parse the name/description from this text file.

(Also for Linux i did not find a line parser (as a plan B solution)). Any suggestion?