Good day all
I have retrofitted a Italian cnc router with Mach and CSMIO-IP/A. All works very well but the actual applications that used to be on the old controller. The machine has a left and right zone for machining. The left run under normal condition and the right zone seemed to be a G55 offset and x axis scaled to -1. Now, I need to create three buttons with three LED's, the first for left zone, the second for right zone and the third for both and when one of the three is enabled it will disable the other active one. How the machine use to work with the old controller, if say both zones were enabled you will be able to load the right zone's vacuum table with the board, clamp with foot pedal and while the left zone was cutting, you could press the cycle start button again which will lower the right zone's pneumatic stops (which you use as reference) and as soon as the left side has finished cutting, the cycle wil start again but now scaled to -1 on x with g55 offset, while machining the right zone, load the left zone, clamp and push cycle start while right zone is cutting and the hole process will repeat itself on the left zone. My first issue is, how can I get the cycle start to start again when the button is pushed during an active cycle busy cutting say on the left zone, finish the cycle, change offset to say G55 and x scaled to -1 because of the VB in the active button and run again but now with all the new data and machine on the right zone. Second, what type of VB can be used to do all this, third will the cycle start button still be controlled with oem trigger 1000 or just VB or both?

This is quite a mouth full but I have to add this to complete the project as this is the main reason why the company bought these machines in the first place. Company that manufactured the routers has gone bankrupt, no more spares or upgrades on these machines.
Just a quick fourth question, do I need to have part of the VB in the macropump to constantly look for change in condition like for instance pushing the cycle start button again while busy with an active cycle or can all this be done with the VB in the buttons?
Kind regards and looking forward for some ideas that I can use
Cheers