beautypg.com

Ascii display string format, Special characters and control sequences, Invalid control sequences – Rockwell Automation 2711E-ND1 PanelBuilder 1400E Reference Manual User Manual

Page 14

background image

3

ASCII Displays

Publication 2711E-820 – January 1998

ASCII Display String Format

The format of the data string must be as in the following table. For
more characters see the ASCII character set in Appendix D, or see
Appendix B, The Extended Character Set, in the PanelBuilder 1400e
Configuration Software for Windows User Manual.

ББББББББ

ББББББББ

Bit

БББББББ

БББББББ

15 8

ББББББББ

ББББББББ

7 0

ББББББББ

ББББББББ

1st word

БББББББ

БББББББ

1st character

ББББББББ

ББББББББ

2nd character

ББББББББ

ББББББББ

2nd word

БББББББ

БББББББ

3rd character

ББББББББ

ББББББББ

4th character

ББББББББ

ББББББББ

БББББББ

БББББББ

ББББББББ

ББББББББ

Special Characters and Control Sequences

The ASCII Display uses character 255 (

G) to align display strings of

odd length. Fill characters are not printable and will not occupy
space on the display. For a list of the ASCII character set, see
Appendix D in this manual.

The following table lists the control sequences used by the
PanelView terminal.

БББББББ

Б

БББББ

Б

БББББББ

Name

БББББББ

Б

БББББ

Б

БББББББ

Sequence

БББББ

Б

БББ

Б

БББББ

Hex

БББББББББББББББББ

Б

БББББББББББББББ

Б

БББББББББББББББББ

Action

БББББББ

Б

БББББ

Б

БББББББ

Carriage Return

БББББББ

Б

БББББ

Б

БББББББ

CR

БББББ

Б

БББ

Б

БББББ

0D

БББББББББББББББББ

Б

БББББББББББББББ

Б

БББББББББББББББББ

Move to the beginning of the current line.

БББББББ

Б

БББББ

Б

БББББББ

Line Feed

БББББББ

Б

БББББ

Б

БББББББ

LF

БББББ

Б

БББ

Б

БББББ

0A

БББББББББББББББББ

Б

БББББББББББББББ

Б

БББББББББББББББББ

Move to the next line below the current one. If the current position is
the last line, no more data from the string is displayed.

БББББББ

БББББББ

Clear to End of Display

БББББББ

БББББББ

ESC[0J or ESC[J

БББББ

БББББ

1B5B4A

БББББББББББББББББ

БББББББББББББББББ

Clear from the current display position to the end of the display.

БББББББ

БББББББ

Clear to End of Line

БББББББ

БББББББ

ESC[0K or ESC[K

БББББ

БББББ

1B5B4B

БББББББББББББББББ

БББББББББББББББББ

Clear from the current display position to the end of the line.

БББББББ

Б

БББББ

Б

Б

БББББ

Б

Б

БББББ

Б

Б

БББББ

Б

БББББББ

Position Text

БББББББ

Б

БББББ

Б

Б

БББББ

Б

Б

БББББ

Б

Б

БББББ

Б

БББББББ

ESC[row;columnH
ESC[;columnH
ESC[rowH
ESC[H

БББББ

Б

БББ

Б

Б

БББ

Б

Б

БББ

Б

Б

БББ

Б

БББББ

1B5Bxx3Byy48
1B5B3Byy48
1B5Bxx48
1B5B48

БББББББББББББББББ

Б

БББББББББББББББ

Б

Б

БББББББББББББББ

Б

Б

БББББББББББББББ

Б

Б

БББББББББББББББ

Б

БББББББББББББББББ

Move the display position to the specified row and column number.
The top left corner of the display area is row and column number
0,0. If either row or column number is omitted, the missing
coordinate will be 0.
Note: The coordinates are character positions. For example,
position (1,1) refers to pixel coordinates (8,20) in the object.

БББББББ

Б

БББББ

Б

БББББББ

Reverse Video Text On

БББББББ

Б

БББББ

Б

БББББББ

ESC[7m

БББББ

Б

БББ

Б

БББББ

1B5B376D

БББББББББББББББББ

Б

БББББББББББББББ

Б

БББББББББББББББББ

Begin displaying text in reverse video. This flips the foreground and
background colors.

БББББББ

БББББББ

Reverse Video Text Off

БББББББ

БББББББ

ESC[27m

БББББ

БББББ

1B5B32376D

БББББББББББББББББ

БББББББББББББББББ

End the reverse-video text block.

Invalid Control Sequences

If an incorrect control sequence is detected, the invalid portion is
displayed as part of the string.

For example, in the display area shown earlier, the string:
“ESC[3;0HThis sequence is invalid” would be invalid: the display is
10 characters by 3 lines, and a line specification of 3 would start
printing at the fourth line.