PlasmaC laser offset (SOLVED)

More
6 years 5 days ago #187199 by Clive S
I have done an update to the latest version 0.180. from about 2 months ago.

The laser offset seems to work in a different manor in that when you move to a position then use the offset button it moves to the correct place but does not show on screen but when cutting the part it cuts ok bet does not follow the onscreen outline.

If you then press the normal X touch off on the gui the image on screen moves to the correct position.

Has the code changed?

I use this:
BUTTON_1_NAME = Laser\Offset
#BUTTON_1_CODE = G54 G0 X-47.5 Y21.296
BUTTON_1_CODE = G10 L20 P1 X0 Y0 \ G54 G1 X -47.5 Y 21.296 F2000 \ G10 L20 P1 X0 Y0

Please Log in to join the conversation.

More
6 years 5 days ago #187258 by phillc54
Replied by phillc54 on topic PlasmaC laser offset

Clive S wrote: I have done an update to the latest version 0.180. from about 2 months ago.

The laser offset seems to work in a different manor in that when you move to a position then use the offset button it moves to the correct place but does not show on screen but when cutting the part it cuts ok bet does not follow the onscreen outline.

If you then press the normal X touch off on the gui the image on screen moves to the correct position.

Has the code changed?

I use this:
BUTTON_1_NAME = Laser\Offset
#BUTTON_1_CODE = G54 G0 X-47.5 Y21.296
BUTTON_1_CODE = G10 L20 P1 X0 Y0 \ G54 G1 X -47.5 Y 21.296 F2000 \ G10 L20 P1 X0 Y0

That code is run by LinuxCNC itself, not PlasmaC. I don't think the preview can be refreshed in Gmoccapy but in Axis there is a new refresh pin available so you could add:
Code:
\ %halcmd setp axisui.refresh 1
to the end of your existing code and it will refresh the preview screen.

See the "Touch Off X & Y" section here:
linuxcnc.org/docs/2.8/html/plasma/plasma...de.html#_button_code .

Please Log in to join the conversation.

More
6 years 5 days ago #187260 by snowgoer540
Replied by snowgoer540 on topic PlasmaC laser offset
Came here to write essentially what Phill did earlier, got distracted because someone used my credit card to order themselves dinner on Uber Eats... so I got bogged down disputing charges, and then updating all the autopay stuff with the new credit card number (which conveniently they issue instantly).

Please Log in to join the conversation.

More
6 years 5 days ago #187262 by phillc54
Replied by phillc54 on topic PlasmaC laser offset

snowgoer540 wrote: Came here to write essentially what Phill did earlier, got distracted because someone used my credit card to order themselves dinner on Uber Eats... so I got bogged down disputing charges, and then updating all the autopay stuff with the new credit card number (which conveniently they issue instantly).

Mmmm, those lamb cutlets were delicious. :)

Please Log in to join the conversation.

More
6 years 5 days ago #187265 by snowgoer540
Replied by snowgoer540 on topic PlasmaC laser offset

phillc54 wrote:

snowgoer540 wrote: Came here to write essentially what Phill did earlier, got distracted because someone used my credit card to order themselves dinner on Uber Eats... so I got bogged down disputing charges, and then updating all the autopay stuff with the new credit card number (which conveniently they issue instantly).

Mmmm, those lamb cutlets were delicious. :)


:laugh: heard it pairs well with a good bourbon

Please Log in to join the conversation.

More
6 years 5 days ago #187301 by Clive S
Thanks Phill. That did the trick :)

Edit: Thanks to snowgoer540 for the help as well.

Please Log in to join the conversation.

More
6 years 4 days ago #187348 by phillc54

Clive S wrote: Thanks Phill. That did the trick :)

No worries Clive. And thanks to snowgoer540 for contributing this HAL pin.

Please Log in to join the conversation.

More
6 years 4 days ago #187388 by rodw
Replied by rodw on topic PlasmaC laser offset (SOLVED)
If you are using Gmocappy, you can use the provided Macro buttons. I suspect that will sort out the screen refresh as I've never noticed the problem Greg mentioned doing it that way.

Please Log in to join the conversation.

Time to create page: 0.085 seconds
Powered by Kunena Forum