Tool management/random tool – Rockwell Automation 8520-9API 9/Series OCI API Developer's Guide User Manual

Page 164

Advertising
background image

5–53

OCI Data Server CNC Commands

Publication 8520-6.6 - August 1999

SYNTAX_QUICK_CHECK (no argument)

This command is used to place the control in QuickCheck mode.
QuickCheck is the 9/Series syntax checker. When in this mode a
cycle start request checks the currently active part program for
syntax errors. Axis motion typically does not occur (PAL may
request motion of an axis during a quick check operation). Refer to
your operation and programming manual for details on using
QuickCheck and when QuickCheck requests are valid.

For example:

[SYNTAX_QUICK_CHECK]

would place the control in QuickCheck mode. Use the command
STOP_QUICK_CHECK to disable the QuickCheck mode.

ACTIVATE_RANDOM_TOOL (tool_number, pockets_needed,

shaft_pocket)

This command tells the control to look up characteristics for the
specified tool (active tool) if it is to be used with the random tool
feature. Refer to your operation and programming manual for details
on using the random tool feature.

There are three argument for this command. They are:

tool_number – the tool number you are defining for the tool changer

pockets_needed – the number of pockets required to hold this tool.

shaft_pocket – the pocket number that will contain the tool shaft. If
the tool covers more than one pocket enter which of the pockets that
will contain the tool shaft here (from 1 to the value entered for
pockets_needed).

For example:

[ACTIVATE_RANDOM_TOOL(3, 1, 1)

would activate random tool 3 which requires 1 pocket which is also
the shaft pocket for the tool.

[ACTIVATE_RANDOM_TOOL(4, 3, 2)

would activate random tool 4 which requires three tool pockets with
the shaft in the second pocket.

Tool Management/Random

Tool

Advertising