Rockwell Automation 8520 9/Series CNC Lathe User Manual

Page 692

Advertising
background image

Paramacros

Chapter 28

28-18

When the control executes this block, a cycle stop is performed and the

message “SEE PART PROGRAM FOR MACRO STOP MESSAGE” is

displayed on line 1 of the CRT. This is intended to point out to the

operator an important comment in the program block that assigns a value

to parameter 3000 (see chapter 10 on comment blocks).

For example, programming

#3000=.1 (TOOL NUMBER 6 IS WORN);

causes program execution to stop at the beginning of this block and

displays a message telling the operator to read the comment in the block.

A block reset must be performed before a cycle start will resume normal

program execution.

When this block is executed, it also sets the paramacro alarm PAL flag

($MCALRM) true. Refer to the system installer’s documentation for

details on the effect of this PAL flag.

#3001

System Timer (PAL)

This parameter is referred to as the timer parameter. It is a read-write

parameter. Every 20ms a value of 20 is added to the value of parameter

3001. The value of this parameter is also stored by a PAL flag

($PM20MS) and may be modified or set by the system installers PAL

program. Refer to the system installer’s documentation for details on the

use of this timer. The maximum value of this parameter is 32768ms. Any

value greater than 32768 will cause this parameter to “rollover” to zero and

restart counting again. The value of this parameter is reset to zero every

time power is lost.

#3002

System Clock

This parameter is referred to as a clock parameter and references an hour

counter. It is a read-write parameter with negative value assignments being

illegal. The maximum value for this parameter is 1 year (8760 hours).

The parameter value is maintained when power is lost. It is incremented

by .000005556 every 20 ms.

Advertising