
4.4 CNC/PMC window library
The following functions which are used to input/output data between CNC
/PMC are provided.
(1) CNC window
NAME FUCNTION
--------------------------------------------------------------------------
cnc_sysinfo Read CNC system information
cnc_dwnstart Start output of NC program to be registered
cnc_download Output NC program to be registered
cnc_dwnend Stop output NC program to be registered
cnc_vrfstart Start output NC program to be compared
cnc_verify Output NC program to be compared
cnc_vrfend Stop output NC program to be compared
cnc_dncstart Start output NC program to be executed
cnc_dnc Output NC program to be executed
cnc_dncend Stop output NC program to be executed
cnc_upstart Start input NC program
cnc_upload Input NC program
cnc_upend Stop input NC program
cnc_search Search specified program
cnc_delall Delete all program
cnc_delete Delete specified program
cnc_rdprogdir Read program directory
cnc_rdproginfo Read program information
cnc_rdprgnum Read program number in executing
cnc_rdseqnum Read sequence number in executing
cnc_actf Read actual feed rate of controlled axes
cnc_acts Read actual spindle speed
cnc_absolute Read absolute position
cnc_machine Read machine position
cnc_relative Read relative position
cnc_distance Read distance to go
cnc_skip Read skipped position
cnc_srvdelay Read servo delay amount
cnc_accdecdly Read acceleration/deceleration delay amount
cnc_rddynamic Read dynamic data
cnc_statinfo Read CNC status information
cnc_alarm Read alarm status
cnc_rdalminfo Read alarm information
cnc_rdtofs Read tool offset amount
cnc_wrtofs Write tool offset amount
cnc_rdtofsr Read tool offset amount (range specified)
cnc_wrtofsr Write tool offset amount (range specified)
cnc_rdzofs Read work zero offset
cnc_wrzofs Write work zero offset
cnc_rdzofsr Read work zero offset (range specified)
cnc_wrzofsr Write work zero offset (range specified)