No Jog without homing
11 Mar 2016 22:06 #71453
by verdi
No Jog without homing was created by verdi
Hi
i want to forbid manual jog before the machine is homed.
is there any solution to achieve that?
greets
verdi
i want to forbid manual jog before the machine is homed.
is there any solution to achieve that?
greets
verdi
Please Log in or Create an account to join the conversation.
12 Mar 2016 20:19 #71501
by cmorley
Replied by cmorley on topic No Jog without homing
Yes.
in the INI file, under the [TRAJ] heading change:
NO_FORCE_HOMING = 1
to 0
Chris M
in the INI file, under the [TRAJ] heading change:
NO_FORCE_HOMING = 1
to 0
Chris M
Please Log in or Create an account to join the conversation.
12 Mar 2016 20:31 #71503
by BigJohnT
Replied by BigJohnT on topic No Jog without homing
Hi Chris,
He want to not allow jogging before homing.
NO_FORCE_HOMING = 1 - The default behavior is for LinuxCNC to force the user to home the machine before any MDI command or a program is run. Normally, only jogging is allowed before homing. Setting NO_FORCE_HOMING = 1 allows the user to make MDI moves and run programs without homing the machine first. Interfaces without homing ability will need to have this option set to 1.
JT
He want to not allow jogging before homing.
NO_FORCE_HOMING = 1 - The default behavior is for LinuxCNC to force the user to home the machine before any MDI command or a program is run. Normally, only jogging is allowed before homing. Setting NO_FORCE_HOMING = 1 allows the user to make MDI moves and run programs without homing the machine first. Interfaces without homing ability will need to have this option set to 1.
JT
Please Log in or Create an account to join the conversation.
12 Mar 2016 20:52 - 12 Mar 2016 20:53 #71504
by cmorley
Replied by cmorley on topic No Jog without homing
John ...very sure I'm correct.
having no_force_homing TRUE makes it NOT force homing.
Setting it to FALSE makes it force homing.
I said to change it to zero, which is false
Either way he now know what to change
having no_force_homing TRUE makes it NOT force homing.
Setting it to FALSE makes it force homing.
I said to change it to zero, which is false
Either way he now know what to change
Last edit: 12 Mar 2016 20:53 by cmorley.
Please Log in or Create an account to join the conversation.
12 Mar 2016 21:17 #71506
by verdi
Replied by verdi on topic No Jog without homing
hi
it is already working that you cant put in manual gcode or ran a program without homing.
but i also want to forbid jog before homing!
it is already working that you cant put in manual gcode or ran a program without homing.
but i also want to forbid jog before homing!
Please Log in or Create an account to join the conversation.
12 Mar 2016 23:23 #71528
by cmorley
Replied by cmorley on topic No Jog without homing
lol you are right of course - i should read the docs too!
i was sure you could do this
What screen are you using?
A quick look says there is no easy way to do this - it would require to customise the screen code a bit.
gscreen or Gmoccapy is easiest to modify.
or if you don't use a keyboard (so one one can keyboard jog) you could do it in with HAL code.
Chris m
i was sure you could do this
What screen are you using?
A quick look says there is no easy way to do this - it would require to customise the screen code a bit.
gscreen or Gmoccapy is easiest to modify.
or if you don't use a keyboard (so one one can keyboard jog) you could do it in with HAL code.
Chris m
Please Log in or Create an account to join the conversation.
12 Mar 2016 23:36 - 12 Mar 2016 23:38 #71529
by cmorley
Replied by cmorley on topic No Jog without homing
I thought of a way to do this easier.
In 2.7 there is a pin: motion.feed-inhibit
set it true and no movement will occur but with a happy strangeness homing will still work!
Homing is completely different from any other movement.
so maybe you could connect it to HALUI's halui.joint.<n>.is-homed or axis.N.homed
Chris M
In 2.7 there is a pin: motion.feed-inhibit
set it true and no movement will occur but with a happy strangeness homing will still work!
Homing is completely different from any other movement.
so maybe you could connect it to HALUI's halui.joint.<n>.is-homed or axis.N.homed
Chris M
Last edit: 12 Mar 2016 23:38 by cmorley.
The following user(s) said Thank You: BigJohnT
Please Log in or Create an account to join the conversation.
Time to create page: 0.066 seconds