Gantry machine progress

More
29 Jul 2017 05:32 - 20 Aug 2017 20:33 #96637 by Yannis
Hi
since my last post i manage to do some progress with my gantry machine.
First of all i manage threw serial communication to be able to tune my servo motor.
The result are looking encouraging but there are some other thinks to be solved
My machine is X Y Y Z C router
Here is the issues to deal with
x axis servo run smooth in the negative direction but when i try to jog it in positive direction it fault
I try to manually edit the INI file and the HAL file
it is the first time that the LINUXCNC opening and running with no error:woohoo:
the problem is that the motor i Y is jogging but the DRO of Y is zero
I now that i have way to go but i think that i can make it work
an y suggestion will be appreciated
here is the INI andHAL files
thanks

File Attachment:

File Name: my_LinuxCN...7-29.ini
File Size:4 KB

File Attachment:

File Name: my_LinuxCN...7-29.hal
File Size:12 KB
Attachments:
Last edit: 20 Aug 2017 20:33 by Yannis.

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

More
29 Jul 2017 23:10 #96667 by andypugh
Replied by andypugh on topic Gantry machine progres
Your INI file seems to lack the [AXIS_X] / Y / Z sections?
The following user(s) said Thank You: Yannis

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

More
30 Jul 2017 00:26 #96668 by rodw
Replied by rodw on topic Gantry machine progres

Your INI file seems to lack the [AXIS_X] / Y / Z sections?


No, they are there tucked away in there.

What version of LinuxCNC are you using? Master branch (v 2.8) has enhancements that makes gantries much easier to configure.

What I am seeing is that you are missing HOME_SEQUENCE in your ini file for each joint

If you are using V 2.8, the joints for the 2 Y joints need to be the same negative number (eg -1) and the others a positive number (can be the same number and they will home at the same time. Make sure your gantry joints have the identical homing sequence so they move together.

I've only used V 2.8 but if you are using V2.7 I think it might get confused by the XYYZ sequence as it will be expecting Joint 2 to be tied to Z

Life will be easier if you upgrade to master v2.8 if you are not running it already......
The following user(s) said Thank You: Yannis

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

More
30 Jul 2017 05:55 #96671 by Yannis
Replied by Yannis on topic Gantry machine progres
Hi
i use the Master branch (v 2.8) updated about 1 week ago
i m not working in the homing sequence yet
my main problem right now is that i jog the one motor of Y(the second is disconected) and i dont have any reading in the DRO

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

More
30 Jul 2017 05:59 - 30 Jul 2017 06:00 #96672 by Yannis
Replied by Yannis on topic Gantry machine progres
andypugh
Thank you for pointing me the serial communication with the BRU200 servo driver in my other post
Last edit: 30 Jul 2017 06:00 by Yannis.

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

More
30 Jul 2017 08:50 - 30 Jul 2017 08:51 #96673 by rodw
Replied by rodw on topic Gantry machine progres

Hi
i use the Master branch (v 2.8) updated about 1 week ago
i m not working in the homing sequence yet
my main problem right now is that i jog the one motor of Y(the second is disconected) and i dont have any reading in the DRO


The other thing I see and this relates directly to the DRO's is that you have a XYZA machine but your DRO's are XYZ set by
GEOMETRY = xyz
in your .ini display section

Try adding an A to that and then humor me and add home sequence of -1 to your joints 1 & 2 and set the others to some positive value if you still have dramas.
Last edit: 30 Jul 2017 08:51 by rodw.
The following user(s) said Thank You: Yannis

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

More
31 Jul 2017 08:09 #96727 by Yannis
Replied by Yannis on topic Gantry machine progres
Hi
the A display issue solved
the problem now is to connect the y1 motor to the mesa board i try to copy the y (joint1) and edit the values
with no success
what i missing here?

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

More
31 Jul 2017 08:12 - 31 Jul 2017 08:14 #96728 by Yannis
Replied by Yannis on topic Gantry machine progres

File Attachment:

File Name: my_LinuxCN...7-31.hal
File Size:14 KB
Attachments:
Last edit: 31 Jul 2017 08:14 by Yannis.

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

More
31 Jul 2017 08:45 #96729 by rodw
Replied by rodw on topic Gantry machine progres
This appears identical to joint 1
# ---PWM Generator signals/setup---

setp   hm2_5i25.0.7i77.0.1.analogout1-scalemax  [JOINT_2]OUTPUT_SCALE
setp   hm2_5i25.0.7i77.0.1.analogout1-minlim    [JOINT_2]OUTPUT_MIN_LIMIT
setp   hm2_5i25.0.7i77.0.1.analogout1-maxlim    [JOINT_2]OUTPUT_MAX_LIMIT

I don't know your hardware but maybe it is
hm2_5i25.0.7i77.0.1.analogout2-******

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

More
31 Jul 2017 08:57 #96730 by Yannis
Replied by Yannis on topic Gantry machine progres
hi
in hardware you re fair to the mesa boards i use 5i25 and 5i77

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

Time to create page: 0.179 seconds
Powered by Kunena Forum