Another plasma component...

More
25 Apr 2019 17:20 #131871 by islander261
Phill

Does this code mean that both THC enable and using auto volts need to be true for IHS Skip to work?
...
            if(thc_enable && use_auto_volts){
                axis_x_finish = axis_x_position;
                axis_y_finish = axis_y_position;
            }else{
                axis_x_finish = 0;
                axis_y_finish = 0;
            }
...

I am just trying to plot a work around for my IHS Skip problem.

John

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

More
25 Apr 2019 20:23 #131881 by rodw
Replied by rodw on topic Another plasma component...

Rod

Here is my typical work flow as it may help clear things up. Using Gmoccapy in the Plasmac branch.


John, thanks. Thats exactly what I worked out to do yesterday. Also yesterday Todd posted a G54 touch off routine that he uses to probe for the surface on his routers which was kind of perfect timing.
forum.linuxcnc.org/10-advanced-configura...-off-material-origin

The reason why I wanted to understand the gcode was it would be good to add some macro buttons to Gmocappy. One to touch off X & Y with one button press and maybe another other to touch off the Z axis as Todd has done. I know the Z axis one is not really necessary but we have a probe so we should use it. This would also be efficient from changing from say 16mm to 1.6mm material to keep the plasmac probe height pretty constant (if plasmac supports using offsets in that way.)

Call me lazy, but the default touch off requires a few button presses and it would be nice to do it in one! I don't know if you guys have used them but gmoccapy macros work quite well. In fact, I have one that parks the gantry that could make the load material button redundant.

Also I think BigJohn posted some example code to use the offsets optional R parameter to avoid the need to square the sheet. Just by jogging to the position of the sheet edge at each end. Maybe I can dig it up.

John, re your IHS skip, I take it you want to calculate it from the pierce position? I think somewhere, I have a seperate component that sets a pin true if a probe is required based on a distance from probe. You might just be able to and that with a plasmac pin somehow.

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

More
25 Apr 2019 20:46 #131886 by tommylight
That was along list of procedures ! :)
Usually this is the workflow for my machines:
1 Turn power on
2 F1, F2, Home All
3 Open file
4 Press Play !
5 go grab a coffee and/or breakfast.
That is when there are no small parts to be cut, as that requires some attention to small parts peeking over the table in torches path.
Also using touch off sometimes, rarely.
The following user(s) said Thank You: rodw

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

More
25 Apr 2019 21:29 #131893 by islander261
Rod

Yes, I have a number of macros I use with Gmoccapy, mostly for testing. I really find it very easy to use. The real world is most sheets are parallelogram shaped. I haven't tried JT's approach. When all is said and done I usually spend less than 2 minutes getting the work piece material square to the machine and origin offsets entered for 45 to 90 minutes of cutting.

John

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

More
25 Apr 2019 23:27 - 25 Apr 2019 23:28 #131902 by phillc54
Guys,
I am away until Monday afternoon so I will only be able to answer questions, please keep them short as I don't like hate typing on my phone which is the only device I will have with me.

islander261 wrote:
Does this code mean that both THC enable and using auto volts need to be true for IHS Skip to work?

John,
Yes that is part of it, it also needs changes to the cut_offset calculation to do what you want:
if((axis_x_finish || axis_y_finish) && first_cut_finished){
    cut_offset = sqrt(pow(axis_x_finish - axis_x_position, 2) + pow(axis_y_finish - axis_y_position, 2));
    axis_x_finish = 0;
    axis_y_finish = 0;
}
I will work on this when I get back.
In the statistics do you want distance in inches or feet & inches?

Cheers, Phill.
Last edit: 25 Apr 2019 23:28 by phillc54.

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

More
26 Apr 2019 00:55 #131911 by islander261
Phill

Have well deserved weekend away! I'm glad that I'm not the only one that has trouble coping with all the small stuff on phones. I actually only turn mine on if I go to the mainland in case one of my old vehicles dies on the freeway( dual or more carriage way)!

I am aware of the need for changing the offset calculation if the reference point is changed. I just hadn't heard mention of the needing to be in auto volts mode before.

Machine work in imperial units traditionally uses inches as the measurement unit here. Feet and inches is usually reserved for the construction trades here and if you are racing horses furlongs get the nod.

John
The following user(s) said Thank You: phillc54

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

More
26 Apr 2019 01:25 #131914 by rodw
Replied by rodw on topic Another plasma component...
Phill,
IDEA TIME: When you are next touching your Python code, could you add a ToolID field to your materials file? No need to display it but maybe auto add it starting at 1 in the python structure if its not in the materials file to support existing configs?

I was having a look at the Toolchange docs . I think if you did this, it would be very easy to select the material from Gcode with a Tnn M6.

Plasmac would need to receive a pin from iocontrol and set another pin once the correct material is selected.
In a sheetcam environment, the only variable that needs to be sent to the post processor would be the ToolID for the Tnn M6

Would be very cool.... :)
The following user(s) said Thank You: phillc54

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

More
26 Apr 2019 01:41 #131916 by phillc54
Rod,
That would not be too hard, I will post a more detailed response when I get back to a real keyboard.

Cheers, Phill.

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

More
26 Apr 2019 01:46 #131917 by rodw
Replied by rodw on topic Another plasma component...

Rod,
That would not be too hard, I will post a more detailed response when I get back to a real keyboard.

Cheers, Phill.


Thats what I thought so I'll wait patiently. :)

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

More
26 Apr 2019 04:11 #131921 by islander261
Phill

I have often wondered why the plasma world doesn't handle cutting parameters this way. I think this is going back to the Mach legacy and a fixed tool table structure.

John

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

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