Centroid_Jacob wrote: ↑Wed Dec 04, 2024 10:41 am
johannes wrote: ↑Wed Dec 04, 2024 9:43 am
Centroid_Jacob wrote: ↑Fri Nov 29, 2024 10:07 pm
This is not possible using
only the CentroidAPI. You would have to wrap the CentroidAPI in your own code that either emulates a web server or handles TCP socket communication.
I have a developer-friend who got excited about this, and is helping me write this. We have a working Rest API right now, but he doesn't have a physical Acorn board to properly test it with.
Is there a way to test against a demo version of CNC12 somehow? We tried installing the normal CNC12 version, but it doesn't run when it doesn't find an Acorn to connect to. We also tried the Intercon Offline which includes a CNC12 demo, but we could not get that to run any jobs or command any motions or axis.
Johannes
Currently the only way to develop without a board is using the Offline Intercon Demo mode software. It's features are limited but you can command motion through G commands, however the VCP and its features have been removed because the Demo software doesn't have PLC interaction since its primary focus is for use with Intercon.
motion is done on the cnc controller's main board (acorn/acornsix/hickory/oak/allin1dc etc.) Centroid is a hybrid PC based system so while this works great when the hardware and software are connected to each other it does severely neuter the cnc12 software when it is not connected to the MPU (motion processing unit) . so developers always have an acorn (or other centroid main board) sitting on their desktop while developing.
Centroid Hybrid CNC controller description.
The Centroid CNC control is a hybrid PC based control.
The Centroid CNC12 software runs on a Windows 10/11 PC but the Motion control (and PLC function) is performed by our hardware.
The Windows PC is being used for the user interface, while the critical high speed machine tool motion and function is being handled by the Centroid Hickory/Acorn/AcornSix etc on-board Motion Control processor (MPU) and the on-board PLC. This arrangement is the best of both worlds, a PC for a non-proprietary, wide compatibility, reliable, affordable, serviceable computer without the problems of a fully PC based CNC control as any issues related to the PC CPU or a momentary Windows glitch will not affect the CNC machine tool operation as both the PLC and Motion control is performed on directly on our hardware by our integrated firmware (which even auto updates with each new Centroid CNC software release, so no drivers to mess with or other complicated procedures).