Another plasma component...

More
14 May 2019 04:16 #133683 by rodw
Replied by rodw on topic Another plasma component...
Phill

Error


If anybody else is following, you need to give the file execute permissions.
Attachments:

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

More
14 May 2019 04:18 #133684 by phillc54
Rod,
Could you post the gcode file you were trying to load.

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

More
14 May 2019 04:30 #133685 by rodw
Replied by rodw on topic Another plasma component...

phillc54 wrote: Rod,
Could you post the gcode file you were trying to load.


No Need


You are not allowing for comments so probably should throw away anything after a ( or a ; to be more robust.)
Attachments:

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

More
14 May 2019 04:31 #133686 by phillc54
OK, replace line 24 with:
        a,b = line.lower().strip().split('p',1)

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

More
14 May 2019 05:07 #133688 by rodw
Replied by rodw on topic Another plasma component...
Perfect thanks Phill, I had to put my comments back into the post!

For those following, I've attached a zip file containing the post, the output and a dxf file to practice with.
Make a new tool called CenterPunch, create a new layer called holes, move the holes to that layer. apply a drill operation with the CenterPunch tool. Make sure the min and max hole is big enough in that operation 12mm or 1/2" should do.
Then add a plasma tool on the remaining elements on the base layer and run the post processor

There are a couple of G1's and G0's on a line on their own. This is a Sheetcam thing and the files cut fine.

@John,
I have left these variables in the post but they are not referenced
torchOnCode   = " M64 P1"
torchOffCode   = " M65 P1"

Do we need them?

@Stephan
@Pedro
calling those who are using the Hypertherm RS485 interface.
How are you using it to set amps and pressure?
There is a flag in the post to enable Full comms, let me know how we should fold that in.
I was kind thinking it should be simple so that a separate analog pin for each setting so that M68/M67 could be used to set these parameters from the Gcode. eg
M67  E0 Qnn (set pressure)
M67 E1 Qnn  (set amps)
I think plasmac has done enough so these would be linked to the sheetcam post variables.

And remind me to put some GPL comments in th

File Attachment:

File Name: Postsamples.tar.gz
File Size:11 KB
e post.
Attachments:

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

More
14 May 2019 05:13 #133689 by phillc54
Rod,
It may be better to start a new thread called 'SheetCam with plasmac' or similar for this as it is more SheetCam related than plasmac.

Cheers, Phill.

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

More
14 May 2019 05:23 #133690 by rodw
Replied by rodw on topic Another plasma component...

phillc54 wrote: Rod,
It may be better to start a new thread called 'SheetCam with plasmac' or similar for this as it is more SheetCam related than plasmac.

Cheers, Phill.


Yes, lets continue the conversation on the existing thread here here

But at least for completeness, we've got everything here around today's effort! It just gets better and better!
The following user(s) said Thank You: phillc54

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

More
14 May 2019 06:09 #133694 by phillc54
I have pushed yet more updates, just trying to keep you guys on your toes...
You will need to run make after pulling these.

Report if material is not found, modified file:
configs/sim/gmoccapy/plasmac/plasmac_gcode.py
If you get an error, ensure this file is executable


Change kerf crossing calculations, modified files:
configs/sim/gmoccapy/plasmac/plasmac_config.glade
configs/sim/gmoccapy/plasmac/plasmac_config.hal
configs/sim/gmoccapy/plasmac/plasmac_config.py
configs/sim/gmoccapy/plasmac/plasmac_run.glade
configs/sim/gmoccapy/plasmac/plasmac_run.hal
configs/sim/gmoccapy/plasmac/plasmac_run.py
configs/sim/gmoccapy/plasmac/test/plasmac_test.glade
hal/components/plasmac.comp


Disable IHS Skip after an error, modified file:
hal/components/plasmac.comp


Cheers, Phill.
The following user(s) said Thank You: rodw

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

More
14 May 2019 06:54 - 14 May 2019 06:55 #133702 by rodw
Replied by rodw on topic Another plasma component...
Phill, you forgot this in plasmac_gcode.py
        #first, last = line.lower().strip().split('p')
        first,last = line.lower().strip().split('p',1)     

But I have it going now!
Last edit: 14 May 2019 06:55 by rodw.

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

More
14 May 2019 07:42 #133709 by phillc54
Thanks Rod, it is fixed now...
The following user(s) said Thank You: rodw

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

Time to create page: 0.162 seconds
Powered by Kunena Forum