+-------------------------------+
| |
| FANUC Power Mate |
| |
| Library manual |
| |
+-------------------------------+
Function list ......... 2
Return status of Library ......... 5
Related to the communication ......... 7
Related to the control axes ......... 11
Related to program ......... 34
Related to NC data file ......... 72
Related to operation history data ......... 119
Related to the axis movement control ......... 137
Others functions ......... 158
Related to the PMC ......... 205
Function list
Related to the communication
-------------------------------------------------------------------------------
Function name Brief description
-------------------------------------------------------------------------------
( 1) cnc_allclibhndl Allocate library handle
( 2) cnc_allclibhndl2 Allocate library handle2
( 3) cnc_freelibhndl Free library handle
-------------------------------------------------------------------------------
Related to the control axis
-------------------------------------------------------------------------------
Function name Brief description
-------------------------------------------------------------------------------
( 1) cnc_actf Read actual axis feedrate(F)
( 2) cnc_absolute Read absolute axis position
( 3) cnc_machine Read machine axis position
( 4) cnc_relative Read relative axis position
( 5) cnc_distance Read distance to go
( 6) cnc_skip Read skip position
( 7) cnc_srvdelay Read servo delay value
( 8) cnc_accdecdly Read acceleration/deceleration delay value
( 9) cnc_rddynamic Read all dynamic data
(10) cnc_wrrelpos Set origin / preset relative axis position
-------------------------------------------------------------------------------
Related to the program
-------------------------------------------------------------------------------
Function name Brief description
-------------------------------------------------------------------------------
( 1) cnc_dwnstart Start downloading NC program
( 2) cnc_download Download NC program
( 3) cnc_dwnend End of downloading NC program
( 4) cnc_upstart Start uploading NC program
( 5) cnc_upload Upload NC program
( 6) cnc_upend End of uploading NC program
( 7) cnc_search Search specified program
( 8) cnc_delall Delete all programs
( 9) cnc_delete Delete specified program
(10) cnc_rdprogdir Read program directory
(11) cnc_rdproginfo Read program information
(12) cnc_rdprgnum Read program number under execution
(13) cnc_rdseqnum Read sequence number under execution
(14) cnc_rdexecprog Read program under execution
(15) cnc_wrmdiprog Write program for MDI operation
(16) cnc_rdmdipntr Read execution pointer for MDI operation
(17) cnc_wrmdipntr Write execution pointer for MDI operation
(18) cnc_seqsrch Search specified sequence number
(19) cnc_rewind Rewind cursor of NC program
-------------------------------------------------------------------------------
Related to NC data file
-------------------------------------------------------------------------------
Function name Brief description
-------------------------------------------------------------------------------
( 1) cnc_rdtofs Read tool offset value
( 2) cnc_wrtofs Write tool offset value
( 3) cnc_rdtofsr Read tool offset value(area specified)
( 4) cnc_wrtofsr Write tool offset value(area specified)
( 5) cnc_rdtofsinfo Read tool offset information
( 6) cnc_rdparam Read parameter
( 7) cnc_wrparam Write parameter
( 8) cnc_rdparar Read parameter(area specified)
( 9) cnc_wrparas Write parameter(area specified)
(10) cnc_rdparainfo Read parameter information
(11) cnc_rdsetr Read setting data(area specified)
(12) cnc_wrsets Write setting data(area specified)
(13) cnc_rdmacro Read custom macro variable
(14) cnc_wrmacro Write custom macro variable
(15) cnc_rdmacror Read custom macro variable(area specified)
(16) cnc_wrmacror Write custom macro variable(area specified)
(17) cnc_rdmacroinfo Read custom macro variable information
(18) cnc_getmactype Get type of custom macro variable
(19) cnc_setmactype Set type of custom macro variable
-------------------------------------------------------------------------------
Related to operation history data
-------------------------------------------------------------------------------
Function name Brief description
-------------------------------------------------------------------------------
( 1) cnc_stopophis Stop logging operation history data
( 2) cnc_startophis Restart logging operation history data
( 3) cnc_rdophisno Read number of operation history data
( 4) cnc_rdophistry Read operation history data
( 5) cnc_rdalmhisno Read number of alarm history data
( 6) cnc_rdalmhistry Read alarm history data
( 7) cnc_clearophis Clear operation history data
( 8) cnc_rdhissgnl Read signals related operation history
( 9) cnc_wrhissgnl Write signals related operation history
-------------------------------------------------------------------------------
Related to the axis movement control
-------------------------------------------------------------------------------
Function name Brief description
-------------------------------------------------------------------------------
*( 1) cnc_opdi Signal operation command
*( 2) cnc_refpoint Reference point return
*( 3) cnc_abspoint Absolute movement
*( 4) cnc_incpoint Incremental movement
*( 5) cnc_dwell Dwell
*( 6) cnc_coordre Coordinate establihment
*( 7) cnc_exebufstat Reading of the executive buffer condition
*( 8) cnc_finstate Reading of the complete executive condition
*( 9) cnc_setfin The release of the complete executive condition
-------------------------------------------------------------------------------
* This function cannot be used with Power Mate-D.
Others function
-------------------------------------------------------------------------------
Function name Brief description
-------------------------------------------------------------------------------
( 1) cnc_sysinfo Read CNC system information
( 2) cnc_sysconfig Read CNC configuration information
( 3) cnc_statinfo Read CNC status information
( 4) cnc_alarm Read alarm status
( 5) cnc_rdalminfo Read alarm information
( 6) cnc_modal Read modal data
( 7) cnc_diagnoss Read diagnosis data
( 8) cnc_diagnosr Read diagnosis data(area specified)
( 9) cnc_getfigure Read maximum valid figures, number of decimal places
(10) cnc_rdcurrent Read real current for servo adjustment
(11) cnc_rdsrvspeed Read real speed for servo adjustment
(12) cnc_rdloopgain Read loop gain for servo adjustment
(13) cnc_rdopmsg Read operator's message
(14) cnc_rdopnlsgnl Read output signal image of software operator's panel
(15) cnc_wropnlsgnl Write output signal of software operator's panel
(16) cnc_rdopnlgnrl Read general signal image of software operator's panel
(17) cnc_wropnlgnrl Write general output signal
评论1