Rockwell Automation 8520-GUM 9/Series CNC Grinder Operation and Programming Manual Documentation Set User Manual

Page 682

Advertising
background image

Paramacros

Chapter 20

20-38

The control always interprets these PAL parameters 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 can also be interpreted by
the control on a per-bit basis using parameters #1000 - #1031. PAL
can always interpret these values on either a per-bit basis or as
integer values.

See the documentation prepared by your system installer for a detailed
description of the use and operation of these input flags.

Output Flags:

Output flags function almost identically to input flags with one key
difference: where input flags can only be read by the part program, output
flags can be both read and written to by the part program. Use these flags
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 can 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 to or read the values of these flags as integers with the
exception of parameter #1132 which can be assigned as an integer or as a
bit pattern. The paramacro output 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 than zero is assigned to these parameters, PAL interprets it
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