beautypg.com

Delta Electronics DELTA DUP-B User Manual

Page 387

background image

Chapter 3 Creating and Editing Screens

Example
When the Screen Open Macro command is set as

and the Screen Cycle Macro is set as

the user’s screen will look like the figure shown below.

LINE (Draw a Line)

Equation
LINE (Var1)

Explanation
This command is used to draw a line on the screen.
Var1 is the starting X-coordinate
Var1+1 is the starting Y-coordinate
Var1+2 is the ending X-coordinate
Var1+3 is the ending Y-coordinate
Var1+4 is the width of the line
Var1+5 is the color of the line

Remark

Var1 can be internal memory only.



3-366

Revision May, 2010