Creating software to communicate with and control a machine powered by CNC12 *Solved*

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

Moderator: cnckeith

Post Reply
aroot
Posts: 6
Joined: Thu Aug 20, 2020 3:24 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: 630200980
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Creating software to communicate with and control a machine powered by CNC12 *Solved*

Post by aroot »

I’m tasked with creating an application that will be able to control our gantry machine and return various values and whatnot. I believe ultimately I need to be able to move the machine somehow and when given input from a separate software , also integrated into my application, I need to return the position of the machine.

I’ve looked at the Skinning API and I’ve tested retrieving and changing values like travel limit, so it sounds like getting the position data of the machine shouldn't be too big of an issue. However I don't immediately see a way to move the machine using this API, which is where my question lies.

Do I need to look into PLCs and things like G-Codes and M-Functions to create a job, and then the skinning API will allow me to run the created job?

G-Codes and such don’t seem too terribly complicated, but I would rather not do heavy research into how they work if it wasn’t the right direction in the first place.
Last edited by aroot on Fri Sep 18, 2020 10:49 am, edited 1 time in total.
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: Creating software to communicate with and control a machine powered by CNC12

Post by martyscncgarage »

Your details are so vague on what you are trying to accomplish. You need to map out exactly what you are wanting to do so you can get better suggestions. Create a scenario and post it. You have to be clear in what the outcome needs to be.
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
tblough
Posts: 3101
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: Creating software to communicate with and control a machine powered by CNC12

Post by tblough »

Look on this site at Swissi's probe app as an example. You should be able to do what you want. But you will need to learn G and M codes as this is the language the control speaks.
Do I need to look into PLCs and things like G-Codes and M-Functions to create a job, and then the skinning API will allow me to run the created job?
This precisely what you will need to do.
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.
aroot
Posts: 6
Joined: Thu Aug 20, 2020 3:24 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: No
Oak CNC controller: Yes
CNC Control System Serial Number: 630200980
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Creating software to communicate with and control a machine powered by CNC12

Post by aroot »

tblough wrote: Sun Sep 06, 2020 12:59 pm Look on this site at Swissi's probe app as an example. You should be able to do what you want. But you will need to learn G and M codes as this is the language the control speaks.
Do I need to look into PLCs and things like G-Codes and M-Functions to create a job, and then the skinning API will allow me to run the created job?
This precisely what you will need to do.
I figured that this was the likely solution, but i really wanted the confirmation before diving into the G-Code documentation. Thanks a lot. :D
Post Reply