Rockwell Automation 5370-CBPK Color CVIM BLISTER-PAK Option User Manual

Page 63

Advertising
background image

Chapter 8
Results and Outputs

8–2

Table 8.A is an addendum to the Formula Entry Key Functions table that
appears in Table 4.C of the Color CVIM MATH-PAK Option User’s Manual
(Cat. No. 5370-ND016). It lists the Window key codes and subcodes in effect
when using the object verification window operation, along with a brief
description of the type of results data that each code and subcode
combination returns when used within a formula.

Table 8.A
Operand Keys

Key

Code

Operand Name

①➁

Subcodes

Type of Results Data Returned to Formula

W

WINn.s

(n = 1 to 48)

(s = 0 to 3)

n.0
n.1
n.2
n.3

Tool error status (Refer to Table 8.B)
Pass/Fail condition for EMPTY (0 = EMPTY)
Pass/Fail condition for FAIL (0 = FAIL)
Number of faults detected

The Operand Name column shows how each operand appears when entered into a formula. The
letter “n” stands for window number; the letter “s” stands for operation subcode.

Subcodes 0 to 3, as defined in this table, apply only to Object Verification window operations. For
all other window operations, refer to Table 4.C in the Color CVIM MATH–PAK user manual.

Table 8.B lists the tool error status code names, a brief description of each
error code, and the weighted binary value that is assigned to each error code
(expressed as a decimal value).

Table 8.B
Tool Error Status Codes

Data

String

Explanatory Note

0

PASS

The blister passed all inspection criteria.

1

FOREIGN

The system has detected foreign material within the blister.

2

EMPTY

The system has detected a blister containing no tablets or capsules (no
pixels of the learned color(s)).

4

EXTRA

The system has detected a blister containing more than the expected
number of tablets or capsules.

8

COLOR

The system has detected a blister containing a tablet or capsule of a
color different than expected.

16

OVERSIZE

The system has detected a tablet or capsule that is larger than that
permitted by the area tolerance.

32

POSITION

The system has detected a tablet or capsule that is outside the position
tolerance.

64

UNDERSIZE

The system has detected a tablet or capsule that is smaller than that
permitted by the area tolerance, yet shaped correctly.

128

BROKEN

The system has detected a tablet or capsule that is smaller than that
permitted by the area tolerance, and shaped incorrectly.

256

SHAPE

The system has detected a tablet or capsule that is of an acceptable
area, but shaped incorrectly.

512

MISSING

Signifies that the system encountered one or more empty pockets.

This value can be directly accessed by MATH-PAK formulas.

This value can be directly accessed for manipulation as a USER-PAK string (Refer to page 8–4).

Advertising