You could use the PLC to initiate the Start function in Mach, when the Mach routine is finished use a Mach output to input to the PLC, this would be basic handshaking, you might elaborate on it by testing.
Depending if sink or source PLC inputs, you may be able to simply use a small mosfet from Mach port to PLC, e.g. 2n7000.
Al.