I have a CNC machine having a Fanuc series 0i-TF PLC. I would like to interface with this PLC programmatically to read the basic parameters such as spindle status, speed, rpm, cycle time etc. I have tried going through the manual but haven't found much information on this. So if anyone has been able to achieve this, please let me know. Any help in this regard would be gratefully accepted! Thanks!