Pal variable data items – Rockwell Automation 8520-9API 9/Series OCI API Developer's Guide User Manual

Page 95

Advertising
background image

4–47

OCI Data Server Data Items

Publication 8520-6.6 - August 1999

ACTIVE_SCALE_INDICATOR
Data Type

DINT (bit pattern)

Read/Write

Read only

Array Index

none

Control Type

Lathe/Mill/Grinder

1

1

Grinder Control Type is not available for Release 1 of 9/PC.

The ACTIVE_SCALE_INDICATOR data item is used to identify
which axes on the system are currently being scaled (refer to your
operation and programming manual for details on scaling). The data
for this item is returned as a bit pattern. A true value in any bit
indicates the axis is scaled. The first bit of this word represents axis
1.

For example if the returned integer is 11, which translates into
001011 indicating axes 1, 2 and 4 are scaled.

% I/O Variable
Data Type

(defined in ODS I/O assigner)

Read/Write

Read - Write (outputs only) (both PAL protected)

Array Index

none

Control Type

Lathe/Mill/Grinder

Important: % I/O Variable does not apply to 9/PC.

You can access all PAL I/O variables assuming they have been
assigned properly with the ODS I/O assigner. Your OCI application
can read both PAL inputs and outputs. Your OCI application can
write to only PAL outputs. All read and writes are subject to the
PAL logic which always has the authority to override any OCI
settings.

Automatic reads of PAL variables are always added to the controls
background watch list. You must consider any timing issues this
may present in your PAL and API applications.

Variables set by the OCI occur at the beginning of a PAL scan. The
PAL ladder runs and acts on these changes by writing to the variable
tables. This means if your OCI sets an output to true at the
beginning of a PAL scan, PAL can change the output point back to
false during the PAL scan thus overriding the OCI request to set the
output to true.

PAL Variable Data Items

Advertising