Hello DeanoM,
You would communicate with the PLC via modbus. You would pass information to and from the PLC with macros, the macro pump, brains or a combination of those. We have tutor videos in our help and learning section and you can find lots of examples here on the forum. I'm not a big fan of brains myself and try to stick to macros/macro pump. I would also read the Mach3 programmers reference manual. It can be found in the manuals section of the help and learning page.
Brett