12 Automation lntegration
12.3 Sample Robot - CNC Communication Sequence
173
Call Subroutine PLACE VICE IN LOADING POSITION
Remark: ************************************************************************************************
Set Subroutine PLACE VICE IN LOADING POSITION
Call Subroutine SCRIPT.PLACE
Call Subroutine SYNCHRONIZE_WITH_PM8000
Return from Subroutine
Remark: ************************************************************************************************
Step 4
The program name is transferred to the CNC control via the script file and the machine executes the
task.
PLACE.NC (Sample)
M26 H11 ;USER OUT#1 OFF
G00 X-160 Y-20 Z160
G04F1;MAKE SURE OUTPUT IS SEEN
M20;CHAIN TO PROGRAM
START.NC
Step 5
The robot monitors the CNC’s input signal. The robot sends a command to the CNC to open the door if
the machine signals that it is idle.
If Input 1 Off Call Subroutine PM8000 NOT READY
Call Subroutine OPEN DOOR
Remark: ************************************************************************************************
Set Subroutine OPEN DOOR
Call Subroutine SCRIPT.ODOOR
Call Subroutine SYNCHRONIZE_WITH_PM8000
Return from Subroutine
Remark: ************************************************************************************************
Step 6
The program name is transferred to the CNC control via the script file and the machine executes the
task.
ODOOR.NC (Sample)
M26 H11 ;USER OUT#1 OFF
M25 H102 ;OPEN DOOR
G04F2;MAKE SURE OUTPUT IS SEEN
G25 H132; Wait door open
M20;CHAIN TO PROGRAM
START.NC