beautypg.com

Rockwell Automation 8520 9/Series CNC Lathe User Manual

Page 706

background image

Paramacros

Chapter 28

28-32

Input Flags:

There are 4-integer or 3-integer and 32-bit pattern input parameters

available. The part program may only read the values assigned to these

parameters; it may not write values to them. The paramacro input

parameters available to the part programmer are:

#1000 -- #1031 and #1040 -- #1071

These paramacro PAL parameters are used to display the binary

equivalent of the integer assigned to #1032. #1000 is the first bit, #1001

is the second bit, #1002 is the third bit, and so forth up to parameter

#1031 (which is the 32nd bit).

The second set of parameters, #1040 -- #1071, functions the same way.

#1032 -- #1035 and #1072 -- #1075

The control always interprets parameter #1032, #1033, #1034, and

#1035 as integer values regardless of how they are assigned in PAL (as

an integer or on a per bit basis). #1032 is the only parameter that may

also be interpreted by the control on a per-bit basis using parameters

#1000 - #1031. PAL may always interpret these values on either a

per-bit basis or as integer values.

The second set of parameters, #1072 -- #1075, functions the same way.

See the system installer’s documentation for a detailed description of the

use and operation of these input flags.

Output Flags:

Output flags function almost identically to input flag with one key

difference. Where input flags may only be read by the part program,

output flags may be both read and written to by the part program.

Typically these are used only to output information to the PAL program

from the part program; however, if the available number of input flags is

not sufficient for a given application, the Output flags may also be used to

send information to the part program from PAL.