Rockwell Automation 8520-MUM 9/Series CNC Mill Operation and Programming Manual Documentation Set User Manual

Page 735

Advertising
background image

Paramacros

Chapter 28

28-35

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.

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.

Advertising