Just curious, can we run uccnc software with any hardware or only run with uccnc hardware product. So that we can replace mach3 with this uccnc software on the same hardware. Thanks.
audiokiller,
I believe there are two methods available... one is available now (using variables or vars#) and the other which "should" be in the next release can have a popup to ask the user for input, either as a string (text) or a double (number)
The first method, if you have a look at pdf page 51 of the current manual (parametric programming) it explains variables and using vars#.
http://www.cncdrive.com/UCCNC/UCCNC_usersmanual.pdf
The way that I prefer is the message box popup (as I don't have to remember to store the vars in advance of me running the macro code.....)
The following is extracted out of the current development version of uccnc "macro_capability_detailed.htm file within the uccnc documentation folder.
Function: string TextQuestion(string Questiontext)
Description: This function shows a Question form waiting for a string as the answer. The text of the question shown on the Form is the parameter.
Example: string val = exec.TextQuestion("Stop code execution?");
Function: double Question(string Questiontext)
Description: This function shows a Question form waiting for a double value as the answer. The text of the question shown on the Form is the parameter.
Example: double val = exec.Question("What X position to move?");
If you are running the vars# method, you could put an if statement in the macro to check the current vars# saved is set or have a simple dialog box popup with a yes no question to ask if you've set the vars already (if you have a look at post # 25 in this thread you can see some code I posted which uses the yes/ no messagebox query and you can customise it as required).
Rob
Rob
Just curious, can we run uccnc software with any hardware or only run with uccnc hardware product. So that we can replace mach3 with this uccnc software on the same hardware. Thanks.
Thanks for reply. How about post processor, are they available for many software?
I want to use fusion360.What software do you use?
I've used Fusion a little and found the "cncrouterparts.cps" post worked fine for what I did.
It is a modified Mach processor..
Mark
Thanks for the info.I've used Fusion a little and found the "cncrouterparts.cps" post worked fine for what I did.
It is a modified Mach processor..
THose are all UCCNC and C# function calls and they are still there. BUT there is a new function that will auto record the probe trip values #5061-5066.
M40 turns it on
M41 turns it off.
You set it all up in the TOOLS /PROBE page.
Please read the manual (;-) TP
Thank you for your answer vmax549, i will read the manual =)
Im recofiguring my stepcraft profile to test this new settings, my profiles dont have this new screen, but the command dont work anymore, i have a macro that write the values to a file, the macro run but no values are written, or I have to turn it on the writing with the m40 first?
Yep, M40 turns it on after collect points with G31 and save the points to file with M41 code.
How do you guys learn to program macro? Are there any training materials.
Macros are written in C#, so you need to learn C#.
But if you've done any programming in Basic or VB, you can probably pick it up pretty quickly by looking at the included macros. There are lists of functions in the UCCNC\Documentation folder.
Google helps me when I get stuck.
Gerry
UCCNC 2017 Screenset
[URL]http://www.thecncwoodworker.com/2017.html[/URL]
Mach3 2010 Screenset
[URL]http://www.thecncwoodworker.com/2010.html[/URL]
JointCAM - CNC Dovetails & Box Joints
[URL]http://www.g-forcecnc.com/jointcam.html[/URL]
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Do I need to learn all C language or just instruction on above folder ?installation folder of the UCCNC software /macro_capability_detail
That depends on what you want to do.
The UCCNC docs only cover UCCNC functions, so you,ll need to know a little more.
As I said, if you study the included macros, you'll learn a lot of what you need.
Gerry
UCCNC 2017 Screenset
[URL]http://www.thecncwoodworker.com/2017.html[/URL]
Mach3 2010 Screenset
[URL]http://www.thecncwoodworker.com/2010.html[/URL]
JointCAM - CNC Dovetails & Box Joints
[URL]http://www.g-forcecnc.com/jointcam.html[/URL]
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Programming is a trade. Some people go to university, some learn it at home in their spare time to a level which satisfies them. Anyway, a good start is reading a book or two about programming in general to get a basic understanding. UCCNC macros are written in C#, which is basically C, which in turn is a programming language. So, if you know C it is easier, but if you know Basic, Cobol, Ada, Java or any other other programming language than you should not have a steep uphill. If you never programmed then it may not be very easy, but all depends on your own capacities.
https://www.youtube.com/c/AdaptingCamera/videos
https://adapting-camera.blogspot.com