Ethercat to modbus

15 Dec 2021 15:24 #229136 by wang
Ethercat to modbus was created by wang
Ask for help
I have an Ethercat to modbus (RS485) module I want to use in a linuxcnc system. I configured the XML file but cannot enter the OP state.
Below is the official XML description of the device
Warning: Spoiler!

Below is my XML file

File Attachment:

File Name: MTC_5AXIS.xml
File Size:22 KB

The following is a description of this device
Warning: Spoiler!

Entered SAEFOP

still have a question
How should I send a message to the serial port through ethercat, and how to read it at the same time?
Do I still need to use ethercat command in linuxcnc?
For example
ethercat download -t uint16 0x7000 01 1
ethercat upload -t uint16 0x6000 01

Summarize a total of two questions
①Ethercat to serial device cannot enter OP state
②What method should be used to assign value to ethercat pdos in linuxcnc, is it the ethercat instruction?

Thank you for your patience, if you can make suggestions I will be very grateful


Please Log in or Create an account to join the conversation.

15 Dec 2021 15:28 #229137 by wang
Replied by wang on topic Ethercat to modbus
After writing the xml file, when I open linuxcnc, the other axis drives all enter the OP state, but this Ethercat to serial port cannot enter the OP but enters SAEFOP

Please Log in or Create an account to join the conversation.

Time to create page: 0.236 seconds
Powered by Kunena Forum