Rockwell-automation 5370-UPK CVIM USER-PAK Option Manual de usuario Pagina 112

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 142
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 111
Chapter 8
Defining Strings for Serial Ports and Viewports
836
Example 3 Using the Draw Line Code
A draw line code was used to draw the horizontal line separating the display
title (Acme . . .) from the rest of the viewport.
Example 3
Shown below is the string text used to create the horizontal line. Recall that
the draw line code follows the format Dx,y dx,dy.
x y dx dy
In this case, the x value (the xcoordinate of the starting point of the line) is
0, indicating the left edge of the viewport. The y value is not a specific
value; rather, it is the
* symbol (which means cursor position); this
conveniently allows you, in this case, to vertically position the lines starting
point using the string Pick & Place function (on the Define String menu).
The dx value (the horizontal component of the length of the line drawn) is
479, which is the width of the viewport.
Note: You can find out the dimensions of a viewport by enabling the help
message while using Pick & Place to position the viewport). The dy value
(the vertical component of the length of the line drawn) is 0, which indicates
a horizontal line.
Vista de pagina 111
1 2 ... 107 108 109 110 111 112 113 114 115 116 117 ... 141 142

Comentarios a estos manuales

Sin comentarios