Rockwell Automation 8520 9/Series CNC Lathe User Manual

Page 707

Advertising
background image

Paramacros

Chapter 28

28-33

Output flags should not be used as Input flags unless absolutely necessary.

This is because the operator/programmer has the ability to inadvertently

write data to the Output flags, whereas the Input flags cannot be written to

from the control.

Output flags are broken into four 32-bit words. The part programmer can

only assign or read the values of to these flags as integers with the

exception of parameter #1132 which may be assigned as an integer or as a

bit pattern. The paramacro output input parameters available to the part

programmer are:

#1100 -- #1131 and #1140 -- #1171

When the values of these parameters are assigned in the part program,

they should be assigned values of 1 or 0 (as bit patterns). If any integer

value (other then zero) is assigned to these parameters, it will be

interpreted by PAL as a 1. These paramacro PAL parameters are used to

pass the binary equivalent of the integer assigned to #1132. #1100 is the

first bit, #1101 is the second bit, #1102 is the third bit, and so forth up to

parameter #1131 (which is the 32nd bit). When a value is assigned to

#1132, the values assigned to #1100 - #1131 are overwritten with the

binary equivalent of #1132.

The second set of parameters, #1140 -- #1171, functions the same way.

#1132 -- #1135 and #1172 -- #1175

The control always interprets these parameters as integer values. #1132

is the only parameter that may also be interpreted by the part program

on a per-bit basis using parameters #1100 #1131.

The second set of parameters, #1172 -- #1175, functions the same way.

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

use and operation of these input flags.

These parameters are available only on dual-process systems (see chapter
30 for details). These parameters provide a link through which common

data can be passed between the different processes of the machine. The

shared dual-process parameters are paramacro parameter numbers:

#7100 to #7199

These parameters are global. This means that the same set of parameters

can be called by any program, macro, subprogram, or MDI program in any

process.

28.3.5

Shared Dual-Process

Parameters (#7100 - 7199)

Advertising