Supported functions
- Last UpdatedFeb 23, 2023
- 2 minute read
The PI Connector for FANUC Focas uses a subset of the FANUC Focas library functions to communicate with and monitor CNC machines. The following table includes a full list of all functions supported by the connector:
|
Function name |
Description |
|---|---|
|
cnc_absolute |
Reads the absolute axis position - CNC machine position in real time. |
|
cnc_actf |
Reads the actual axis feedrate in real time - CNC machine feedrate. |
|
cnc_acts |
Reads the actual speed in rpm - CNC machine speed. |
|
cnc_alarm |
Reads the alarm status of the CNC machine. |
|
cnc_allclibhndl3 |
Allocates the library handle and connects to the CNC machine that has the specified IP address or the Host Name. |
|
cnc_diagnoss |
Reads specific diagnostic data from the device. |
|
cnc_distance |
Reads CNC machine axis distance to go in real time. |
|
cnc_exeprgname |
Reads full path name of the program, which is being currently executed in the CNC machine. |
|
cnc_exeprgname2 |
Reads the full path of the program which is being currently executed in CNC. (Maximum of 32 characters). |
|
cnc_freelibhndl |
Frees the library handle which was used by the Data window library. |
|
cnc_gettimer |
Gets the date and time according to the CNC device. |
|
cnc_machine |
Reads CNC machine axis position in real time. |
|
cnc_modal |
Reads the modal information of the CNC machine. |
|
cnc_rdalmmsg |
Reads the currently arising CNC machine alarm messages. |
|
cnc_rdaxisdata |
Reads various data relating servo axis/spindle axis associated with cnc_rdposition, cnc_rdspeed, cnc_rdspeed, cnc_rdsvmeter with supporting "extended axis name". |
|
cnc_rdexecprog |
Reads the contents of the NC (Numeric Control) program being executed on the CNC machine. |
|
cnc_rdmacro |
Reads the custom macro variable specified by number. |
|
cnc_rdopmsg3 |
Reads the contents of the operator's message in the CNC machine. |
|
cnc_rdopnlsgnl |
Reads the output signal image of the software operator's panel. |
|
cnc_rdpm_item |
Reads the periodic maintenance information of the CNC machine. |
|
cnc_rdprgnum |
Reads program number (modal O number) of the program, which is being currently selected in the CNC machine. |
|
cnc_rdseqnum |
Reads the sequence number of the NC (Numeric Control) program currently being executed on the CNC machine. |
|
cnc_rdspeed |
Reads the actual feed and actual rotation speed of the spindle. |
|
cnc_rdspmeter |
Reads the spindle load meter data and the spindle motor speed data from the first spindle to the specified spindle number. |
|
cnc_rdsvmeter |
Reads the servo load meter in real time. |
|
cnc_relative |
Reads CNC machine relative axis position in real time. |
|
cnc_setpath |
Selects the path number, which is the target path in the multi-path system or system with loader control. |
|
cnc_statinfo |
Reads the status information of the CNC machine |
|
cnc_sysinfo |
Reads system information such as kind of CNC system, Machining (M) or Turning (T), series and version of CNC system software and number of the controlled axes. |
|
Function name |
Description. |
|
pmc_rdpmcrng |
Reads the data of the specified Programmable Motion Controller (PMC )address/range. |