Clearing random tool data – Rockwell Automation 8520-MUM 9/Series CNC Mill Operation and Programming Manual Documentation Set User Manual

Page 499

Advertising
background image

Tool Control Functions

Chapter 20

20-15

The following block is used to set data for the random tool pocket
assignment table:

G10.1 L20 P__ Q__ O__ R__;

Where :

Is :

G10.1 L20

This tells the control that the block will be setting data for the random tool pocket
table. The G10.1 L20 is not modal, it must be programmed in every block that
sets data for the random tool pocket assignment table.

P

The value following the P--word determines the pocket number that is being set.

Q

The value following the Q--word determines the tool number of the tool that is in
the pocket determined with the P--word.

O

The value following the O--word enters the number of pockets that are needed for
the tool. Normally a value of one is entered here however, for custom tools that
require more then one pocket, program the number of pockets that are required.

R

The value following the R--word enters the pocket number of the shaft pocket for
the tool. Normally a value of one is entered here however, for custom tools that
require more then one pocket, program the location relative to the other pockets
for that tool that the tool changer will go to to access that tool.

For example the following block:

G10.1L20P1Q20O1R1;

tells the control that tool number 20 is in pocket number 1.

G10.1L20P3Q23O4R2;

tells the control that tool number 23 has its shaft pocket as pocket number
3, four pockets are required for the custom tool and the second of these
four pockets is the shaft pocket. This means that pockets 2, 3, 4, and 5 are
used for the custom tool number 23.

Clearing Random Tool Data

The following block will clear all information in the random tool table:

G10.1 L20 P0 Q0 O0 R0;

Advertising