ethercat gantry

More
14 Sep 2024 07:08 #310118 by Moutomation
ethercat gantry was created by Moutomation
hello,
I use gantry axis with gmoccapy.
The motors are absolute motors, there is no home sensor in the machine.
There are 2 servo motors on the y axis, this axis is approximately 7 meters long.
For example, at first startup, y1 motor position = 3.000mm
y2 engine position = 5,000 mm.
How can I send the y2 engine to the 3,000 position? What I want to do is to send the y2 engine to the y1 position and then make it work as a gantry when the y1 and y2 positions are equal.
Currently when you first run it for example position y1 is 2,000 and position y2 is 5,000.
When I send the y axis to position 100, y1 position is 100,000 and y2 position is 103,000. How can I make this work without any location difference between them?

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

More
14 Sep 2024 07:18 #310119 by Moutomation
Replied by Moutomation on topic ethercat gantry
I observed wrongly, currently the y2 motor is moving itself to the y1 position, but it is fast, I will check how to reduce its speed.

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

More
14 Sep 2024 07:21 #310120 by Moutomation
Replied by Moutomation on topic ethercat gantry
Currently, the y2 motor is going to the y1 position very fast. I should reduce this speed, how can I do this?
2.y jog button only moves y1 motor, how can I make it move both motors?

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

More
14 Sep 2024 07:23 #310121 by Aciera
Replied by Aciera on topic ethercat gantry
Please post your ini file.

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

More
14 Sep 2024 07:30 #310122 by Moutomation
Replied by Moutomation on topic ethercat gantry
 

File Attachment:

File Name: hc.ini
File Size:6 KB
Attachments:

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

More
14 Sep 2024 07:52 - 14 Sep 2024 08:59 #310124 by Aciera
Replied by Aciera on topic ethercat gantry
Homing for tandem axes is setup using negative numbers for the 'HOME_SEQUENCE' in the [JOINT_n] section of the ini file:
linuxcnc.org/docs/stable/html/config/ini...l#sec:homing-section

Alignment is then achieved using the 'HOME_OFFSET' value in the [JOINT_n] section.

It has been a long time since I used absolute encoder homing but I would suggest to add a 'HOME_SEQUENCE' to all of your joints as described in the link above and then compensate for the position difference using the 'HOME_OFFSET' value for one or both of the tandem joints.
Last edit: 14 Sep 2024 08:59 by Aciera.

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

More
14 Sep 2024 07:57 #310125 by Moutomation
Replied by Moutomation on topic ethercat gantry
thanks your answer,
Actually, the y2 motor is currently going to the y1 motor position, but it is going very fast, can this speed be adjusted?

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

More
14 Sep 2024 08:06 #310126 by Moutomation
Replied by Moutomation on topic ethercat gantry
Since it is too fast, if the positon difference is high, the servo driver goes into error.

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

More
14 Sep 2024 08:12 #310127 by Aciera
Replied by Aciera on topic ethercat gantry

Currently, the y2 motor is going to the y1 position very fast. I should reduce this speed, how can I do this?


It's not clear to me what method you use to move the y2 motor to the y1 position.

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

More
14 Sep 2024 08:15 #310128 by Moutomation
Replied by Moutomation on topic ethercat gantry
gmoccapy sets it itself, I did not use any method. For example, when I enter the mdi page, if the positions of y1 and y2 are not equal, the y2 motor moves.

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

Time to create page: 0.445 seconds
Powered by Kunena Forum