Search found 35 matches
- Wed Feb 26, 2025 2:20 pm
- Forum: Centroid CNC12 APi Discussions
- Topic: SetSystemVariable?
- Replies: 6
- Views: 18322
Re: SetSystemVariable?
If you want the single line call, yes. If you're not interested in upgrading, you can cheese it a little with public CentroidAPI.CNCPipe.ReturnCode SetUserVariable(int variableNumber, double newValue) { var cncPipe = new CentroidAPI.CNCPipe.Job(m_pipe); string command = "#" + variableNumbe...
This post has been liked 1 time(s).
- Wed Feb 26, 2025 2:10 pm
- Forum: Centroid CNC12 APi Discussions
- Topic: SetSystemVariable?
- Replies: 6
- Views: 18322
Re: SetSystemVariable?
What version of software are you using? The SetSystemVariable call was added in CNC12 v5.24
This post has been liked 1 time(s).
- Thu Jan 30, 2025 10:35 am
- Forum: Centroid CNC12 APi Discussions
- Topic: API lookahead?
- Replies: 2
- Views: 5744
Re: API lookahead?
The calls GetCurrentLineInfo(out int line_number, out int program_number, out int stack_level) and GetCurrentStackLevelZeroLineInfo(out int line_number, out int program_number) will give you the current executed line information. GetCurrentLineInfo line_number - The current line number of the curren...
This post has been liked 1 time(s).
- Thu Jan 16, 2025 9:14 am
- Forum: Centroid CNC12 APi Discussions
- Topic: VCP and external program launch
- Replies: 4
- Views: 8050
Re: VCP and external program launch
Is it possible to configure a button on the VCP launch an external program? Thanks in advance. Yes, in the .xml for the vcp button you'll do <vcp_button> <app>C:\path\to\your\program.exe</app> </vcp_button> This is how the plasma profile manager is launched in the plasma software. You can look at ....
This post has been liked 1 time(s).
- Wed Feb 26, 2025 9:02 am
- Forum: Centroid CNC12 APi Discussions
- Topic: SetSystemVariable?
- Replies: 6
- Views: 18322
Re: SetSystemVariable?
Yes, CNCPipe.Job.SetSystemVariable(...) which has an overload for the string variables as well. Please note that #1-#149 are initialized to 0 before the beginning of a job and not every variable is writeable. More information on variables can be found in the manual in section 11.2.16: https://www.ce...
This post has been liked 0 time(s).
- Mon Feb 10, 2025 9:13 am
- Forum: Centroid CNC12 APi Discussions
- Topic: API for real-time control during machining process
- Replies: 1
- Views: 6661
Re: API for real-time control during machining process
Hello there. I am keen to explore the feasibility of dynamically controlling machining parameters—such as spindle speed, depth of cut, and more—using a programming language like Python or C during the machining process. By this way, I can monitor the machining quality and improve it by adjust the p...
This post has been liked 0 time(s).
- Tue Jan 21, 2025 9:11 am
- Forum: Public Beta CNC Software Testing, Discussion and Feedback
- Topic: CNC12 v5.24 RC5 is now available for testing
- Replies: 66
- Views: 51298
Re: CNC12 BETA v5.23 rev5 is now available for public testing
I have to wear the hat of shame at least for a day :mrgreen: Multimeter was showing action on axis 4.... ... the reason I could not see anything moving was that Wizard preset Feedrate Home is 10 in 5.23 not 254 as usual. 10 deg/min is so slow on a rotary that I thought it is not moving at all :D Uw...
This post has been liked 0 time(s).
- Mon Jan 20, 2025 1:33 pm
- Forum: Public Beta CNC Software Testing, Discussion and Feedback
- Topic: CNC12 v5.24 RC5 is now available for testing
- Replies: 66
- Views: 51298
Re: CNC12 BETA v5.23 rev5 is now available for public testing
found an issue with Mill and Router part zero F7 auto zero macro so, making a fix and will put up a rev6 on Monday. I have just installed 5.23 this new encoder max error feature is perfect. I got 410 Error with encoder on rotary axis faster than f6000 in 5.22. This is now ok in 5.23 But now there i...
This post has been liked 0 time(s).
- Mon Jan 20, 2025 10:45 am
- Forum: Public Beta CNC Software Testing, Discussion and Feedback
- Topic: 12-4-24 v5.22 has been released, beta period for v5.22 is over.
- Replies: 87
- Views: 60915
Re: 12-4-24 v5.22 has been released, beta period for v5.22 is over.
Small hopefully only cosmetic bug in Acorn Six with encoder expansion board. It shows counts/inch on a metric system for the expansion encoder ports in the wizard. An I am still wondering if counts/deg will also work on a rotary axis ;) Uwe I can confirm that this is only cosmetic, mm input is ok o...
This post has been liked 0 time(s).
- Mon Jan 20, 2025 9:12 am
- Forum: Centroid Acorn CNC Controller
- Topic: Cnc12 creates temporary files
- Replies: 8
- Views: 1111
Re: Cnc12 creates temporary files
Hello I finally got the router going...plasma is moving too :D I am playing with this to get used to it. After I ran a few cuts today and when I closed Cncn12 there was a bunch of txt files created on my desktop. How would I set for these to go in a folder and not on the desktop? And one stupid que...
This post has been liked 0 time(s).