Another plasma component...

More
7 years 5 months ago #133683 by rodw
Replied by rodw on topic Another plasma component...
Phill

Error

Attachment not found



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

Please Log in to join the conversation.

More
7 years 5 months ago #133684 by phillc54
Rod,
Could you post the gcode file you were trying to load.

Please Log in to join the conversation.

More
7 years 5 months ago #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

Attachment not found



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

Please Log in to join the conversation.

More
7 years 5 months ago #133686 by phillc54
OK, replace line 24 with:
Code:
a,b = line.lower().strip().split('p',1)

Please Log in to join the conversation.

More
7 years 5 months ago #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
Code:
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
Code:
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

Attachment not found

e post.

Please Log in to join the conversation.

More
7 years 5 months ago #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 to join the conversation.

More
7 years 5 months ago #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!

Please Log in to join the conversation.

More
7 years 5 months ago #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:
Code:
configs/sim/gmoccapy/plasmac/plasmac_gcode.py
If you get an error, ensure this file is executable


Change kerf crossing calculations, modified files:
Code:
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:
Code:
hal/components/plasmac.comp


Cheers, Phill.

Please Log in to join the conversation.

More
7 years 5 months ago #133702 by rodw
Replied by rodw on topic Another plasma component...
Phill, you forgot this in plasmac_gcode.py
Code:
#first, last = line.lower().strip().split('p') first,last = line.lower().strip().split('p',1)

But I have it going now!

Please Log in to join the conversation.

More
7 years 5 months ago #133709 by phillc54
Thanks Rod, it is fixed now...

Please Log in to join the conversation.

Time to create page: 0.297 seconds
Powered by Kunena Forum