PlasmaC laser offset (SOLVED)

More
25 Oct 2020 15:30 - 26 Oct 2020 12:05 #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
Last edit: 26 Oct 2020 12:05 by Clive S.

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

More
25 Oct 2020 23:56 #187258 by phillc54
Replied by phillc54 on topic PlasmaC laser offset

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:
\ %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.
The following user(s) said Thank You: Clive S, snowgoer540

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

More
26 Oct 2020 00:15 #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 or Create an account to join the conversation.

More
26 Oct 2020 01:11 #187262 by phillc54
Replied by phillc54 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).

Mmmm, those lamb cutlets were delicious. :)

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

More
26 Oct 2020 01:46 #187265 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).

Mmmm, those lamb cutlets were delicious. :)


:laugh: heard it pairs well with a good bourbon
The following user(s) said Thank You: Clive S

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

More
26 Oct 2020 12:07 - 26 Oct 2020 22:40 #187301 by Clive S
Thanks Phill. That did the trick :)

Edit: Thanks to snowgoer540 for the help as well.
Last edit: 26 Oct 2020 22:40 by Clive S.
The following user(s) said Thank You: phillc54, snowgoer540

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

More
26 Oct 2020 22:30 #187348 by phillc54

Thanks Phill. That did the trick :)

No worries Clive. And thanks to snowgoer540 for contributing this HAL pin.
The following user(s) said Thank You: snowgoer540

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

More
27 Oct 2020 08:00 #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 or Create an account to join the conversation.

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