Hardware manual
Impact Reference Guide Code Reader
3-167 Datalogic Automation Inc.
The number of byte errors indicates symbol or location quality. Each byte corresponds to eight modules or
cell locations, so up to eight module errors can fit into a single byte error. The number of correctable errors
is based on the size of the matrix. For example, in a 14 x 14 matrix, five byte errors are correctable. The data
portion is 144 modules (12h x 12w = 144). These 144 data modules are divided into 18 bytes (144 modules /
8 bytes per module = 18 bytes). These 18 bytes consist of 8 bytes of data and 10 bytes of redundancy. Errors
are correctable up to half the number of bytes of redundancy, or 5 bytes in this example.
Code Reader
In the Readers Drawer (Available on the Impact M-Series, T4x-Series, and A30)
The Code Reader tool reads 1D, 2D, Postal, Pharmacode, and MSI/2of5 symbols and provides thirty-six dif-
ferent outputs from the decoded symbols. A Setup is available for this tool, see “Code Reader” on page 3-
167. Also see “How the Code Reader Tool Works” on page 6-34.
The following table defines the Code Reader tool’s inputs and outputs.
Input Name What it is
Input Image The image to be inspected
Tool Origin The tool’s origin relative to the entire image space
Region of Interest This is both the train and search ROI. Position the ROI over the desired
part of the image to train and/or search. You can train on one area of an
image, then search a different area.
Train Mode After training, the tool sets the input property of the code types it finds to
True. The tool then looks for those code types when it runs. You can also
define the code types manually by setting the desired code type’s input
property to True. If the input property for a code is True, that code is con-
sidered defined.
Add: When the tool is trained, any new code types trained are added to
the list of trained codes (set to True). Any existing code types stay in the
list, even if they are not trained in the image again.
Replace: When the tool is trained, any new code types trained in the
image are added to the list of trained codes (set to True) and any exist-
ing code types that are not trained are removed from the list (set to
False).
Train Type These are the types of codes the tool will try to find during Training.
Number of Codes to
Train
The minimum number of code configurations the tool uses during train-
ing. The tool stops training after it tries this number of configurations,
though it may find more than this number of individual code instances.
Use the smallest number that will train all the desired codes.
Tool Timeout
(msec)
The maximum length of time (in milliseconds) that the tool runs before it
aborts.
Delimiter If multiple codes are read, this character is inserted between the
decoded strings in the output labeled Output String.
Code Type Enum This property has no affect on the tool. It is available so it can be linked
to other tools or to a Control Panel.