Homemade, cheap, plasma CNC

More
5 years 3 months ago #215277 by phillc54

There should only be a single point of truth and Sheetcam assumes it is that source. But Plasmac assumes the same too!
Not everyone uses SheetCam...

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

More
5 years 3 months ago #215290 by rodw
Replied by rodw on topic Homemade, cheap, plasma CNC

There should only be a single point of truth and Sheetcam assumes it is that source. But Plasmac assumes the same too!
Not everyone uses SheetCam...
Of course, thats understood.  The Sheetcam paradigm is  a lot older than Plasmac's so its good it can be used as it was intended. So thanks for adding the enabling feature...

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

More
5 years 3 months ago #215317 by RNJFAB
Replied by RNJFAB on topic Homemade, cheap, plasma CNC
 

Which one do you recommend?

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

More
5 years 3 months ago #215318 by rodw
Replied by rodw on topic Homemade, cheap, plasma CNC
one below your cursor
The following user(s) said Thank You: RNJFAB

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

More
5 years 2 months ago #216690 by RNJFAB
Replied by RNJFAB on topic Homemade, cheap, plasma CNC
Thanks Phil,

I tried this tonight finally, unfortunately my code knowledge is limited to basic arduino.

The cnc computer isn't on the net so i'll just type in below what i have tried. spoiler alert, it didn't work.

HAL file

# external output signals

# - - - LASER - - -
net laser <= hm2_7i96.0.ssr.00.out-01

INI file
BUTTON_2_NAME = LASER
BUTTON_2_CODE =laser

This doesn't work and I get the following error
"Unknown word starting with a (big red circle with white X in it)"

Any guidance on how to make it work would be greatly appreciated.

Cheers

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

More
5 years 2 months ago - 5 years 2 months ago #216692 by snowgoer540
A few things probably to get you there...

1. In the ini file, the BUTTON_2 lines are not necessary, as there is a LASER button that does this all by default. The button is not shown by default unless you specify a laser offset in the .ini file. You need to add the offset line in the [QTPLASMAC] section of the .ini file:
Code:
LASER_TOUCHOFF = Xoffset Yoffset


Where "offset" is the distance from the centerline of the torch to the laser's cross hairs.

2. The output pin needs to be netted to qtplasmac.laser_on in the .hal file, like this:
Code:
# - - - LASER - - - net laser qtplasmac.laser_on <= hm2_7i96.0.ssr.00.out-01


Unsure how old your config is, but if you used pncconf recently, you may be able to go back in and specify a laser offset, as well as pick a pin for the laser output, which should do everything I mentioned above automagically.

3. A better explanation of what I just typed, as well as a detailed explanation of how to use the LASER button is covered here: linuxcnc.org/docs/devel/html/plasma/qtplasmac.html#qt_laser

Let us know if you have any questions.
Last edit: 5 years 2 months ago by snowgoer540.

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

Time to create page: 0.218 seconds
Powered by Kunena Forum