Cnc12 V5.06 loading a program

All things related to Centroid Oak, Allin1DC, MPU11 and Legacy products

Moderator: cnckeith

Houseman303
Posts: 106
Joined: Sun Nov 12, 2023 1:33 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: A901313
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Switzerland

Cnc12 V5.06 loading a program

Post by Houseman303 »

CNC12 V5.06

After loading a program, it can only be seen when you press start, so it is processed immediately. Bug or incorrect settings? At the end of a program, the display stops at M30. Bug? Definition of: Command M30 ends the executed program of automatic mode and jumps back to the beginning of the program.
IMG20231223132312.jpg
tblough
Posts: 3102
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: Cnc12 V5.06 loading a program

Post by tblough »

Programs are displayed when running. They are running once you press start. The control is behaving correctly. M30 stops the program. When the program ends, the program window displays the last line executed. Again, proper control operation.
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
Nigelo
Posts: 370
Joined: Tue Dec 11, 2018 4:03 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: F045DA80C8B8-0905181172
E415F6F70BC3-0318203049
98F07B91FC6B-0123236802
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: UK

Re: Cnc12 V5.06 loading a program

Post by Nigelo »

Houseman303 wrote: Tue Dec 26, 2023 4:55 am At the end of a program, the display stops at M30. Bug? Definition of: Command M30 ends the executed program of automatic mode and jumps back to the beginning of the program.
The definition of M30 is clearly described in the Centroid's Mill Operation manual which I suggest you refer. The September 2023 version describes this as follows in section 13:

13.19 M30 – Custom M-code
An M30 is posted at the end of every G-code program. M30 as an end of program code is an industry-standard. By
default, M30 performs no operation. If you wish to perform certain operations at the end of every program, this M-code
can be customized to meet you needs. For more information on customizing M-codes, see the beginning of this
chapter.


So Tom is correct and no bugs at all
Hope this helps
Nigel

"You can lead a horse to water but you cannot force it to drink"
Houseman303
Posts: 106
Joined: Sun Nov 12, 2023 1:33 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: A901313
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Switzerland

Re: Cnc12 V5.06 loading a program

Post by Houseman303 »

OK, M30 can be adapted if you know how. I still don't know of any controls where you load a program and only see it when you start it. That makes no sense! :oops:
suntravel
Posts: 1978
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: Cnc12 V5.06 loading a program

Post by suntravel »

Click edit to look at the g-code.

CNC12 is using NPP to view/edit g-code, IMHO better than the build in editors of most other CNCs

Uwe
Nigelo
Posts: 370
Joined: Tue Dec 11, 2018 4:03 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: F045DA80C8B8-0905181172
E415F6F70BC3-0318203049
98F07B91FC6B-0123236802
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: UK

Re: Cnc12 V5.06 loading a program

Post by Nigelo »

I forgot to mention that it's good practice to Graph a program immediately after loading as a quick and simple error check - something I always do.

As Uwe says, the Edit is there for viewing your code, especially useful when using N++ as the default and configured to your liking
Hope this helps
Nigel

"You can lead a horse to water but you cannot force it to drink"
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: Cnc12 V5.06 loading a program

Post by ShawnM »

Nigelo wrote: Tue Dec 26, 2023 11:33 am I forgot to mention that it's good practice to Graph a program immediately after loading as a quick and simple error check - something I always do.
Good point Nigelo, in my opinion this should be mandatory and not just "good practice" as I always graph every job before I hit cycle start. This is an awesome and under used feature of CNC12. Several people I've helped dont even know about it and just blindly hit cycle start after loading the job. :o

My fiber laser software wont even export the file for cutting without doing a similar process. This way I always know there are no errors with anything.
Houseman303
Posts: 106
Joined: Sun Nov 12, 2023 1:33 pm
Acorn CNC Controller: No
Plasma CNC Controller: No
AcornSix CNC Controller: No
Allin1DC CNC Controller: No
Hickory CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: A901313
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Switzerland

Re: Cnc12 V5.06 loading a program

Post by Houseman303 »

I simulate the program in the cam program. More important are the setup data for the zero point and blank, which are stored in my programs. After loading, they were immediately readable. now just awkward.
suntravel
Posts: 1978
Joined: Thu Sep 23, 2021 3:49 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 6433DB0446C1-08115074
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Germany

Re: Cnc12 V5.06 loading a program

Post by suntravel »

If you set origins in g-code it will be stored in the CNC only after running the g-code.

Some Siemens CNC are loading jobs, several files with g-code, tool lib and origins, ect.

Just another workflow as Centroid.

But if you like, write some code to store and restore the files with the g-code together, it could be done with a batch file or other scripting tools.

Uwe
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: Cnc12 V5.06 loading a program

Post by ShawnM »

Houseman303 wrote: Tue Dec 26, 2023 1:37 pm I simulate the program in the cam program. More important are the setup data for the zero point and blank, which are stored in my programs. After loading, they were immediately readable. now just awkward.
Au contraire mon frère, simulating or graphing the cut in your CAM software does nothing unless it knows the limits of your CNC and where you've set your G54 zero, zero position in CNC12. :o
Post Reply