LINK Systems OmniLink - PLC Interface User Manual

Page 52

Advertising
background image

June 5, 2000

Man ual Rev 1 .0

5.25

Section 5.8

Sending Status Message Codes

The OmniLink Color OIT can be configured to display status messages for PLC operation screens and
for individual parameters as outlined in section 3.

Section 5.8.1

Screen Status Command Format

There are 4 possible PLC operation screens, each with up to 4 status messages. To select a status
message for display, the line number and status message number must be supplied to the OmniLink OIT.
The line number tells the OmniLink which line on which operation screen is to be assigned a message
number. Lines 0 to 3 are on PLC operation screen 1, lines 4 to 7 are on screen 2, lines 8 to 11 are on
screen 3, and lines 12 to 15 are on screen 4. These area these lines appear in is shown in “e” of Figure
4.1 with lower numbered lines at the top. In other words, line 0 is the first line in area “e” on PLC
operation screen 1, line 1 is right below it, line 2 below that and so on. The message number selects the
text to be displayed on a particular line. The messages themselves are configured as described in section
3.

The format to select a screen status message is:

From PLC:

[LF]GS[LNUM]=[MNUM][CR]

where:

[LNUM]

is the two digit line number (with leading zero if necessary) .

[MNUM]

is the message number that is to be set for the line.

Reply From Link:

[LF]GSA[LNUM]=[MNUM][CR]

where:

[LNUM]

is the two digit line number (with leading zero if necessary) .

[MNUM]

is the message number that was set for the line.

It is strongly recommended that the PLC check the return reply to verify the message arrived correctly at
the OmniLink.

Section 5.8.2

Parameter Status Command Format

There are 4 possible PLC operation screens, each with up to 16 user defined parameters. To select a
parameter status message for display, the parameter number and parameters status message number must
be supplied to the OmniLink OIT. The parameter number tells the OmniLink which parameter is to be
assigned a status message number. Parameters 0 to 15 are on PLC operation screen 1, parameters 16 to
31 are on screen 2, parameters 32 to 47 are on screen 3, and parameters 48 to 63 are on screen 4. The
message number selects the text to be displayed on a particular line. The messages themselves are
configured as described in section 3.

Advertising