Pnncof Tandem Y axis problem
- thefabricator03
- Offline
- Platinum Member
Less
More
- Posts: 1130
- Thank you received: 533
21 Jun 2019 02:32 #137439
by thefabricator03
Pnncof Tandem Y axis problem was created by thefabricator03
Hi Guys,
I have used Pnncof to set up a tandem Y axis on my Gantry plasma machine,
I cannot get the Y axises to jog together using the keypad in Axis GUI,
I can manually select the axis in the GUI and jog it using the jog buttons but cannot get the two motors to move together, only one motor jogs.
I have attached my INI and HAL files.
Any ideas as to what is going on?
I have used Pnncof to set up a tandem Y axis on my Gantry plasma machine,
I cannot get the Y axises to jog together using the keypad in Axis GUI,
I can manually select the axis in the GUI and jog it using the jog buttons but cannot get the two motors to move together, only one motor jogs.
I have attached my INI and HAL files.
Any ideas as to what is going on?
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17997
- Thank you received: 4842
21 Jun 2019 03:27 #137442
by PCW
Replied by PCW on topic Pnncof Tandem Y axis problem
Have you homed the system? LinuxCNC will be in joint mode before homing is complete
Please Log in or Create an account to join the conversation.
- thefabricator03
- Offline
- Platinum Member
Less
More
- Posts: 1130
- Thank you received: 533
21 Jun 2019 04:06 #137449
by thefabricator03
Replied by thefabricator03 on topic Pnncof Tandem Y axis problem
How do I home a duel Y axis individually?
If I can only jog one motor at a time I cannot get the gantry to the home position,
I dont have my motors connected to the gearboxes at the moment but I cannot work out how it will work when I cannot jog them together.
If I can only jog one motor at a time I cannot get the gantry to the home position,
I dont have my motors connected to the gearboxes at the moment but I cannot work out how it will work when I cannot jog them together.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17997
- Thank you received: 4842
21 Jun 2019 04:29 - 21 Jun 2019 04:30 #137451
by PCW
Replied by PCW on topic Pnncof Tandem Y axis problem
I guess the basic answer is that you are not expected to home by jogging but by
telling LinuxCNC to home and then linuxCNC runs a built in homing state machine.
(which it does in joint mode, switching to axis mode when homing is complete)
linuxcnc.org/docs/2.8/html/config/ini-homing.html
If you dont have at least simulated limit switches yet you will have to disable homing by
setting up "immediate homing" ( in section 3.13 )
For gantry homing setup check out the homing sequence section (3.10)
telling LinuxCNC to home and then linuxCNC runs a built in homing state machine.
(which it does in joint mode, switching to axis mode when homing is complete)
linuxcnc.org/docs/2.8/html/config/ini-homing.html
If you dont have at least simulated limit switches yet you will have to disable homing by
setting up "immediate homing" ( in section 3.13 )
For gantry homing setup check out the homing sequence section (3.10)
Last edit: 21 Jun 2019 04:30 by PCW.
The following user(s) said Thank You: thefabricator03
Please Log in or Create an account to join the conversation.
- thefabricator03
- Offline
- Platinum Member
Less
More
- Posts: 1130
- Thank you received: 533
21 Jun 2019 07:19 - 21 Jun 2019 07:19 #137458
by thefabricator03
Replied by thefabricator03 on topic Pnncof Tandem Y axis problem
Thanks PCW,
My INI file did not have the following so I had to add lines to each joint,
HOME equals to HOME_OFFSET
HOME_SEQUENCE = 0 (or other valid sequence number)
After I homes each axis the motor will jog as they should,
Does anyone know how CommandCNC is on start up able to jog the gantry without homing first?
My INI file did not have the following so I had to add lines to each joint,
HOME equals to HOME_OFFSET
HOME_SEQUENCE = 0 (or other valid sequence number)
After I homes each axis the motor will jog as they should,
Does anyone know how CommandCNC is on start up able to jog the gantry without homing first?
Last edit: 21 Jun 2019 07:19 by thefabricator03.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4864
21 Jun 2019 07:45 #137460
by andypugh
I would strongly recommend using version 2.8 and then the tandem joints should have the same _negative_ home sequence number.
But independent joints and home switches is a better solution.
Make sure that you are reading the correct documentation for the version you are using, homing, especially, has changed in important ways between 2.7 and 2.8.
Replied by andypugh on topic Pnncof Tandem Y axis problem
Which LinuxCNC version are you using?HOME_SEQUENCE = 0 (or other valid sequence number)
I would strongly recommend using version 2.8 and then the tandem joints should have the same _negative_ home sequence number.
LinuxCNC can be configured that way, for example by running both motors from the same joint position signal.Does anyone know how CommandCNC is on start up able to jog the gantry without homing first?
But independent joints and home switches is a better solution.
Make sure that you are reading the correct documentation for the version you are using, homing, especially, has changed in important ways between 2.7 and 2.8.
Please Log in or Create an account to join the conversation.
- thefabricator03
- Offline
- Platinum Member
Less
More
- Posts: 1130
- Thank you received: 533
21 Jun 2019 08:34 #137466
by thefabricator03
Replied by thefabricator03 on topic Pnncof Tandem Y axis problem
I am using 2.9.0~pre0 version of the Plasmac branch.
Why was HOME_SEQUENCE not generated in the INI file from PNCCOF?
Why was HOME_SEQUENCE not generated in the INI file from PNCCOF?
Please Log in or Create an account to join the conversation.
- rodw
- Away
- Platinum Member
Less
More
- Posts: 10833
- Thank you received: 3575
21 Jun 2019 08:37 #137467
by rodw
Replied by rodw on topic Pnncof Tandem Y axis problem
Life will become easy if you just accept that you must hit home all before doing anything with your machine.
BUT:
I'm not seeing a
HOME_SEQUENCE in your joints in the ini file
add this to your ini for each joint
Joint 0 - HOME_SEQUENCE = 1
Joint 1 - HOME_SEQUENCE = -1
Joint 2 - HOME_SEQUENCE = -1
Joint 3 - HOME_SEQUENCE = 0
Make sure you have some home switches, hit home all and watch the magic happen!
The Z axis will home (it is homed at the top right?) to clear any stuff on the gantry, then The X axis will home, then the Y axis will home in unison. The Y axis homing is a race to the finish. The first one to home base stops and waits politely for the other side to catch up and then they home in unison finally squaring based on the HOME_OFFSET . Very cool to watch if done slowly with a racked gantry...
See
linuxcnc.org/docs/devel/html/config/ini-homing.html
and
linuxcnc.org/docs/devel/html/config/ini-...t__lt_num_gt_section
BUT:
I'm not seeing a
HOME_SEQUENCE in your joints in the ini file
add this to your ini for each joint
Joint 0 - HOME_SEQUENCE = 1
Joint 1 - HOME_SEQUENCE = -1
Joint 2 - HOME_SEQUENCE = -1
Joint 3 - HOME_SEQUENCE = 0
Make sure you have some home switches, hit home all and watch the magic happen!
The Z axis will home (it is homed at the top right?) to clear any stuff on the gantry, then The X axis will home, then the Y axis will home in unison. The Y axis homing is a race to the finish. The first one to home base stops and waits politely for the other side to catch up and then they home in unison finally squaring based on the HOME_OFFSET . Very cool to watch if done slowly with a racked gantry...
See
linuxcnc.org/docs/devel/html/config/ini-homing.html
and
linuxcnc.org/docs/devel/html/config/ini-...t__lt_num_gt_section
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4864
21 Jun 2019 08:42 #137468
by andypugh
github.com/LinuxCNC/linuxcnc/blob/3b009f...nf/build_INI.py#L435
It looks like pncconf will create HOME_SEQUENCE entries if every joint has a home switch input defined.
Unless something is wrong. Did you define home switch inputs?
Replied by andypugh on topic Pnncof Tandem Y axis problem
Why was HOME_SEQUENCE not generated in the INI file from PNCCOF?
github.com/LinuxCNC/linuxcnc/blob/3b009f...nf/build_INI.py#L435
It looks like pncconf will create HOME_SEQUENCE entries if every joint has a home switch input defined.
Unless something is wrong. Did you define home switch inputs?
Please Log in or Create an account to join the conversation.
- rodw
- Away
- Platinum Member
Less
More
- Posts: 10833
- Thank you received: 3575
21 Jun 2019 09:10 #137470
by rodw
Replied by rodw on topic Pnncof Tandem Y axis problem
I never actually thought about this when I first built my gantry and used V 2.8 just after Joint Axes was pushed to it as I was that paranoid about limit and homing switches.
But when I think about it, unless I'm off the mark, you can't have a gantry without working homing switches.
V 2.8 knows about joint axes and refuses to jog them until they are homed. Really provided they are moved together, there is nothing stopping them from being homed. Perhaps V 2.9 might surprise us and allow joint movement before homing. But this implies that the gantry can't be considered to be square which is pribably why V 2.8 insists home all is completed before allowing jogging.
But when I think about it, unless I'm off the mark, you can't have a gantry without working homing switches.
V 2.8 knows about joint axes and refuses to jog them until they are homed. Really provided they are moved together, there is nothing stopping them from being homed. Perhaps V 2.9 might surprise us and allow joint movement before homing. But this implies that the gantry can't be considered to be square which is pribably why V 2.8 insists home all is completed before allowing jogging.
Please Log in or Create an account to join the conversation.
Time to create page: 0.209 seconds