Machsupport Forum
G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: laserman on January 06, 2011, 03:37:43 PM
-
first post sorry to ask a dumb question but my boss is putting his boot in my A$$.
New microproto machine can jog around and have understanding of operation and movements.
question- i need to move to a spot and drill a hole and move and drill. I can research peck drilling and practice the move.
BUT- Do i write the code in note pad and save it? or what can i do? I am successful using the MDI but i want to write a simple code, save it and open it so the machine will run the code. I am a TOTAL G-Code virgin.
please help ... it is hard to sit down.
-
YEP notebook works, save as a filename.txt .
(;-) TP
-
Hmm,
Maybe ask the boss to buy you book on programing which would save having his shoes getting soiled. :D
You'll a pro in no time.........Smid CNC Programing Handbook .....highly recomended.
RICH
-
thank you guys for the quick response. I will check into that book.
I was sucessful at writing simple code in notepad and saving it as a .txt file and the machine moves as instructed.
However...when importing code it comes in as a large font and only will let me make about 5 movements and cuts every thing after 5 movements off even tho I programmed more operations. I changed the font in the notepad doc to 8 point font and that didnt allow more operations.
I appreciate forum members greatly as i am a major contributor on a laser forum. I want to learn CNC basics, our major applications are very simple move and drill in plastics no power user functions necessary for me.
-
Can you post an example of your code??
(;-) TP
-
x1.5
y-.5
z-.25
z.25
x2
y-1
z-.25
z.25
x0
y0
-
I dont see any reason that the code would cut off. Those are individual lines correct? Each line does have a line total of characters but I think it is around 255 characters.
Do you see any errors in the lowere staus box when it stops?
What are you creating code in that you import?
(;-) TP
-
Thank you BR549 for holding my hand.
They are individual lines of code (hitting return between each line) in MS notepad When i changed the font to 8 point I was finally able to get all 10 commands to show up on the g code list the font on the list appears to be large (screen resolution???) No error messages show up in the status box. I dont know how to take a screen shot or i would post that.
Thanks BR549
If you want to call me my phone number is 876-5309 ;D
-
Now are you saying that you cannot see the entire list of code? Mach will only display so many lines of code in the display window. As the program runs the list scrolls down thru the Gcode program and the current line is highlighted.
IF you select single block then the code will run 1 line at a time each time you press cycle start.
You can also SET the FONT size of the display .
(;-) TP
-
you cant see me (thank God) because im doing the happy dance.
I was sucessful at importing 60 lines and operating them start to finish
HOWEVER.... ;D ;D ;D ;D How can I change the font size in the g code window. All lines do show up and step properly but the font is cut off about 30 % of the bottom of each line.
Thanks obonekenobie...your my only hope ;D
-
On the main screen at the top select Function Cfg. Then select FONTS then code and set the size you want. You may have to restart mach for the change to take effect.
(;-) TP
-
than you br549, however no ceremonious dance in the end zone. I did function cfg changed the font size and went to config and hit save settings to no avail. Even did the same thing and closed mach and restarted it to no avail.
I dont know if this is normal but the font in the GUI main screen appears to be big font and cut off in places. I tried to change the settings in my control panel for display, its is no real biggie but it would be nice to figure it out.
I found that notepad only allowed so many lines of code to be typed in so i open a word doc type code in there and then open edit gcode and paste code in there and i get plenty of lines of code.
Thank you for your help, it is greatly appreciated!
pat b
-
OK go back to Config then GenConfig then look in the screen control section and see if auto screen enlarge is checked if not try that.
(;-) TP
-
it was not, but i checked it and said ok, and fonts did not go smaller, so I went back and unchecked it, clicked ok. no change :(
teh real problem with is is in the gcode window the font is so big and cut off at the bottom i cant see if there is a decimal point and that can be kind of a problem when im thinking im drilling -.1 and it says -1 :o :o :o
-
I never tried changing the fonts on my end.
So I tried and no matter what i did the fonts would not change for code and stayed the same.
Go out, come back in,save settings, outo enlarge screen.....
The only problem is that Laserman seems to have his stuck at at some large size.
That's all i know about it and don't recall anyone posting that they had a problem in the last few years.
What more can i say ........ver 3.042.033
Maybe try reloading Mach and see what happens.....
RICH
-
It is more a annoyance than a hinderence. Im just thrilled that you guys are so responsive to helping me with my issues. I was able to get about three pages of code to import and do my drilling job.
I am using Version R3.042.040
my daughter is haveing a knee operation and when i get back from that i will try to see if there are any updates available on teh website. I can try to trash it and reload program to see if that fixes this little problem.
thanks guys!
-
Hi, Pat,
As per the font issue, please right click on the windows desktop and choose "properties". Then click "settings" tab, then "advanced" button.
Now what DPI setting do you have shown in the drop box, 120 ?
A lot of folks are getting the newer monitors, and we're all cranking up the DPI so that things aren't painfully small. This unfortunately makes Mach 3 fonts much larger and get cutoff :(
Dave
-
budman68, (dave)
thank you!!! you hit the perverbial nail on the head, The setting was at 120 and I changed it to 96 and restarted the computer and Mach3 and it came in beautiful. Perfect font size for the windows and g-code. I knew it was probably pilot or a settings error.
I will try to read threads of interest before asking questions but i was under a gun for a week or so and you guys really came through, so thanks to all.
pat b
-
Glad to be of some help to you- :)
Dave