Rockwell Automation 8520-MUM 9/Series CNC Mill Operation and Programming Manual Documentation Set User Manual

Page 776

Advertising
background image

Chapter 30
Using a 9/Series Dual--processing System

30-8

Synchronization M-codes are ignored during QuickCheck execution and
during a Mid-Program Start operation.

Example 30.1

Example of Synchronization for Tapping (see Figure 30.1)

Process 1

Comment

Process 2

Comment

N10 G90 S500 G00 X0 Y0;

Start spindle and move to start point

N1 G90 G00 X--2. Y0
S30;

Move to start point and start tapping
spindle

N20 G81 X--1 Y5.5 R3 Z1;

Drilling hole at X--1 Y5.5

N2 M100;

Wait for first hole to finish drilling and
clear the position for tapping
(process 1 block N40)

N30 X5.7 Y0;

Drilling hole at X5.7 Y0

N40 M100;

Release process 2 block N3

N3 G84 X--1 Y5.5 R3
Z1F20;

Start tapping first hole

N50 G00 X0 Y0;

Move away from second hole for tapping

N4 M101;

Wait for second hole to finish drilling and
clear the position for tapping
(process 1 block N60)

N60 M101;

Release process 2 block N5

N5 X5.7 Y0;

Start tapping second hole

N70 M30;

N6 M30;

Simple Synchronization vs Synchronization with Setup

There are two types of synchronization M-codes. They are:

M100 - M149 — Simple Synchronization. These M-codes are for
simple synchronization. When executed, this set of M-codes does not
set up any program blocks that have already been read into program
lookahead again.

M150 - M199 — Synchronization with Re-Setup. This set of M-codes
cancels any information already in block lookahead and sets up the
blocks again before process execution is resumed. This second setup is
only essential when shared information is being changed from one
process to another, as in the case of the dual-processing shared
paramacro parameters.

Advertising