Possible bug in PlasmaC re G90 G91
- Clive S
- Offline
- Platinum Member
-
- Posts: 2245
- Thank you received: 480
When hitting pause then stop the machine is left in G91 I think so using from the MDI G0x0y0 the machine dose not move .
Using X10 it will move 10mm from where it was. So you have to give it a G90 to get to X0Y0
Please Log in or Create an account to join the conversation.
- phillc54
-
- Offline
- Platinum Member
-
- Posts: 5719
- Thank you received: 2093
I always have a G90 in my G-code preamble.
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
-
- Posts: 2245
- Thank you received: 480
G90/G91 are modal so they will stay in the last state.
I always have a G90 in my G-code preamble.
Yes. I realise that. I do have G90 in my preamble. But when hitting pause to stop the machine for a problem whatever, then to start again you hit stop. To get back to zero to start again you have to put the G90 in the MDI then X0Y0.
.
Thinking more about it. It is correct the way it is. Unless the stop button could also reset the machine with the preamble.
Please Log in or Create an account to join the conversation.
- phillc54
-
- Offline
- Platinum Member
-
- Posts: 5719
- Thank you received: 2093
Yeah, it is a bit tricky but that is the way LinuxCNC works. One option would be to set up one of the user buttons to run a bog standard preamble.
G90/G91 are modal so they will stay in the last state.
I always have a G90 in my G-code preamble.
Yes. I realise that. I do have G90 in my preamble. But when hitting pause to stop the machine for a problem whatever, then to start again you hit stop. To get back to zero to start again you have to put the G90 in the MDI then X0Y0.
.
Thinking more about it. It is correct the way it is. Unless the stop button could also reset the machine with the preamble.
Edit: you don't need to stop after a pause, you can resume from where you were.
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
-
- Posts: 2245
- Thank you received: 480
Edit: you don't need to stop after a pause, you can resume from where you were.
Thank Phil. It did confuse me re the G90 , as I was used to getting back to zero from the SINGLE CUT feature when testing with just a G0X0.
I realise you don't have to stop after a pause. I was have trouble yet again (my fault) with some code for spotting in that it would only fire the torch on the first hole and not of any of the others. The torch on led would come on and I could hear the relay in the cutter trigger but the VOLTS on the screen did not go tot he normal 230V.
This has worked in the past, so I must have changed a parameter somewhere. I will do some testing today.
Trust you are both keeping well.
Please Log in or Create an account to join the conversation.
- phillc54
-
- Offline
- Platinum Member
-
- Posts: 5719
- Thank you received: 2093
That type of situation is annoying.This has worked in the past, so I must have changed a parameter somewhere. I will do some testing today.
Yep, all good here thanks Clive, just missing our weekly breakfast bike ride due to this stupid pandemic.Trust you are both keeping well.

Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
-
- Posts: 2245
- Thank you received: 480
That type of situation is annoying.This has worked in the past, so I must have changed a parameter somewhere. I will do some testing today.
Yep, all good here thanks Clive, just missing our weekly breakfast bike ride due to this stupid pandemic.Trust you are both keeping well.
Solved. I forgot I had to use $0 instead of $1 or 2

Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
-
- Posts: 2245
- Thank you received: 480
Solved. I forgot I had to use $0 instead of $1 or 2
Should of asked. How can I get to use $0 instead of me editing the gcode.
I use a drill profile in sheet cam so that it uses the centre of the hole.
Please Log in or Create an account to join the conversation.
- rodw
-
- Away
- Platinum Member
-
- Posts: 11057
- Thank you received: 3673
Please Log in or Create an account to join the conversation.
- phillc54
-
- Offline
- Platinum Member
-
- Posts: 5719
- Thank you received: 2093
Please Log in or Create an account to join the conversation.