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

Page 144

Advertising
background image

5–33

OCI Data Server CNC Commands

Publication 8520-6.6 - August 1999

ref_pos – the fixed reference position (with no geometry or wear
offsets active) of the wheel or dresser. Refer to your operation and
programming manual for details on determining this fixed machine
position. This is the position the control compares to the actual axis
position to determine the geometry amount.

Important: On Lathe and Cylindrical Grinder control types this

position (ref_pos) value is always entered as a radius
value.

For example:

[MEASURE_WHEEL_GEOM (2, 1, 1.777)]

would perform a measure operation to calculate the geometry offset
amount for tool offset 2, axis 1. If no tool geometry or wear offsets
were present the current tool position should be 1.777. The control
then compares the actual tool position to 1.777 and uses the
difference to create the appropriate geometry offset.

Important: This command does not apply to the 9/PC CNC.

TRANSFER_PAL_FROM_PORTA (no argument)

Use this command to restore a PAL image from a peripheral device
attached to the control’s portA. This will restore the PAL image to
RAM.

For example:

[TRANSFER_PAL_FROM_PORTA]

would read the PAL image from the device connected to the control’s
port A. This command will overwrite the PAL image currently in the
control’s RAM. This will not affect the PAL image stored in the
control’s backup memory.

You must cycle power to the control whenever PAL is updated.

Important: This command does not apply to the 9/PC CNC.

PAL Commands

Advertising