beautypg.com

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

Page 86

background image

4–38

OCI Data Server Data Items

Publication 8520-6.6 - August 1999

ACTIVE_PAL_MESSAGES,13

Returns the text string for the active PAL/Logic message that should
be displayed on line 13 as defined in your PAL/Logic application.
For each line returned the first 40 characters contain the ASCII
characters that make up the message. The next 40 characters contain
a control character for each of the 40 message text characters. Each
of these control characters is made up of three attributes assigned to
different bits of the word. These control characters identify how
each character of the message should be displayed as follows:

CODE_INVERSE

0x40

CODE_NORMAL

0x00

CODE_BLINK_ON

0x80

CODE_BLINK_OFF 0x00

CHR_BLACK

0x10

CHR_RED

0x11

CHR_GREEN

0x12

CHR_YELLOW

0x13

CHR_BLUE

0x14

CHR_MAGENTA

0x15

CHR_CYAN

0x16

CHR_WHITE

0x17

COPYRIGHT_DATE
Data Type

String1

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.

Use this data item to identify the copyright date for the 9/Series or
9/PC CNC firmware. Data is returned as a text string with the
format:

(mm/dd/yy)

where:

mm – month
dd – day
yy – year

Miscellaneous Data Items