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

Page 168

Advertising
background image

5–57

OCI Data Server CNC Commands

Publication 8520-6.6 - August 1999

TM_DELETE_TOOL (tool_group_num, entry_num)

Use this command to delete a specific tool from a tool management
group. The two arguments for this command are:

tool_group_num – the group the tool is currently assigned.

entry_num – the entry position of the tool to be deleted in the tool
group.

For example:

[TM_DELETE_TOOL(3,5)]

delete from tool group 3, the tool in the fifth position in that group.

TM_INSERT_TOOL (tool_group_num, tool_num, entry_num)

Use this command to insert a tool into the a tool management group.

tool_group_num – the group the tool is to be assigned.

tool_num – the tool number to be added to the group.

entry_num – the entry position in the tool management table for this
entry. A value of zero places it at the last entry in the table.

For example:

[TM_INSERT_TOOL(2,7,0)]

adds tool number 7 to the next open entry position in tool group 2.

Advertising