12 Automation lntegration
12.3 Sample Robot - CNC Communication Sequence
174
Step 7
The robot monitors the CNC’s input signal. The robot opens the clamping device if the machine signals
that it is idle.
If Input 1 Off Call Subroutine PM8000 NOT READY
Call Subroutine OPEN VICE
Remark: ************************************************************************************************
Set Subroutine OPEN VICE
Call Subroutine SCRIPT. VICE
Call Subroutine SYNCHRONIZE_WITH_PM8000
Return from Subroutine
Remark: ************************************************************************************************
Step 8
The program name is transferred to the CNC control via the script file and the machine executes the
task.
OVICE.NC (Sample)
M26 H11 ;USER OUT#1 OFF
M26 H4;CLOSE VICE
G04F1;MAKE SURE OUTPUT IS SEEN
M20;CHAIN TO PROGRAM
START.NC
Step 9
The robot monitors the CNC’s input signal. Once the machine signals that it is idle, the robot inserts the
part into the clamping device and then closes it.
Go to Position SCRIPT.P3 Speed 50 (%)
Go to Position SCRIPT.P2 Speed 50 (%)
Go Linear to Position SCRIPT.P1 Speed 30 (%)
If Input 1 Off Call Subroutine PM8000 NOT READY
Call Subroutine CLOSE VICE
Remark: ************************************************************************************************
Set Subroutine CLOSE VICE
Call Subroutine SCRIPT. CVICE
Call Subroutine SYNCHRONIZE_WITH_PM8000
Return from Subroutine
Remark: ************************************************************************************************
Step 10
The program name is transferred to the CNC control via the script file and the machine executes the
task.
CVICE.NC (Sample)