The text of a manual · part 21 of 25
Bulletin 5370 CVIM Configurable Vision Input Module Communications Manual: C - Numerical Results Data, pages 164 to 171
Pages 164 to 171 of 202, from Bulletin 5370 CVIM Configurable Vision Input Module Communications Manual
The original document is the PDF (723 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Allen-Bradley 5370-CVIM
Page 164
Appendix
C
Numerical Results Data Results Block Overview
There are 4 results blocks for each toolset. The following is an overview of the blocks. Block Number 1 Contains:
• Block Transfer Signature • Discrete Output Copy • Brightness Probe • X/Y Reference Lines #1, #2, and #3 • Feature Finder #1 • Windows 1–8 • Gages 1–8 • Total Number of Triggers, Missed Triggers, and Master Faults Block #2 Contains:
• Block Transfer Signature • Windows 9–16 • Gages 9–22 • Windows 17–24 • Total Number of Triggers Block #3 Contains:
• Block Transfer Signature • Gages 23–32 • Feature Finders #2 and #3 • Total Number of Triggers, Missed Triggers, and Master Faults Block #4 (Remote I/O Port only) Contains:
• Block Transfer Signature • Status Word • User Programmable Block Transfer Data • Total Number of Triggers
C–1
Page 165
Appendix C Numerical Results Data
Block Transfer Signature
The block transfer signature is for user information only. The CVIM places the signature in each block sent to the PLC for identification and does not care if the PLC changes the signature prior to sending a block back to the CVIM. Bits 0–7 designate the block number: 00000000 = Not Valid 00000001 = Block #1 00000010 = Block #2 ... 11111111 = Block #255
Bits 8–10 designate the toolset: 000 = Not Valid 001 = Toolset #1 010 = Toolset #2 011 to 111 = Reserved
Bits 11 and 12 designate the block type: 00 = Results 01 = Configuration 10 = Templates 11 = Statistics
Bits 13–15 specify the module thumbwheel number: 000 to 111
C–2
Page 166
Appendix C Numerical Results Data
Results Block #1
Table C.1 shows the function of each word in Results Block #1. Table C.1 Numerical Results Data – Results Block 1
Word # Bit #
Toolset 1
Toolset 2
RS–232 and Remote I/O
24
288
0
0 – 15
Block Transfer Signature
25
289
1
0 – 15
Reserved
26
290
2
0 – 15
Brightness Probe Integer
16 . 16 value. Refer to Appendix A.
27
291
3
0 – 15
Brightness Probe Fraction
16 . 16 value. Refer to Appendix A.
28
292
4
0 – 15
Reference Line #1X Position
From upper left corner of display. 16 bit integer.
29
293
5
0 – 15
Reference Line #1Y Position
From upper left corner of display. 16 bit integer.
30
294
6
0 – 15
Reference Line #2X Position
From upper left corner of display. 16 bit integer.
31
295
7
0 – 15
Reference Line #2Y Position
From upper left corner of display. 16 bit integer.
32
296
8
0 – 15
Reference Line #3X Position
From upper left corner of display. 16 bit integer.
33
297
9
0 – 15
Reference Line #3Y Position
From upper left corner of display. 16 bit integer.
34
298
10
0 – 15
Reference Window #1X1 Position
Feature #1. From upper left corner. 16 bit integer.
35
299
11
0 – 15
Reference Window #1Y1 Position
Feature #1. From upper left corner. 16 bit integer.
36
300
12
0 – 15
Reference Window #1X2 Position
Feature #2. From upper left corner. 16 bit integer.
37
301
13
0 – 15
Reference Window #1Y2 Position
Feature #2. From upper left corner. 16 bit integer.
38
302
14
0 – 15
Reference Window #1X3 Position
Feature #3. From upper left corner. 16 bit integer.
39
303
15
0 – 15
Reference Window #1Y3 Position
Feature #3. From upper left corner. 16 bit integer.
40
304
16
0 – 15
Reference Window #1X–Center
Centroid of enabled feature. 16 bit integer.
41
305
17
0 – 15
Reference Window #1Y–Center
Centroid of enabled feature. 16 bit integer.
42
306
18
0 – 15
Reference Window #1 Theta Integer
16 . 16 value. Refer to Appendix A. Only if 2 or 3 Features are enabled.
43
307
19
0 – 15
Reference Window #1 Theta Faction
Only if 2 or 3 Features are enabled.
PI Backplane
Definition
Usage
Notes
C–3
Page 167
Appendix C Numerical Results Data
Results Block #1 (cont’d) Table C.1 Numerical Results Data – Results Block 1 Word # Bit #
Toolset 1
Toolset 2
RS–232 and Remote I/O
44
308
20
0
Reference Window #1X1/Y1 Pass/Fail Bit
0 = Pass 1 = Fail
Feature 1.
44
308
20
1
Reference Window #1X2/Y2 Pass/Fail Bit
0 = Pass 1 = Fail
Feature 2.
44
308
20
2
Reference Window #1X3/Y3 Pass/Fail Bit
0 = Pass 1 = Fail
Feature 3.
44
308
20
3
Combination Pass/Fail Bit
0 = Pass 1 = Fail
0 if all enabled features pass.
44
308
20
4 – 15
Not Used
45
309
21
0 – 15
Score Reference Window #1, Feature #1
46
310
22
0 – 15
Score Reference Window #1, Feature #2
47
311
23
0 – 15
Score Reference Window #1, Feature #3
PI Backplane
Definition
Usage
Notes
48 – 49
312 – 313
24 – 25
0 – 15
Window #1 Value
Luminance – 16 . 16 Object – 32 bit integer Pixel – 32 bit integer Template – 32 bit integer Gradient – 32 bit integer
50 – 51
314 – 315
26 – 27
0 – 15
Window #2 Value
Same as window #1.
52 – 53
316 – 317
28 – 29
0 – 15
Window #3 Value
Same as window #1.
54 – 55
318 – 319
30 – 31
0 – 15
Window #4 Value
Same as window #1.
56 – 57
320 – 321
32 – 33
0 – 15
Window #5 Value
Same as window #1.
58 – 59
322 – 323
34 – 35
0 – 15
Window #6 Value
Same as window #1.
60 – 61
324 – 325
36 – 37
0 – 15
Window #7 Value
Same as window #1.
62 – 63
326 – 327
38 – 39
0 – 15
Window #8 Value
Same as window #1.
C–4
Page 168
Appendix C Numerical Results Data
Table C.1 Numerical Results Data – Results Block 1 (cont’d) Word #
PI Backplane Toolset 1
Toolset 2
RS–232 and Remote I/O
Bit # Definition
Usage
Notes
64 – 65
328 – 329
40 – 41
0 – 15
Gage #1 Value
Angular & Linear Measure – 16 . 16 Edge – 32 bit integer Object – 32 bit integer Pixel – 32 bit integer X Position & Y Position – 16 . 16
66 – 67
330 – 331
42 – 43
0 – 15
Gage #2 Value
Same as Gage #1.
68 – 69
332 – 333
44 – 45
0 – 15
Gage #3 Value
Same as Gage #1.
70 – 71
334 – 335
46 – 47
0 – 15
Gage #4 Value
Same as Gage #1.
72 – 73
335 – 336
48 – 49
0 – 15
Gage #5 Value
Same as Gage #1.
74 – 75
337 – 338
50 – 51
0 – 15
Gage #6 Value
Same as Gage #1.
76 – 77
339 – 340
52 – 53
0 – 15
Gage #7 Value
Same as Gage #1.
78 – 79
341 – 342
54 – 55
0 – 15
Gage #8 Value
Same as Gage #1.
80
344
56
0 – 15
Reserved
81
345
57
0 – 15
Reserved
82
346
58
0 – 15
Reserved
83
347
59
0 – 15
Missed Triggers
84
348
60
0 – 15
Task Master Faults – Most Significant Word
85
349
61
0 – 15
Task Master Faults – Least Significant Word
86
350
62
0 – 15
Task Triggers – Most Significant Word
87
351
63
0 – 15
Task Triggers – Least Significant Word
32 bit integer. Value is incremented if at least one tool fails.
32 bit integer.
C–5
Page 169
Appendix C Numerical Results Data
Results Block #2
Table C.2 shows the function of each word in results block #2. Table C.2 Numerical Results Data – Results Block 2
Word # Bit #
Toolset 1
Toolset 2
RS–232 and Remote I/O
88
352
0
0 – 15
Block Transfer Signature
89
353
1
0 – 15
Reserved
PI Backplane
Definition
Usage
Notes
90 – 91
354 – 355
2–3
0 – 15
Window #9 Value
Luminance – 16 . 16 Object – 32 bit integer Pixel – 32 bit integer Template – 32 bit integer Gradient – 32 bit integer
92 – 93
356 – 357
4–5
0 – 15
Window #10 Value
Same as Window #9.
94 – 95
358 – 359
6–7
0 – 15
Window #11 Value
Same as Window #9.
96 – 97
360 – 361
8–9
0 – 15
Window #12 Value
Same as Window #9.
98 – 99
362 – 363
10 – 11
0 – 15
Window #13 Value
Same as Window #9.
100 – 101
364 – 365
12 – 13
0 – 15
Window #14 Value
Same as Window #9.
102 – 103
366 – 367
14 – 15
0 – 15
Window #15 Value
Same as Window #9.
104 – 105
368 – 369
16 – 17
0 – 15
Window #16 Value
Same as Window #9.
106 – 107
370 – 371
18 – 19
0 – 15
Gage #9 Value
Angular & Linear Measure – 16 . 16 Edge – 32 bit integer Object – 32 bit integer Pixel – 32 bit integer X Position & Y Position – 16 . 16
108 – 109
372 – 373
20 – 21
0 – 15
Gage #10 Value
Same as Gage #9.
110 – 111
374 – 375
22 – 23
0 – 15
Gage #11 Value
Same as Gage #9.
112 – 113
376 – 377
24 – 25
0 – 15
Gage #12 Value
Same as Gage #9.
114 – 115
378 – 379
26 – 27
0 – 15
Gage #13 Value
Same as Gage #9.
116 – 117
380 – 381
28 – 29
0 – 15
Gage #14 Value
Same as Gage #9.
118 – 119
382 – 383
30 – 31
0 – 15
Gage #15 Value
Same as Gage #9.
120 – 121
384 – 385
32 – 33
0 – 15
Gage #16 Value
Same as Gage #9.
122 – 123
386 – 387
34 – 35
0 – 15
Window #17 Value
Luminance – 16 . 16 Object – 32 bit integer Pixel – 32 bit integer Template – 32 bit integer Gradient – 32 bit integer
124 – 125
388 – 389
36 – 37
0 – 15
Window #18 Value
Same as Window #17.
126 – 127
390 – 391
38 – 39
0 – 15
Window #19 Value
Same as Window #17.
C–6
Page 170
Appendix C Numerical Results Data
Table C.2 Numerical Results Data – Results Block 2 Word # Bit #
Toolset 1
Toolset 2
RS–232 and Remote I/O
128 – 129
392 – 393
40 – 41
0 – 15
Window #20 Value
Same as Window #17.
130 – 131
394 – 395
42 – 43
0 – 15
Window #21 Value
Same as Window #17.
132 – 133
396 – 397
44 – 45
0 – 15
Window #22 Value
Same as Window #17.
134 – 135
398 – 399
46 – 47
0 – 15
Window #23 Value
Same as Window #17.
136 – 137
400 – 401
48 – 49
0 – 15
Window #24 Value
Same as Window #17.
PI Backplane
Definition
Usage
Notes
138 – 139
402 – 403
50 – 51
0 – 15
Gage #17 Value
Angular & Linear Measure – 16 . 16 Edge – 32 bit integer Object – 32 bit integer Pixel – 32 bit integer X Position & Y Position – 16 . 16
140 – 141
404 – 405
52 – 53
0 – 15
Gage #18 Value
Same as Gage #17.
142 – 143
406 – 407
54 – 55
0 – 15
Gage #19 Value
Same as Gage #17.
144 – 145
408 – 409
56 – 57
0 – 15
Gage #20 Value
Same as Gage #17.
146 – 147
410 – 411
58 – 59
0 – 15
Gage #21 Value
Same as Gage #17.
148 – 149
412 – 413
60 – 61
0 – 15
Gage #22 Value
Same as Gage #17.
150
414
62
0 – 15
Task Trigger – Most Significant Word
32 bit integer.
151
415
63
0 – 15
Task Trigger – Least Significant Word
C–7
Page 171
Appendix C Numerical Results Data
Results Block #3
Table C.3 shows the function of each word in results block #3. Table C.3 Numerical Results Data – Results Block 3
Word # Bit #
Toolset 1
Toolset 2
RS–232 and Remote I/O
152
416
0
0 – 15
Block Transfer Signature
153
417
1
0 – 15
Reserved
PI Backplane
Definition
Usage
Notes
154 – 155
418 – 419
2–3
0 – 15
Gage #23 Value
Angular & Linear Measure – 16 . 16 Edge – 32 bit integer Object – 32 bit integer Pixel – 32 bit integer X Position & Y Position – 16 . 16
156 – 157
420 – 421
4–5
0 – 15
Gage #24 Value
Same as Gage #23
158 – 159
422 – 423
6–7
0 – 15
Gage #25 Value
Same as Gage #23
160 – 161
424 – 425
8–9
0 – 15
Gage #26 Value
Same as Gage #23
162 – 163
426 – 427
10 – 11
0 – 15
Gage #27 Value
Same as Gage #23
164 – 165
428 – 429
12 – 13
0 – 15
Gage #28 Value
Same as Gage #23
166 – 167
430 – 431
14 – 15
0 – 15
Gage #29 Value
Same as Gage #23
168 – 169
432 – 433
16 – 17
0 – 15
Gage #30 Value
Same as Gage #23
170 – 171
434 – 435
18 – 19
0 – 15
Gage #31 Value
Same as Gage #23
172 – 173
436 – 437
20 – 21
0 – 15
Gage #32 Value
Same as Gage #23 Feature #1 16 bit integer
C–8
174
438
22
0 – 15
Reference Window #2X1 Position
175
439
23
0 – 15
Reference Window #2Y1 Position
Feature #1 16 bit integer
176
440
24
0 – 15
Reference Window #2X2 Position
Feature #2 16 bit integer
177
441
25
0 – 15
Reference Window #2Y2 Position
Feature #2 16 bit integer
178
442
26
0 – 15
Reference Window #2X3 Position
Feature #3 16 bit integer
179
443
27
0 – 15
Reference Window #2Y3 Position
Feature #3 16 bit integer
180
444
28
0 – 15
Reference Window #2X – Center
Centroid of enabled feature. 16 bit integer.
181
445
29
0 – 15
Reference Window #2Y – Center
Centroid of enabled feature. 16 bit integer.