![background image](http://html.mh-extra.com/html/omron/nt20s/nt20s_operation-manual_744540240.webp)
221
Terminal Commands
Section 6-6
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)
000 to 255
y0
1
y0
2
y0
3
to yn
1
yn
2
yn
3
: Y coordinates of line end points (3-digit BCD)
000 to 127
Description
Draws the specified number of lines between the specified points.
Draw Circle
Format
1B
[ESC]
38
8
x
1
* *
x
2
* *
x
3
* *
y
1
* *
y
2
* *
y
3
* *
r
1
* *
r
2
* *
r
3
* *
x
1
x
2
x
3
:
X coordinate of circle center (3-digit BCD)
000 to 255
y
1
y
2
y
3
:
Y coordinate of circle center (3-digit BCD)
000 to 127
r
1
r
2
r
3
:
circle radius in dots (3-digit BCD)
001 to 063
Description
Draws a circle of the specified radius around the circle center point.
Summary of Contents for NT20S
Page 1: ...Cat No V020 E1 04 NT20S Programmable Terminal OPERATION MANUAL ...
Page 2: ...i ...
Page 3: ...ii ...
Page 4: ...iii NT series Programmable Terminal Operation Manual Revised August 1997 ...
Page 5: ...iv ...
Page 7: ...vi ...
Page 11: ...x ...
Page 19: ...xviii ...
Page 129: ...110 ...
Page 169: ...150 ...
Page 253: ...234 ...