- Posts: 261
- Thank you received: 3
Gscreen force to mm and homed
10 years 6 months ago #73502
by terkaa
Gscreen force to mm and homed was created by terkaa
Hi,
I would like to know if it is possible to force mm/inch button to mm mode at loading Gscreen also I will be using absolute encoders do I would like to be "homed" at start. Any pins for these that can be set to 1 at HAL ?
Tero
I would like to know if it is possible to force mm/inch button to mm mode at loading Gscreen also I will be using absolute encoders do I would like to be "homed" at start. Any pins for these that can be set to 1 at HAL ?
Tero
Please Log in or Create an account to join the conversation.
10 years 6 months ago #73513
by andypugh
You might be able to just use NO_FORCE_HOMING in the INI file:
linuxcnc.org/docs/2.7/html/config/ini-config.html#_traj_section (bottom of the [TRAJ] section.
You can configure immediate homing by setting home search and home latch velocities to zero for each axis.
That still needs you to press the "Home" button, but there is a HAL pin for that too, which could be linked to the machine-on signal or similar.
Replied by andypugh on topic Gscreen force to mm and homed
terkaa wrote: I will be using absolute encoders do I would like to be "homed" at start. Any pins for these that can be set to 1 at HAL
You might be able to just use NO_FORCE_HOMING in the INI file:
linuxcnc.org/docs/2.7/html/config/ini-config.html#_traj_section (bottom of the [TRAJ] section.
You can configure immediate homing by setting home search and home latch velocities to zero for each axis.
That still needs you to press the "Home" button, but there is a HAL pin for that too, which could be linked to the machine-on signal or similar.
Please Log in or Create an account to join the conversation.
10 years 6 months ago - 10 years 6 months ago #73514
by terkaa
Replied by terkaa on topic Gscreen force to mm and homed
Ok,
What is this Hal pin that can be used for this? (I believe that was the actual question here
)
Tero
What is this Hal pin that can be used for this? (I believe that was the actual question here
Tero
Last edit: 10 years 6 months ago by terkaa.
Please Log in or Create an account to join the conversation.
10 years 6 months ago - 10 years 6 months ago #73517
by andypugh
halui.joint.N.home
Part of halui: linuxcnc.org/docs/2.7/html/man/man1/halui.1.html
halui runs in userspace, so be aware that it isn't ideal for time-critical functions. But auto-homing isn't time-critical.
Replied by andypugh on topic Gscreen force to mm and homed
terkaa wrote: What is this Hal pin that can be used for this? (I believe that was the actual question here
halui.joint.N.home
Part of halui: linuxcnc.org/docs/2.7/html/man/man1/halui.1.html
halui runs in userspace, so be aware that it isn't ideal for time-critical functions. But auto-homing isn't time-critical.
Last edit: 10 years 6 months ago by andypugh.
The following user(s) said Thank You: terkaa
Please Log in or Create an account to join the conversation.
10 years 6 months ago #73518
by terkaa
Replied by terkaa on topic Gscreen force to mm and homed
Ok,
This is good info. Now I still have figure out how to make mm default and disable inch button. I believe it is time to learn some glade UI...
Tero
This is good info. Now I still have figure out how to make mm default and disable inch button. I believe it is time to learn some glade UI...
Tero
Please Log in or Create an account to join the conversation.
10 years 6 months ago - 10 years 6 months ago #73519
by andypugh
Replied by andypugh on topic Gscreen force to mm and homed
What do you have in [TRAJ]LINEAR_UNITS ?
linuxcnc.org/docs/2.7/html/config/ini-config.html#_traj_section
I would have expected the GUI to look at that.
linuxcnc.org/docs/2.7/html/config/ini-config.html#_traj_section
I would have expected the GUI to look at that.
Last edit: 10 years 6 months ago by andypugh.
Please Log in or Create an account to join the conversation.
Time to create page: 0.057 seconds