I am working on a project where I need to read and write some data from/on a CNC Machine Controller. I still do not have specified a controller, I am trying to understand how I can achieve these objectives. However, I want to read the current position of the Spindle and write the coordinates of a Workpiece Coordinate System (let's say, G54).
My project is written in Matlab, and I am thinking about a Modbus/TCP-IP connection with the machine after some research.
Any thoughts on how I can build this logic? Suggestions regarding controllers and virtual CNC simulators are also welcomed.
Thanks in advance!