12 Automation lntegration
12.4 Sample Robotic - CNC lntegration Programs
179
G04F2;MAKE SURE OUTPUT IS SEEN
G25 H131; Wait door closed
M20;CHAIN TO PROGRAM
START.NC
Step 24
The robot transfers the part to the next process or to its target storage.
12.4.
SAMPLE ROBOTIC - CNC LNTEGRATION PROGRAMS
This section presents a selection of sample programs used for integrating a CNC machining center in an
FMS.
Section Contents: Sample Robotic
–
CNC Integration Programs
Section Name
Page
Sample Device Driver Script File
12.4.1.
Sample NC Programs
START.NC
;-------------------------------------------
; First program to run
;-------------------------------------------
M25 H11 ;USER OUT#1 ON
M20;CHAIN TO PROGRAM
CHAIN_FILE O:\project_name\WS3\MILL\CHAIN_FILE.TXT
PLACE.NC
M26 H11 ;USER OUT#1 OFF
G00 X-160 Y-20 Z160
G04F1;MAKE SURE OUTPUT IS SEEN
M20;CHAIN TO PROGRAM
START.NC
ODOOR.NC
M26 H11 ;USER OUT#1 OFF
M25 H102 ;OPEN DOOR
G04F2;MAKE SURE OUTPUT IS SEEN
G25 H132; Wait door open