Rockwell Automation 8520-9API 9/Series OCI API Developer's Guide User Manual

Page 136

Advertising
background image

5–25

OCI Data Server CNC Commands

Publication 8520-6.6 - August 1999

ACTIVATE_TOOL_LENGTH (offset_number)

This command loads the specified tool length offset (H word). This
command is valid only for mill control types.

The offset_number argument for this command is the valid offset
number as entered into the offset table for this tool.

[ACTIVATE_TOOL_LENGTH(4)]

Activates the tool length offset number 4 (equivalent of
programming an H4 in a part program). This command only
activates the offset value for tool length (H word). You must still
program the appropriate G code (G43, G44, G49) in the part
program to specify when and how the offset is activated. Refer to
your Mill operation and programming manual for details on
activating tool length offsets.

ACTIVATE_TOOL_RADIUS (offset_number)

This command loads the specified tool radius offset (D word). This
command is valid only for mill control types.

The offset_number argument for this command is the valid offset
number as entered into the offset table for this tool.

[ACTIVATE_TOOL_RADIUS(4)]

Activates the tool radius offset number 4 (equivalent of
programming an D4 in a part program). This command only
activates the offset value for tool radius (D word). You must still
program the appropriate G code (G40, G41, G42) in the part
program to specify when and how the offset is activated. Refer to
your Mill operation and programming manual for details on
activating tool cutter compensation.

Advertising