Example messages, Example messages -2 – Rockwell Automation 2706-D11JS_D21JS Dataliner DL5 Slave Displays User Manual

Page 28

Advertising
background image

Publication 2706-6.4

4-2

Dataliner (DL) Slave Mode

Address

The address of the slave display that will receive the message. This is a
single byte character from 1 to 127 decimal (01 through 7F hex).

Note: Do not use 13 (0Dhex) or 18 (12hex) as an address. These are
reserved and the DL5 automatically converts these addresses to 127 (7F
hex). Address 127 is a global address that accepts all messages regardless
of the address. In addition, any message sent with an address of 127 is sent
to all slave displays.

Line Number

A one byte character specifying the line number the message is to be
displayed on. Valid line numbers are 1, 2, or 50 decimal (not ASCII). The
ASCII characters are Ctrl-A = 1, Ctrl-B = 2, and 2 = 50

Note: 50 decimal as the line number specifies clear both lines.

Carriage Return

Message is terminated by a carriage return, Ctrl-M (decimal 13, 0Dhex).

Example Messages

For example, a print statement using a BASIC module (Catalog No.
1771-DB or 1746-BAS) with a DL5 Slave display would be:

The message BLOWER 1 STOPPED would be displayed on line one of
slave number one. To send the message fields, the print CHR (decimal
character equivalent) function is used.

To send the same message from any PC terminal program, use:

Where: ^A is the [Ctrl] and [A] keys pressed at the same time.

^M is the [Ctrl] and [M] keys pressed at the same time.

100 PRINT#”BLOWER 1 STOPPED”, CHR(1), CHR(1), CHR(13)

Line 1

Carriage

Return

Slave 1

Carriage

Return (0Dhex)

BLOWER 1 STOPPED^A^A^M

ASCII Text

Line #1
(01hex)

Slave #1
(01hex)

Advertising