
Chapter 8
Defining Strings for Serial Ports and Viewports
8 – 5
Table 8.A (pt. 1 of 3)
Data Codes
Data Code➀ Subcodes (.s)➀
Description of field
Gn.0 Gage measurement value (# of pixels, # of edges, etc.)
Gn.1 Pass/fail condition for warning range (1 = pass, 0 = fail).
Gn.2 Pass/fail condition for fault range (1 = pass, 0 = fail).
Gn.s
(n = 1 to 64)
Gn.3
Second coordinate value (Y coordinate for X Position gage;
X coordinate for Y Position gage).
(n = 1 to 64)
(s = 0 to 9)
Gn.4
Number of faults detected.
(For Gages)
Gn.5
Nominal value
(For Gages)
Gn.6
Fault range high.
Gn.7 Fault range low.
Gn.8 Warning range high.
Gn.9 Warning range low.
Wn.0 Window measurement value (# of pixels, # of objects, etc.).
Wn.1 Pass/fail condition for warning range (1 = pass, 0 = fail).
Wn.2 Pass/fail condition for fault range (1 = pass, 0 = fail).
Wn.3 Number of faults detected.
Wn.4 Nominal value.
Wn.5 Fault range high.
Wn.6 Fault range low.
Wn.7 Warning range high.
Wn.s
(n = 1 to 48)
Wn.8
Warning range low.
(s = 0 to 19)
Wn.9➁
Total number of objects counted before target filtering.
(For Windows)
Wn.10➁
Perimeter value of first counted object.
Wn.11➁
Area value of first counted object.
Wn.12➁
X center value of first counted object.
Wn.13➁
Y center value of first counted object.
Wn.14➁
Inertial value of first counted object.
Wn.15➁
Theta value of first counted object.
Wn.16➁
Min radius value of first counted object.
Wn.17➁
Max radius value of first counted object.
Wn.18➁
H size value of first counted object.
Wn.19➁
L size value of first counted object.
➀The letter n = tool or formula number (as appropriate). The letter s = operand
subcode.
➁Window subcodes 9 to 19 pertain to the object counting operation only. The “first
counted object” is the object which, among those that satisfy the filter parameters, is
closest to the upper left corner of the window. If a filter parameter is not enabled for
the window, a result of –1000 is returned for that parameter.
Comentarios a estos manuales