Display G code after loading a job

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Post Reply
ShawnM
Posts: 2234
Joined: Fri May 24, 2019 8:34 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 7804734C6498-0401191832
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Clearwater, FL

Display G code after loading a job

Post by ShawnM »

I have a question and can't seem to find the answer in the mill manual which tells me it may not be possible so if not a suggestion for the next update.

After I zero my machine at startup and reference x0, y0 and z0 I then load my file. Once it's loaded I'd like to see the first 11 lines of g code in the "user window" BEFORE I press cycle start. Is this possible? Is it a setting I missed?

After I load my file it shows the file name at the top in the "status window" but there's this gigantic blue void in the user window that would be perfect for displaying the first 11 lines of code BEFORE you start a job. Usually with most PP there is a lot of valuable info at the beginning of a fie.

I know I can hit "edit" and see the g code in notepad++ editor but that's an extra step and there's so much unused real estate in the "user window", why not display it there?

Once I hit cycle start then the code scrolls by so fast I miss this info.

Any suggestions?
cnckeith
Posts: 7334
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: Display G code after loading a job

Post by cnckeith »

press single block on VCP,
press cycle start and g code will appear on screen.
press ESC to cancel out of runing
or take single block off and press cycle start to start the g code program.

i've written up a feature request to add this "G code Preview" idea to CNC12 so that it previews any Gcode

related... you can graph any g code program Before loading it as well.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
ShawnM
Posts: 2234
Joined: Fri May 24, 2019 8:34 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 7804734C6498-0401191832
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Clearwater, FL

Re: Display G code after loading a job

Post by ShawnM »

Thanks Keith, than gives me the first 6 lines of code. Is that normal over the 11 lines that can be displayed?

This helps and I always have my backup method of "edit" to open Notepad ++ to see more.
cncman172
Posts: 254
Joined: Thu Nov 02, 2017 4:07 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 985DAD429EE9-0926170118
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: Westerville, Ohio

Re: Display G code after loading a job

Post by cncman172 »

ShawnM,
I had the same exact question, and use your exact work around by opening the gcode file with an editor to check. Thanks

Russ
ShawnM
Posts: 2234
Joined: Fri May 24, 2019 8:34 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 7804734C6498-0401191832
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Clearwater, FL

Re: Display G code after loading a job

Post by ShawnM »

cncman172 wrote: Tue Jun 04, 2019 11:05 am ShawnM,
I had the same exact question, and use your exact work around by opening the gcode file with an editor to check. Thanks

Russ
I just like to do a quick check of as much s possible BEFORE I hit that cycle start button. :mrgreen: It's just one extra step from me but for now I'll live with it. I've been refining tool change macros to have as little user input from me as well. Still tweaking.
martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Display G code after loading a job

Post by martyscncgarage »

I always press F8 Graph before running the program. CNC12 will run through the entire program and show you the tool path on the screen. It will also bark at you if your part is out of the machine axis bounds.

You can and should turn your feed rate down while you run the first part so you can reach to anything. As Keith mentioned, single block mode is also a useful tool.

Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
Post Reply