Dear All;
I am new on CNC machine and Mach-3. I have built a X-Y table positioner which we will be using to move antennas into predefined positions and making measurement with network analyser. The X-Y table is to be controlled through Mach3. In practice we want to move the antenna in one position, waiting for the network analyzer to make the measurement, then moving the antenna to another position and repeat the measurement. We are thinking of having a sort of handshake protocol between Mach3 and the network analyser instrument.. so that Mach3 moves the antenna into a position and then sends a signal into the network analyser to start measurements. Once it finishes measuring, this sends a signal back into Mach3 so that it moves into the next position, and this cycle is repeated for all the positions.
The Mach3 is interfaced with DSPMC/IP controller which has lot of spare input and output ports that we can use for the communication. The problem is I am not familiar with Mach3 codes to output a signal to a port and wait for an input signal before it moves. I have read the G-code and M-code in the manual but this seems to be code related to the movement of the axis. I appreaciate any of your suggestions.
Thanks in advance.
Xavi