QtDragon startup issues if limit/home switch tripped
24 Mar 2021 20:06 #203537
by turbostew
QtDragon startup issues if limit/home switch tripped was created by turbostew
So when QtDragon starts up and machine is sitting on a limit/home sw, the enable limits check box acts strange. You can turn on machine (on/off button) and checking/unchecking enable limits has no effect. I have to turn on/off button back off, toggle enable limits then turn on/off button on. On/Off button then immediately turns off and one has to toggle enable limits again and then turning on/off button back on will now allow one to jog off limit...
Please Log in or Create an account to join the conversation.
26 Mar 2021 06:38 #203670
by cmorley
Replied by cmorley on topic QtDragon startup issues if limit/home switch tripped
So What I think is happening here is the machine on button is not reflecting the actual state of linuxcnc in this situation.
What I expect to/can happen with limit tripped:
1) take machine out of estop -ok
2) set machine on -fail with limit trip message.
3) override limits checked - message that the limits are overridden
3) set machine on - ok and can be jogged
currently on step 2 the button stays green and the toggle position is wrong, but actually linuxcnc is still off.
can you confirm you see the same thing?
What I expect to/can happen with limit tripped:
1) take machine out of estop -ok
2) set machine on -fail with limit trip message.
3) override limits checked - message that the limits are overridden
3) set machine on - ok and can be jogged
currently on step 2 the button stays green and the toggle position is wrong, but actually linuxcnc is still off.
can you confirm you see the same thing?
Please Log in or Create an account to join the conversation.
26 Mar 2021 06:40 #203671
by cmorley
Replied by cmorley on topic QtDragon startup issues if limit/home switch tripped
I should add because the button toggle state in step 2 is out of synch, that means in step 3 you must press the machine on button twice to start the machine.
Please Log in or Create an account to join the conversation.
26 Mar 2021 14:19 - 26 Mar 2021 14:25 #203716
by turbostew
Replied by turbostew on topic QtDragon startup issues if limit/home switch tripped
So starting up:
ESTOP is off (meaning green led in middle is on)
Press machine on, get a "Operator Error: joint 1 on limit switch error"
Check override, get a "Operator error: Hard Limits are overridden!"
no jog
press machine off, uncheck override, check override, press machine on
no jog
press machine off, uncheck override, check override, press machine on
get "Can Not Reset Limits Override - Still On Hard Limits"
machine goes on then it turns itself off.
get "joint 1 on limit error"
get "command (EMC_TASK_PLAN_EXECUTE) cannot be executed until the machine is out of E-stop and turned on"
get "command (EMC_TASK_PLAN_EXECUTE) cannot be executed until the machine is out of E-stop and turned on"
uncheck override, check override,
get a "Operator error: Hard Limits are overridden!"
press machine on
get a "Operator Error: joint 1 on limit switch error"
no jog
press machine off, uncheck override, check override
get a "Operator error: Hard Limits are overridden!"
press machine on
now I can jog
I might add that when trying KB jog while it is not working in this process, I'm in manual mode, I get a "Machine must be ON and in Manual mode to jog". Like the machine thinks it is another mode, jog screen buttons don't work as well.
ESTOP is off (meaning green led in middle is on)
Press machine on, get a "Operator Error: joint 1 on limit switch error"
Check override, get a "Operator error: Hard Limits are overridden!"
no jog
press machine off, uncheck override, check override, press machine on
no jog
press machine off, uncheck override, check override, press machine on
get "Can Not Reset Limits Override - Still On Hard Limits"
machine goes on then it turns itself off.
get "joint 1 on limit error"
get "command (EMC_TASK_PLAN_EXECUTE) cannot be executed until the machine is out of E-stop and turned on"
get "command (EMC_TASK_PLAN_EXECUTE) cannot be executed until the machine is out of E-stop and turned on"
uncheck override, check override,
get a "Operator error: Hard Limits are overridden!"
press machine on
get a "Operator Error: joint 1 on limit switch error"
no jog
press machine off, uncheck override, check override
get a "Operator error: Hard Limits are overridden!"
press machine on
now I can jog
I might add that when trying KB jog while it is not working in this process, I'm in manual mode, I get a "Machine must be ON and in Manual mode to jog". Like the machine thinks it is another mode, jog screen buttons don't work as well.
Last edit: 26 Mar 2021 14:25 by turbostew.
Please Log in or Create an account to join the conversation.
26 Mar 2021 14:23 #203717
by cmorley
Replied by cmorley on topic QtDragon startup issues if limit/home switch tripped
could you try the process I laid out and see if it works?
Please Log in or Create an account to join the conversation.
26 Mar 2021 14:34 - 26 Mar 2021 14:35 #203718
by turbostew
Replied by turbostew on topic QtDragon startup issues if limit/home switch tripped
It does not work, I tried it several times... Only the process i laid out works. I can start up, cycle machine on a dozen times, then I still have to go through 2 rounds of the of the off-uncheck-check-on before it works.
Last edit: 26 Mar 2021 14:35 by turbostew.
Please Log in or Create an account to join the conversation.
26 Mar 2021 14:47 #203720
by cmorley
Replied by cmorley on topic QtDragon startup issues if limit/home switch tripped
Can you tell me what works and what fails in the process I described?
I would expect jogging not to work at this point as you haven't got the machine to turn on. When you get the operator error the machine never did turn on. (as I mentioned the button color lies at the moment)
After checking the override limits check box you must click the machine on button twice - you should see a change in the screen as button become enabled.
Try using the jog buttons rather then keyboard jogging so we know it's not two problems.
Once we confirm the behavior then i can go about making it better behaved.
So starting up:
ESTOP is off (meaning green led in middle is on)
Press machine on, get a "Operator Error: joint 1 on limit switch error"
Check override, get a "Operator error: Hard Limits are overridden!"
no jog
I would expect jogging not to work at this point as you haven't got the machine to turn on. When you get the operator error the machine never did turn on. (as I mentioned the button color lies at the moment)
After checking the override limits check box you must click the machine on button twice - you should see a change in the screen as button become enabled.
Try using the jog buttons rather then keyboard jogging so we know it's not two problems.
Once we confirm the behavior then i can go about making it better behaved.
Please Log in or Create an account to join the conversation.
26 Mar 2021 15:27 - 26 Mar 2021 15:30 #203724
by turbostew
Replied by turbostew on topic QtDragon startup issues if limit/home switch tripped
your steps:
1) take machine out of estop -ok
2) set machine on -fail with limit trip message.
3) override limits checked - message that the limits are overridden
4) set machine on - ok and can be jogged
after step 3, you press on/off, machine goes off, press again machine goes on then turns itself off, press on again and machine is definitely on but no jog (mouse button).
Do an Off-uncheck-check-on and jog works.
1) take machine out of estop -ok
2) set machine on -fail with limit trip message.
3) override limits checked - message that the limits are overridden
4) set machine on - ok and can be jogged
after step 3, you press on/off, machine goes off, press again machine goes on then turns itself off, press on again and machine is definitely on but no jog (mouse button).
Do an Off-uncheck-check-on and jog works.
Last edit: 26 Mar 2021 15:30 by turbostew.
Please Log in or Create an account to join the conversation.
31 Mar 2021 08:27 #204184
by cmorley
Replied by cmorley on topic QtDragon startup issues if limit/home switch tripped
i pushed some more work on this.
It consists of most making sure the controls reflect the actual state of linuxcnc.
The check button and power button could become out of sync with linuxcnc's state.
There is also another option - the notify floating message box can be used to override the limits and restart the machine with the press of one of it's buttons.
it touches quite a few files.
It consists of most making sure the controls reflect the actual state of linuxcnc.
The check button and power button could become out of sync with linuxcnc's state.
There is also another option - the notify floating message box can be used to override the limits and restart the machine with the press of one of it's buttons.
it touches quite a few files.
Please Log in or Create an account to join the conversation.
31 Mar 2021 18:04 #204251
by turbostew
Replied by turbostew on topic QtDragon startup issues if limit/home switch tripped
Much better! Thank You Chris
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.209 seconds