My first NC question... be gentle
-
- 3 Star Member
- Posts: 265
- Joined: Sat Aug 29, 2015 9:32 pm
- Location: North Central Pennsylvania
My first NC question... be gentle
OK... I have my CandCNC setup on the bench and I am attempting to get it to run properly before putting it on the actual table.
Everything seems to be working great except that I can't get the motors on the bench to run at 'full-cut speed' after the first cut. For example, when I run the g-code, it does a rapid to the first cut, then it makes the first cut at whatever speed the tool is set to run at, then all subsequent cuts are made at 20 IPM....
1) All of the motors are hooked up and work properly when jogging
2 I added a limit switch for the z touch off that I trip manually when it goes to do each touch off while running in AUTO
3) I loaded this DXF into SheetCAM (http://plasmaspider.com/viewtopic.php?f ... 15#p112528)
4) I loaded the LCNC_Hypertherm45-105+codes.tools toolset
5) I picked T1-45A-26ga steel tool
6) I created a new jet cutting operation 7) Run the CandCNCPlasmaLLCNC-rev14 post processor, save TAP file
8) Load TAP file in CommandCNC 9) Zero everything, press RUN, motors rapid to first cut, starts touch off, manually trip z-switch
10) The first cut is made at 350 IPM
11) Rapids to next cut, starts touch off, manually trip z-switch... the cut is made at 20IPM along with all the rest of the cuts
Attached is the TAP file...
I'm sure it's some setting that I don't know to set... any help would be much appreciated. Hopefully I can work through this learning curve quickly.
Thanks!
Everything seems to be working great except that I can't get the motors on the bench to run at 'full-cut speed' after the first cut. For example, when I run the g-code, it does a rapid to the first cut, then it makes the first cut at whatever speed the tool is set to run at, then all subsequent cuts are made at 20 IPM....
1) All of the motors are hooked up and work properly when jogging
2 I added a limit switch for the z touch off that I trip manually when it goes to do each touch off while running in AUTO
3) I loaded this DXF into SheetCAM (http://plasmaspider.com/viewtopic.php?f ... 15#p112528)
4) I loaded the LCNC_Hypertherm45-105+codes.tools toolset
5) I picked T1-45A-26ga steel tool
6) I created a new jet cutting operation 7) Run the CandCNCPlasmaLLCNC-rev14 post processor, save TAP file
8) Load TAP file in CommandCNC 9) Zero everything, press RUN, motors rapid to first cut, starts touch off, manually trip z-switch
10) The first cut is made at 350 IPM
11) Rapids to next cut, starts touch off, manually trip z-switch... the cut is made at 20IPM along with all the rest of the cuts
Attached is the TAP file...
I'm sure it's some setting that I don't know to set... any help would be much appreciated. Hopefully I can work through this learning curve quickly.
Thanks!
Last edited by Simko on Sat Mar 19, 2016 11:22 pm, edited 2 times in total.
Steve
Homebrewed plasma table in the works, NSK linear rails, 3.2:1 belt reduction, CandCNC Plazpak 1A with DTHCIV Ethercut, Hypertherm 85, CommandCNC and SheetCAM
Click here for build post
Homebrewed plasma table in the works, NSK linear rails, 3.2:1 belt reduction, CandCNC Plazpak 1A with DTHCIV Ethercut, Hypertherm 85, CommandCNC and SheetCAM
Click here for build post
- acourtjester
- 6 Star Elite Contributing Member
- Posts: 7821
- Joined: Sat Jun 02, 2012 6:04 pm
- Location: Pensacola, Fla
Re: My first NC question... be gentle
I am assuming the G-code should be the same as Mach so if you look at the speed commands they will be after the position instructions (G0 or G1) along with with what axis it is moving. As you said the first is 350 IPM so that speed command is F350 look down the G-code the touch off speed will be less and then speed back up after that for the next cut operation. I know mach only changes speed by command. your g-code may not be changing speeds after the second touch off. If there is no new F commands you will not change speeds.
example
G1X5.09Y12.4F350 this is to move the X to 5.09 and the Y to 12.4 at 350 IPM
example
G1X5.09Y12.4F350 this is to move the X to 5.09 and the Y to 12.4 at 350 IPM
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
-
- 3 Star Member
- Posts: 265
- Joined: Sat Aug 29, 2015 9:32 pm
- Location: North Central Pennsylvania
Re: My first NC question... be gentle
That is exactly how it is acting! There must be some setting that I am missing in SheetCAM to set the speed on all the cuts to the rated tool speed.
Steve
Homebrewed plasma table in the works, NSK linear rails, 3.2:1 belt reduction, CandCNC Plazpak 1A with DTHCIV Ethercut, Hypertherm 85, CommandCNC and SheetCAM
Click here for build post
Homebrewed plasma table in the works, NSK linear rails, 3.2:1 belt reduction, CandCNC Plazpak 1A with DTHCIV Ethercut, Hypertherm 85, CommandCNC and SheetCAM
Click here for build post
-
- 2.5 Star Member
- Posts: 162
- Joined: Sun Jan 12, 2014 2:30 pm
Re: My first NC question... be gentle
Hello
Acourtjester is correct.
The F (feedrate) command is modal. This means that once it is set by a command it stays at that feedrate until it is changed by a new feed rate command. When you touch off you are setting a slower feedrate so you don't smash your torch into your work then after your touch off you (Sheetcam) didn't reset the feedrate to the correct speed. The problem is in your Sheetcam settings or post, most likely in your settings. You can manually fix the file if you want to by adding F350 to the first movement block (command) after each touchoff.
John
Acourtjester is correct.
The F (feedrate) command is modal. This means that once it is set by a command it stays at that feedrate until it is changed by a new feed rate command. When you touch off you are setting a slower feedrate so you don't smash your torch into your work then after your touch off you (Sheetcam) didn't reset the feedrate to the correct speed. The problem is in your Sheetcam settings or post, most likely in your settings. You can manually fix the file if you want to by adding F350 to the first movement block (command) after each touchoff.
John
- acourtjester
- 6 Star Elite Contributing Member
- Posts: 7821
- Joined: Sat Jun 02, 2012 6:04 pm
- Location: Pensacola, Fla
Re: My first NC question... be gentle
In SheetCam you set the feed rate for each tool and after you modify the tools you must save the changes by saving the tool sets. Wither by giving it a name you choose or "save default tool set". If you use you use your name you must load that each time you run SheetCam. If you save it as default it will load that each time normally.
DIY 4X4 Plasma/Router Table
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
Hypertherm PM65 Machine Torch
Drag Knife and Scribe
Miller Mig welder
13" metal lathe
Small Mill
Everlast PowerTig 255 EXT
- tnbndr
- 4.5 Star Elite Contributing Member
- Posts: 1671
- Joined: Mon Jan 09, 2012 4:30 pm
- Location: New Berlin, WI
- Contact:
Re: My first NC question... be gentle
Also, any time you make a change or edit a tool you must re-apply that tool to the item. It does not automatically update.
Dennis
LDR 4x8, Scribe, DTHCIV
Hypertherm PM45, Macair Dryer
DeVilbiss Air America 6.5HP, 80Gal., 175psi, Two Stage
16.9scfm@100psi, 16.0scfm@175psi
Miller 215 MultiMatic
RW 390E Slip Roll (Powered)
AutoCAD, SheetCAM, Mach 3
http://ikescreations.com
LDR 4x8, Scribe, DTHCIV
Hypertherm PM45, Macair Dryer
DeVilbiss Air America 6.5HP, 80Gal., 175psi, Two Stage
16.9scfm@100psi, 16.0scfm@175psi
Miller 215 MultiMatic
RW 390E Slip Roll (Powered)
AutoCAD, SheetCAM, Mach 3
http://ikescreations.com
-
- 2.5 Star Member
- Posts: 186
- Joined: Tue Mar 22, 2016 10:30 am
Re: My first NC question... be gentle
This is a bug in the post processor. I don't have a copy of that post but it looks like the post is written to output this line as simple text:
G38.2 Z-0.50 F#<_hal[gscreen.toffrate-s]>
As it is just text the post processor has no way of knowing the feed rate has changed. If you post a copy of the post processor here I'll fix it for you.
G38.2 Z-0.50 F#<_hal[gscreen.toffrate-s]>
As it is just text the post processor has no way of knowing the feed rate has changed. If you post a copy of the post processor here I'll fix it for you.
This will happen for some parameters such as feed rate. Feed rate on the tool definition is just the default value and it is quite common to change it in the operation to suit your specific task. Parameters like this will have an 'update operations' button next to them. This button will apply that parameter to all operations using that tool.Also, any time you make a change or edit a tool you must re-apply that tool to the item. It does not automatically update.
-
- 3 Star Member
- Posts: 265
- Joined: Sat Aug 29, 2015 9:32 pm
- Location: North Central Pennsylvania
Re: My first NC question... be gentle
It is looking like it may be a problem with the POST processor. Les from SheetCAM asked that I post it here to keep everything in one place.
Here is a link to the POST
http://candcnc.com/images/downloads/Can ... -rev14.zip
Here is a link to the POST
http://candcnc.com/images/downloads/Can ... -rev14.zip
Steve
Homebrewed plasma table in the works, NSK linear rails, 3.2:1 belt reduction, CandCNC Plazpak 1A with DTHCIV Ethercut, Hypertherm 85, CommandCNC and SheetCAM
Click here for build post
Homebrewed plasma table in the works, NSK linear rails, 3.2:1 belt reduction, CandCNC Plazpak 1A with DTHCIV Ethercut, Hypertherm 85, CommandCNC and SheetCAM
Click here for build post
-
- 2.5 Star Member
- Posts: 186
- Joined: Tue Mar 22, 2016 10:30 am
Re: My first NC question... be gentle
It was a bug in the post. I have attached a fixed version.
- Attachments
-
- post.zip
- (7.25 KiB) Downloaded 89 times
-
- 3 Star Member
- Posts: 265
- Joined: Sat Aug 29, 2015 9:32 pm
- Location: North Central Pennsylvania
Re: My first NC question... be gentle
THANK YOU Les!
I will try it out right now
I will try it out right now
Steve
Homebrewed plasma table in the works, NSK linear rails, 3.2:1 belt reduction, CandCNC Plazpak 1A with DTHCIV Ethercut, Hypertherm 85, CommandCNC and SheetCAM
Click here for build post
Homebrewed plasma table in the works, NSK linear rails, 3.2:1 belt reduction, CandCNC Plazpak 1A with DTHCIV Ethercut, Hypertherm 85, CommandCNC and SheetCAM
Click here for build post
-
- 3 Star Member
- Posts: 265
- Joined: Sat Aug 29, 2015 9:32 pm
- Location: North Central Pennsylvania
Re: My first NC question... be gentle
It works great... Thanks a lot Les!
Now the only big remaining issue is to figure out why I can't cut a whole file without getting an X / Y / or Z following error in CommandCNC.
Now the only big remaining issue is to figure out why I can't cut a whole file without getting an X / Y / or Z following error in CommandCNC.
Steve
Homebrewed plasma table in the works, NSK linear rails, 3.2:1 belt reduction, CandCNC Plazpak 1A with DTHCIV Ethercut, Hypertherm 85, CommandCNC and SheetCAM
Click here for build post
Homebrewed plasma table in the works, NSK linear rails, 3.2:1 belt reduction, CandCNC Plazpak 1A with DTHCIV Ethercut, Hypertherm 85, CommandCNC and SheetCAM
Click here for build post
- exapprentice
- 3 Star Member
- Posts: 357
- Joined: Mon Jul 06, 2015 1:57 pm
- Location: Wiltshire, UK
Re: My first NC question... be gentle
Hi Steve
mmmmmm
How did it go hope Les got it sorted, seems like your having a bit of a nightmare at the moment.
Keep calm and breath its only money, could be a lot worse.
I am sure things will get sorted, when I can remember when I first set up my machine the pain and all those questions in your head.
It should be so simple and straight forward , why me, I know I did what it says on the tin or did I
things look very dark at the beginning but there is light at the end of the tunnel, you just have to walk a bit further to see it
good luck and keep going, let us know how things progress
mmmmmm
How did it go hope Les got it sorted, seems like your having a bit of a nightmare at the moment.
Keep calm and breath its only money, could be a lot worse.
I am sure things will get sorted, when I can remember when I first set up my machine the pain and all those questions in your head.
It should be so simple and straight forward , why me, I know I did what it says on the tin or did I
things look very dark at the beginning but there is light at the end of the tunnel, you just have to walk a bit further to see it
good luck and keep going, let us know how things progress
Best Regards to all
Exapprentice
(Pete)
10'x5' DIY table / PM 45XP + M/C Torch - Trying to add 4 axis Tube cutting
Linux/CommandCandCNC MP3600 / PN200 / DCP-01 / PWM
Solid Edge, Inkscape, SheetCam, Scananything & Andonstar USB Microscope
Exapprentice
(Pete)
10'x5' DIY table / PM 45XP + M/C Torch - Trying to add 4 axis Tube cutting
Linux/CommandCandCNC MP3600 / PN200 / DCP-01 / PWM
Solid Edge, Inkscape, SheetCam, Scananything & Andonstar USB Microscope
-
- 3 Star Member
- Posts: 265
- Joined: Sat Aug 29, 2015 9:32 pm
- Location: North Central Pennsylvania
Re: My first NC question... be gentle
I did a little more testing this morning and the POST is working great. I can only assume that anyone else running CommandCNC with CandCNC electronics would have the same issue and should probably download the updated POST that Les modified.
I also got an email from Moses at CandCNC last night saying that he has seen similar 'following error' issues and it was identified to be a USB keyboard and/or mouse that caused the problem. I changed out the mouse and ran the Punisher file a few times and did not have ANY X/Y/Z following errors. I will do more testing, but it looks promising as I wasn't able to get more than six cuts into the file before I changed the mouse.
I may have also figured out the file close issue, but I would like to verify with someone who is running CommandCNC. Whenever I would try to close a file I would get an error saying "File ended with no percent sign" and "Can't open blank.ngc". I found where the blank.ngc file was saved (it was completely blank) and put an M2 (program end) code on line 1 and now I can close files without error. Would someone be able to verify what is actually supposed to be in the blank.ngc file. It works with an M2 (program end) or an M30 (program end, return to start) code.
Thanks for the words of encouragement Exapprentice! Things are starting to look more promising and I am able to breath a little easier now..
I also got an email from Moses at CandCNC last night saying that he has seen similar 'following error' issues and it was identified to be a USB keyboard and/or mouse that caused the problem. I changed out the mouse and ran the Punisher file a few times and did not have ANY X/Y/Z following errors. I will do more testing, but it looks promising as I wasn't able to get more than six cuts into the file before I changed the mouse.
I may have also figured out the file close issue, but I would like to verify with someone who is running CommandCNC. Whenever I would try to close a file I would get an error saying "File ended with no percent sign" and "Can't open blank.ngc". I found where the blank.ngc file was saved (it was completely blank) and put an M2 (program end) code on line 1 and now I can close files without error. Would someone be able to verify what is actually supposed to be in the blank.ngc file. It works with an M2 (program end) or an M30 (program end, return to start) code.
Thanks for the words of encouragement Exapprentice! Things are starting to look more promising and I am able to breath a little easier now..
Steve
Homebrewed plasma table in the works, NSK linear rails, 3.2:1 belt reduction, CandCNC Plazpak 1A with DTHCIV Ethercut, Hypertherm 85, CommandCNC and SheetCAM
Click here for build post
Homebrewed plasma table in the works, NSK linear rails, 3.2:1 belt reduction, CandCNC Plazpak 1A with DTHCIV Ethercut, Hypertherm 85, CommandCNC and SheetCAM
Click here for build post
-
- 4 Star Elite Contributing Member
- Posts: 1184
- Joined: Tue Aug 25, 2015 12:05 pm
- Location: Central MO, USA
Re: My first NC question... be gentle
Is CommandCNC working well for you now?
Bulltear 6x12 w/ Proton Z axis & watertable
CommandCNC/Linux w/ Ohmic & HyT options
Hypertherm Powermax 85 w/ machine torch
Solidworks, Coreldraw X7, Inkscape, Sheetcam
CommandCNC/Linux w/ Ohmic & HyT options
Hypertherm Powermax 85 w/ machine torch
Solidworks, Coreldraw X7, Inkscape, Sheetcam
-
- 4 Star Elite Contributing Member
- Posts: 1371
- Joined: Tue Feb 28, 2012 6:47 pm
Re: My first NC question... be gentle
REV16 post now supplied fixed all of the feedrate issues and the 0.6.1 update fixed the :Close" The iusse in LUNUX is that there is not such thing as a "Close:, it simply opens up a blank file in place of the one to close.