Possible bug in PlasmaC re G90 G91

More
23 Aug 2020 16:58 #179116 by Clive S
Machine is left in G91 when hitting stop.

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
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
23 Aug 2020 23:22 #179157 by phillc54
G90/G91 are modal so they will stay in the last state.

I always have a G90 in my G-code preamble.

Please Log in or Create an account to join the conversation.

More
24 Aug 2020 07:18 #179194 by Clive S

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.

More
24 Aug 2020 07:22 - 24 Aug 2020 07:23 #179196 by phillc54

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.

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.

Edit: you don't need to stop after a pause, you can resume from where you were.
Last edit: 24 Aug 2020 07:23 by phillc54.

Please Log in or Create an account to join the conversation.

More
24 Aug 2020 08:09 #179205 by Clive S

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.

More
24 Aug 2020 08:33 - 24 Aug 2020 08:33 #179206 by phillc54

This has worked in the past, so I must have changed a parameter somewhere. I will do some testing today.

That type of situation is annoying.


Trust you are both keeping well.

Yep, all good here thanks Clive, just missing our weekly breakfast bike ride due to this stupid pandemic. :(
Last edit: 24 Aug 2020 08:33 by phillc54.

Please Log in or Create an account to join the conversation.

More
24 Aug 2020 11:33 #179224 by Clive S

This has worked in the past, so I must have changed a parameter somewhere. I will do some testing today.

That type of situation is annoying.


Trust you are both keeping well.

Yep, all good here thanks Clive, just missing our weekly breakfast bike ride due to this stupid pandemic. :(


Solved. I forgot I had to use $0 instead of $1 or 2 :)
The following user(s) said Thank You: phillc54

Please Log in or Create an account to join the conversation.

More
24 Aug 2020 11:48 #179232 by Clive S

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.

More
24 Aug 2020 11:50 #179234 by rodw
Phills post processor should just work.

Please Log in or Create an account to join the conversation.

More
24 Aug 2020 11:52 #179235 by phillc54
As Rod said, if you do a drill operation it should work.

Please Log in or Create an account to join the conversation.

Moderators: snowgoer540
Time to create page: 0.144 seconds
Powered by Kunena Forum