EasyManua.ls Logo

ASTRO VG-871 - GLINE [19 H]: Straight Line Drawing; CLINE [13 H]: Straight Line Clearing

ASTRO VG-871
499 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 5 INDIVIDUAL DRAWING COMMAND FORMATS
427
5.3 GLINE [19H]: Straight line drawing /
CLINE [13H]: Straight line clearing
5.3.1 GLINE [19H]: Straight line drawing
Function: This command draws a straight line on the graphic plane (1-bit plane).
The start and end point coordinates are set by the parameters.
Sequence: Type 2
Command:
STX
1 byte
02H
GLINE, CLINE
1 byte
19H, 13H
Start point coordinate X
2 to 5 bytes
Sign code + “0” to “4095” e.g. 100 0100
Sign code: “0” = +, “1” = -
*-2048 (“12048”) to +4096 (“04095”) in numerical
terms
Data delimiter
1 byte
“, “
Start point coordinate Y
2 to 5 bytes
Sign code + “0” to “4095” e.g. 100 0100
Sign code: “0” = +, “1” = -
*-2048 (“12048”) to +4096 (“04095”) in numerical
terms
Data delimiter
1 byte
“, “
End point coordinate X 1
2 to 5 bytes
Sign code + “0” to “4095” e.g. 100 0100
Sign code: “0” = +, “1” = -
*-2048 (“12048”) to +4096 (“04095”) in numerical
terms
Data delimiter
1 byte
“, “
End point coordinate Y 1
2 to 5 bytes
Sign code + “0” to “4095” e.g. 100 0100
Sign code: “0” = +, “1” = -
*-2048 (“12048”) to +4096 (“04095”) in numerical
terms
ETX
1 byte
03H
Fig. 5-3-1
* Sign codes are provided.

Table of Contents

Related product manuals