Hi,
I have a mill being controlled with a Fanuc 21-T controller. I purchased the equipment for serial communication from my pc (RS 232 to usb) but it seems this is only for transfering files to/from the pc/machine.
Is there a way to monitor the g-code execution in live time to detect when a custom m-code is called, and use this call to trigger the PC to activate my sensor recording? If the serial port method won't work during operation is there another way to achieve this? (Such as wiring a relay to the machine where an electrical circuit in the machine is triggered via the M-code?) Thanks for any help/ ideas
I have a mill being controlled with a Fanuc 21-T controller. I purchased the equipment for serial communication from my pc (RS 232 to usb) but it seems this is only for transfering files to/from the pc/machine.
Is there a way to monitor the g-code execution in live time to detect when a custom m-code is called, and use this call to trigger the PC to activate my sensor recording? If the serial port method won't work during operation is there another way to achieve this? (Such as wiring a relay to the machine where an electrical circuit in the machine is triggered via the M-code?) Thanks for any help/ ideas
