Terminal mode protocol, Terminal mode protocol -2 – Rockwell Automation 2706-D11JS_D21JS Dataliner DL5 Slave Displays User Manual

Page 36

Advertising
background image

Publication 2706-6.4

6-2

Terminal Mode

Terminal Mode Protocol

Message text and control codes are sent serially to the DL5 Slave in
terminal mode. The following control codes are used:

Cursor Up (Ctrl-K )

(0B hex)

Positions the cursor directly above the current cursor position. If the cursor
is on the first line, the cursor is moved to the last line on the display. On one
line displays, the cursor does not move.

Cursor Down (Ctrl-V)

(16 hex)

Positions the cursor directly below the current cursor position. If the cursor
is on the last line, the cursor is moved to the first line on the display. On one
line displays, the cursor does not move.

Cursor Left (Ctrl-H)

(08 hex)

Moves the cursor one position to the left of the current cursor position. If
the cursor is at the leftmost position on a line, the cursor is moved to the
rightmost position on the line above. If the cursor is at the leftmost position
of the first line, the cursor is moved to the rightmost position of the last line.

Cursor Right (Ctrl-L)

(0C hex)

Moves the cursor one position to the right of the current cursor position. If
the cursor is at the rightmost position on a line, the cursor is moved to the
leftmost position on the next lower line. If the cursor is at the rightmost
position of the last line, the cursor is moved to the leftmost position of the
first line.

Cursor Return (Ctrl-M)

(0D hex)

Moves the cursor to the leftmost position on the current line.

Line Feed (Ctrl-J)

(0A hex)

Moves the cursor directly below the current position. If the cursor is on the
last line, the cursor stays in its position and every line is moved up one line
(leaving the first line blank).

Reverse Line Feed (Esc and then J )

(1B, 4A hex)

Moves the cursor directly above the current position. If the cursor is on the
first line, the cursor stays in its position and every line is moved down one
line (leaving the last line blank).

Cursor Home (Ctrl-T)

(14 hex)

Moves the cursor to the leftmost position on the first line of the display.

Clear Screen (Esc and then *)

(1B, 2A hex)

Clears the display and moves the cursor to the leftmost position on the first
line of the display.

New Line (Ctrl-_)

(1F hex)

Moves the cursor to the beginning of the line below. If the cursor is on the
last line, every line is moved up one line (leaving the last line blank).

Advertising