Ask Your Question
0

EtherCAT: Export/display datagram data (e.g., dc system time 0x910)

asked 2024-06-23 23:27:01 +0000

updated 2024-06-24 02:30:53 +0000

Chuckc gravatar image

Hi

In the packet log I see the frames with the sent dc system time (AWRW from/to 0x910). I would like to extract that data in to an Exxel file or similar. I can filter for it - but how can I generate an export where I can "filter out" the data? I want to check it for glitches...

EtherCAT datagram: Cmd: 'ARMW' (13), Len: 8, Adp 0x1, Ado 0x910, Cnt 2
DC SysTime (0x910): 0x0000081ce8681a7a

Thomas

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2024-06-24 02:29:15 +0000

Chuckc gravatar image

updated 2024-06-24 02:33:27 +0000

No luck finding a sample with ARMW to verify against your example.
The Wireshark wiki page for ethercat has a sample capture that includes the ecat.reg.dc.systime field.

C:\>tshark.exe -r ethercat.cap.gz -T fields -e frame.number -e ecat.reg.dc.systime -Y ecat.reg.dc.systime
17      0x0000000000000000
18      0x0000000000000000

See the Wireshark dfref (Display Filter Reference: EtherCAT datagram(s)) for other systime fields.

See the tshark man page for options to format the output data. -E can be used to specify a , for CSV.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2024-06-23 23:27:01 +0000

Seen: 111 times

Last updated: Jun 24