Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: avirostick on March 26, 2009, 05:58:54 PM
-
I wrote up a simple program with my Kentech Kipware M software. It transfered onto my Mach3 screen easy enough. After setting offsets and zeroing, I figured I would just hit cycle start and go. I must be missing something, because all I get is a "Bad character used" message. The Kipware default is Fanuc. I think it must have something to do with a step I'm missing between writing program, and transferring it to Mach, but I'm new and don't know what to do. Thanks a lot for helping me with this.
-
Attach your code and someone will know what it is but the most common one is typing the letter O instead of a Zero 0
Hood
-
The manufacturer said that some codes in fanuc aren't compatable with Mach, like G28. This might be it. I'll see about posting the program here in a bit.
-
G28 is a valid Mach command.
Hood
-
This has been a long day. I tried to paste the program up here for all to view. Now I can't even do that because the files simply won't open. They load up in Mach, and come up on the screen, but I can't simply open them up through Adobe or view them to copy and paste. How do you guys show your programs?
-
You can attach it by using the additional options button on the reply page, you may have to rename it if someone has already attached a file with the same name.
Hood
-
I'll try it right now, but I'm not promising it will work.
-
I understand what you mean about the icons on the reply screen but i'm still not able to attach the code this way yet. Can I send you a pic of my code as it is on the Mach screen? I'm uploading the pics as we speak.
-
This is how you attach the files, once you clcik on the addition options button you will see as in the pic below, just click on choose and browse your drive to the location of the file and select it.
Hood
-
I tried to attach pics, don't think they went through though. I'll try somehow to attach the code some other way. Thanks.
-
Will look tomorrow, its 2:30 am here so off for some sleep.
Hood
-
Here's my program. I have 3 screen shots, but I think there's enough to see if I'm doing something wrong,
-
And scrolled down a bit...
-
Last one...
-
avirostick,
If the program opens in MACH then just click EDIT , then save as a text file with a name of your choice.
I will assume that you have notepad as your default editor.
You can use the saved file for posting to this site. Suggest you find out what Fanuc gcode generated from
your program are not compatable with Mach. Usualy a program will provide a "post processor" specific for another program whch magicly changes the code such that it is usable for the recieving program.
Sorry but i know nothing about Fanuc specifcs.
I see you posted but will still post this.
RICH
-
Ok. I needed to get that info down for attaching stuff in the future. Thanks for the heads up. I'm sure it will help.
-
I see a few problems but I am not the best a Gcode especially when subs etc are present I will see if Graham will have a look.
Hood
-
I got it straightened out now. I was not starting the program in the correct place. Actually, I had too much going on in the beginning of my program and it couldn't read it correctly. Thanks a lot Hood for your help, and Rich too. I'll know how to properly attach code to the forum in the future.