4-3 displaying figures, Specify displayed characters, Draw polyline – Omron NT-series Programmable Terminal V022-E3-1 User Manual

Page 240

Advertising
background image

Reference



   

Section 6-4

Specifying the Character-string

The character-string to be displayed can be specified by the following command.

Specify Displayed Characters

Format

1B

[ESC]

34

4

n

1

 

n

2

 

c

1

 

c

2

 

c

n

 

c

3

 

n

1

n

2

: Character string length as a number of normal characters (2-digit hexadeci-

mal)
01 to 50H (1 to 80)

c

1

c

2

c

3

to c

n

:

Character-string to display

Description



The character string is displayed from the cursor position.



The character-string data can contain a mixture of normal (alphanumeric) char-
acters and marks. Refer to

Appendix M Special Characters for details.



The character string is displayed according to the enlargement and display at-
tributes set with commands.



The character string continues on the next line if it cannot fit into a single line.



Set the position where the character string is displayed with the Set Cursor Posi-
tion Command (refer to

7-4-2 Set Cursor Position).

7-4-3

Displaying Figures

Displaying the Line

Use the following command to display a polyline.

Draw Polyline

Format

1B

[ESC]

37

7

m

1

 

m

2

 

x0

1

 

x0

2

 

x0

3

 

y0

1

 

y0

2

 

y0

3

 

xn

1

 

xn

2

 

xn

3

 

yn

1

 

yn

2

 

yn

3

 

m

1

, m

2

: Number of lines to draw (2-digit hexadecimal)

01 to 28

H

(1 to 40)

x0

1

x0

2

x0

3

to xn

1

xn

2

xn

3

:X coordinates of line end points (3-digit BCD)

y0

1

y0

2

y0

3

to yn

1

yn

2

yn

3

:Y coordinates of line end points (3-digit BCD)

X coordinate

Y coordinate

000 to 639

000 to 399

Description

Draws the specified number of lines between the specified points.

Advertising