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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 142
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 118
Chapter 8
Defining Strings for Serial Ports and Viewports
843
Here are the different elements of the string text:
The string text begins with a plot line code, which follows the format
Px,y dx,dy.
x y dx dy
In this example, the x value (the xcoordinate of the starting point of the
line) is %1, indicating the xcoordinate is taken from formula 1. The
formula 1 result is defined, in this case, as the xcoordinate of the edge of the
part, as detected by the reference line 1. The y value (the ycoordinate of the
starting point of the line) is %2, indicating the ycoordinate is taken from
formula 2. The formula 2 result is defined, in this case, as the ycoordinate
of the edge detected by the reference line. Thus the lines starting point,
based on the two formula results, is located at the corner of the part. As the
part position changes from inspection to inspection, the starting point of the
line moves accordingly.
The dx and dy values are each 10, which plots a short line from the starting
point to an end point which is 10 pixels to the right, and 10 pixels down.
Data codes (F1 and F2) are used to display the results of formula 1 and
formula 2.
The format code (3) or (3) is added on to each data code to limit the
display field to three places for the result, and to left justify the second
result.
The ! symbol, the conditional colorcode indicator, is also added to each
data code. This has the effect of displaying the results in a conditional
color (green, yellow, or red), depending on the status of each formula
(pass, warning, or fail, respectively).
Vista de pagina 118
1 2 ... 114 115 116 117 118 119 120 121 122 123 124 ... 141 142

Comentarios a estos manuales

Sin comentarios