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

Page 135

Advertising
background image

5–24

OCI Data Server CNC Commands

Publication 8520-6.6 - August 1999

Once in control of a specific CNC, other OCI stations can not
request control of the CNC until the controlling station relinquishes
control. Control of a specific CNC is only relinquished when:

The controlling OCI station successfully sends a
RELINQUISH_CONTROL command

The heartbeat timer specified in the OCIDSCFG.INI file (refer to
your OCI installation manual for details) times out. On the 9/PC,
check your Configuration Manager. When a OCI station gains
control of a CNC the heartbeat timer value is sent to the CNC. If
the CNC does not hear the heartbeat timer from the OCI station in
the specified amount of time it assumes the OCI station is no
longer valid, clears the watchlist for that station and removes that
station as the controlling OCI

power to the control is lost.

RESET_MAX_TIMES (no argument)

This command resets maximum recorded times for system
foreground timing. These maximums are returned to OCI data items
FG_CRITICAL_MAX and FG_TOTAL_MAX

STORE_OEM_MESSAGE (no arguments)

This command writes the entered OEM message (which appears on
the power turn on screen for standard OCI screens) to flash memory.
Note you enter the OEM message using the data items
OEM_MESSAGE_1, OEM_MESSAGE_2, AND
OEM_MESSAGE_3. When you send the
STORE_OEM_MESSAGE command to the control the current text
string in these three data items is stored to flash memory for display
on the power turn on screen.

ACTIVATE_TOOL_GEOM (offset_number)

This command activates the specified tool geometry offset. This
command is valid only for lathe control types.

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

[ACTIVATE_TOOL_GEOM(4)]

Activates the tool geometry offset number 4.

Offsets

Advertising