One barcode is read in a single measurement region.
When the measurement region contains multiple
barcodes, the result of the first barcode to be read is
output.
Draw the measurement region, then execute
AUTO setting. The barcode type and some of the
decode conditions are automatically set.
Important
Additional Functions Instructions
This document describes the additional functions of the ZFX-C1_/C2_-CD. Other functions are the same as
those for the ZFX-C1_/C2_. Also read the User's Manual (Z264) for the ZFX-C1_/C2_.
Functions original to the ZFX-C1_/C2_-CD are as follows:
•Three measurement items: Barcode, 2D Code, Multi Colors
•Auto functions
Inspection by Individual Application
Barcode
This function reads and verifies barcodes. Read results and verification results can also be output.
Measurement items to be executed from this measurement item onwards can also be specified according to
the verification results. This allows you to specify a measurement flow matched to the code type. Nine barcode
types can be read.
JAN/EAN/UPC, Code39, Codabar(NW-7), ITF(Interleaved 2 of 5), Code 93, Code128/GS1-128,
GS1 DataBar*(Truncated, Stacked, Omni-directional, Stacked Omni-directional, Limited, Expanded, Expanded
Stacked), Pharmacode, GS1-128 Composite Code(CC-A,CC-B,CC-C)
*GS1 DataBar was formerly known as RSS.
Reading will end in error if the barcode type is incorrectly set. Set the barcode type before starting reading. When
AUTO setting is executed, the captured barcode is read, and the following items can be set:
•Code type p.6
•Direction (for Pharma only) p.6
•Reverse decode (for Pharma only) p.6
ZFX-C1_/C2_-CD Additional Functions Instructions
1
Region settings
This function sets the measurement region.
X MENU mode - [Setup] - [Item] - [Region]
ItemDescription
Measurement regionSets the region to be measured.
Registering the master data for verification
Master data are used for verification. After reading process, the read text string can be verified against the preregistered master data. 32 sets of master data can be registered as text string. Also, processing to be executed
from this measurement item onwards can also be branched according to the verification results when
measurement control function is ON.
X MENU mode - [Setup] - [Item] - [Master data]
ItemDescription
Master dataThere are two modes for registering master data, auto setting and manual setting.
Auto setting:
The actual barcode is used to register the master data. When the [AUTO] button is
pressed, the barcode is read and the result is registered as the master data. Text string up
to 32 characters long are registered. Control codes also can be registered.
Manual setting:
Text string up to 32 characters long can be registered as master data via the software
keyboard. Check available characters in the ASCII table. 2-byte characters, 1-byte kana
characters and control codes cannot be entered.
The following characters can be used as wildcards:
*: Wildcard for zero or more characters
?: Wildcard for one character
ASCII code table p.3
RenameThis is the text string displayed as the verification result on the result display screen.
First meas. Item No.This is the Start No. of measurement items to be executed, when the measurement
control is set to ON and the read text string match the master data.
Last meas. Item No.This is the End No. of measurement items to be executed, when the measurement control
is set to ON and the read text string match the master data.
Measurement control p.5
Important
When the manual registration screen is displayed after execution of AUTO setting, unavailable characters in manual
registration (control codes, 2-byte characters, 1-byte kana characters, etc.) are displayed as "?".
2
ZFX-C1_/C2_-CD Additional Functions Instructions
ASCII code table
Note
Upper 4 bits
Lower 4 bits
The following table shows the ASCII codes that can be used for manual registration of master data and also for
registering characters of Limits.
Threshold
This function sets the judgment conditions.
X MENU mode - [Setup] - [Item] - [Limits]
ItemDescription
Num. of charactersSets the range of number of characters to be judged as OK.
Range: 0 to 1024
CharactersThe read text string is judged as OK when it is the same as the characters in this menu.
Up to 32 characters can be set. Check available characters in the ASCII table. 2-byte
characters, 1-byte kana characters and control codes cannot be entered.
The following characters can be used as wildcards:
*: Wildcard for zero or more characters
?: Wildcard for one character
ASCII code table p.3
ZFX-C1_/C2_-CD Additional Functions Instructions
3
Image adjustment (if necessary)
OMRON 2 0 0 8
2nd digit
6th digit
The following items can be changed and set to the image of the measurement target.
X MENU mode - [Setup] - [Item] - [Img Adj]
ItemDescription
Select CameraFor details, refer to Chapter 3 "Image Adjustment" of the ZFX User's Manual.
Color filter
Filtering
BGS level
Operation mode details (if necessary)
Set items below as required.
X MENU mode - [Setup] - [Item] - [Detail] - [Function condition]
Setup ItemSetting ValueDescription
Verification func.OFF (default value)When set to ON, verification with the master data is executed.
ON
Verified master dataAll master data (default
value)
Master data 0 to 31
Partial verificationOFF (default value)The number of digits in the read results to be verified with the
ON
Compared digit1 to 1024 (default value
first digit:1 last digit:1)
Selects the model to be used for verification.
master data can be limited. When [Partial verification] is set to
ON, set the first and last compared digit positions. Up to 32
characters can be set as the number of digits.
Example: First compared digit 2, last compared digit 6
Output charactersOFF (default value)Sets whether or not to output the read results on the serial
Error stringMax. 20 digits (default
Partial outputOFF (default value)Sets whether or not to specify a range in the read data to output
Output digit1 to 1024 (default value
Measurement controlOFFSets whether or not to control the next measurement item to be
4
ZFX-C1_/C2_-CD Additional Functions Instructions
ON
value: NG)
ON
first digit:1 last digit:1)
ON (default value)
The text string used for verification becomes "MRON2".
interface.
Sets the text string to be output when a read error occurs.
ASCII code table p.3
from when [Output characters] is set to ON.
Sets the first and last digit positions to output. If the read text
string contains non-targeted digits, the error string is output.
Measurement Item0 : Barcode
Measurement Item1 : Pattern Search
Measurement Item2 : Area
Measurement Item3 : Area
Measurement Item4 : Pattern Search
Measurement Item5 : Area
Measurement Item6 : Area
Measurement Item for Product A
Measurement Item for Product B
•The output order
The read results can be output on the serial interface. When the calculation results are output at the same time,
the calculation results are output first, followed by the read results (text string).
•Code conversion
The following character codes need to be converted for output. The texts after conversion are output.
Example: Output of read results together with two expressions
Read result: ABC
[Expression] - [Data0]: 123
[Expression] - [Data1]: 456
The output order is as follows:
123,456 (delimiter)
ABC (delimiter)
Measurement control function
This function enables control of the next measurement item to be executed based on the verification results with the
master data. The overall judgment result does not reflect the measurement items that are not executed.
Example: Measurement of product A and product B are branched according to the verification results.
Setting master data 0
•Register the barcode of product A.
•First meas. Item No.: 1
Last meas. Item No.: 3
Setting master data 1
•Register the barcode of product B.
•First meas. Item No.: 4
Last meas. Item No.: 6
Registering master data, First meas. Item No., Last meas. Item No. p.2
Decode condition detailed settings
Be Sure to set the detailed conditions for the barcode type. Set other items as required. By AUTO setting, Code
type, Direction(Pharma) are set automatically.
ZFX-C1_/C2_-CD Additional Functions Instructions
5
X MENU mode - [Setup] - [Item] - [Detail]- [Decode condition]
Setup ItemSetting ValueDescription
Code typeJAN/EAN/UPC (default
value)
Code39
Codebar(NW-7)
ITF
Code 93
Code128, GS1-128
GS1 DataBar
Pharmacode
Timeout1 to 9999 ms (default
value: 9999)
Check digitOFFSelects whether or not to insert a check digit. This item is
ON (default value)
Composite componentOFF (default value)Sets whether or not to support composite codes.
ON
Direction (Pharma)Horizontal mode (default
value)
Vertical mode
Reverse (Pharma)OFF (default value)Sets whether or not to use the reverse mode. This item is
ON
Selects the type of barcode to be read.
Sets the timeout time in read processing. A read error occurs if
measurement does not end after the preset timeout time is
exceeded.
enabled only when the following barcode types are selected:
Codebar, Code39, ITF (Interleaved 2 of 5). When the other
codes are selected, this item is set to ON.
This item is enabled only when the following barcode types are
selected:
Code128/GS1-128, GS1-DataBar
Selects the reading direction. This item is enabled only when
Pharmacode is selected as the barcode type.
enabled only when Pharmacode is selected as the barcode
type.
Possible output results
The following values can be output when expressions are set.
ItemDescription
Judgment result (JG)The judgment result is output. (0: OK, -1: NG, -2: not measured)
Index (IN)Outputs the verification results (master model No.). (-2: verification results OFF or read
error, -1: verification results NG, 0 to 31: model No.)
Num. of characters (N)Outputs the read number of characters. (0 to 1024)
CharactersOutputs the read text string.
Only codes that can be registered manually and 2-byte characters can be displayed as
text string in the result display screen. Other character codes (including control codes)
that are read are displayed as spaces. The read string is displayed up to 32 characters.
When more than 32 characters are read, “
6
ZFX-C1_/C2_-CD Additional Functions Instructions
···“ is displayed at the end of the string.
2D Codes
SetupMeasurement
Measurement region
One 2D barcode is read in a single measurement region.
When the measurement region contains multiple 2D
codes, the result of the first 2D code to be read is output.
Draw the measurement region, then execute
AUTO setting. The code type and some of the
decode conditions are automatically set.
Important
This function reads and verifies 2D codes. Read results and verification results can also be output.
Measurement items to be executed from this measurement item onwards can also be specified according to
the verification results. This allows you to specify a measurement flow matched to the code type. Eight 2D
Code types can be read.
Data Matrix(EC200), QR Code, MicroQR Code, PDF417, MicroPDF417, Maxi Code, AZtec Code, Codablock
Reading will end in error if the 2D Code type is incorrectly set. Set the code type before starting reading. When AUTO
setting is executed, the captured 2D barcode is read, and the following items can be set:
•Code type p.11
•Mirror p.11
•Code color (for Data Matrix and PDF417 only) p.11
•Shape (for Data Matrix only) p.11
Region settings
This function sets the measurement region.
X MENU mode - [Setup] - [Item] - [Region]
ItemDescription
Measurement regionSets the region to be measured.
ZFX-C1_/C2_-CD Additional Functions Instructions
7
Registering the master data for verification
Important
Master data are used for verification. After reading process, the read text string can be verified against the preregistered master data. 32 sets of master data can be registered as text string. Also, processing to be executed
from this measurement item onwards can also be branched according to the verification results when
measurement control function is ON.
X MENU mode - [Setup] - [Item] - [Master data]
ItemDescription
MasterdataThere are two modes for registering master data, auto setting and manual setting.
Auto setting:
The actual code is used to register the master data. When the [AUTO] button is pressed,
the code is read and the result is registered as the master data. Text string up to 32
characters long are registered. Control codes also can be registered.
Manual setting:
Text string up to 32 characters long can be registered as master data via the software
keyboard. 2-byte characters, 1-byte kana characters and control codes cannot be
entered. Check available characters in the ASCII table.
The following characters can be used as wildcards:
*: Wildcard for zero or more characters
?: Wildcard for one character
ASCII code table p.3
RenameThis is the text string displayed as the verification result on the result display screen.
First meas. Item No.This is the Start No. of measurement items to be executed, when the measurement
control is set to ON and the read text string match the master data.
Last meas. Item No.This is the End No. of measurement items to be executed, when the measurement control
is set to ON and the read text string match the master data.
Measurement control p.5
When the manual registration screen is displayed after execution of AUTO setting, unavailable characters in manual
registration (control codes, 2-byte characters, 1-byte kana characters, etc.) are displayed as "?".
8
ZFX-C1_/C2_-CD Additional Functions Instructions
Threshold
This function sets the judgment conditions.
X MENU mode - [Setup] - [Item] - [Limits]
ItemDescription
Num. of charactersSets the range of number of characters to be judged as OK.
Range: 0 to 1024
CharactersThe read text string is judged as OK when it is the same as the characters in this menu.
Up to 32 characters can be set. Check available characters in the ASCII table. 2-byte
characters, 1-byte kana characters and control codes cannot be entered.
The following characters can be used as wildcards:
*: Wildcard for zero or more characters
?: Wildcard for one character
ASCII code table p.3
Image adjustment (if necessary)
The following items can be changed and set to the image of the measurement target.
X MENU mode - [Setup] - [Item] - [Img Adj]
ItemDescription
Select CameraFor details, refer to Chapter 3 "Image Adjustment" of the ZFX User's Manual.
Color filter
Filtering
BGS level
ZFX-C1_/C2_-CD Additional Functions Instructions
9
Operation mode details (if necessary)
OMRON 2 0 0 8
2nd digit
6th digit
Set items below as required.
X MENU mode - [Setup] - [Item] - [Detail] - [Function condition]
Setup ItemSetting ValueDescription
Verification func.OFF (default value)When set to ON, verification with the master data is executed.
ON
Verified master dataAll master data (default
value)
Master data 0 to 31
Partial verificationOFF (default value)The number of digits in the read results to be verified with the
ON
Compared digit
Output charactersOFF (default value)Sets whether or not to output the read results on the serial
Error stringMax. 20 digits (default
Partial outputOFF (default value)Sets whether or not to specify a range in the read data to output
Output digit1 to 1024 (default value
Measurement controlOFF (default value)Sets whether or not to control the next measurement item to be
1 to 1024 (default value first
digit:1 last digit:1)
ON
value: NG)
ON
first digit:1 last digit:1)
ON
Selects the model to be used for verification.
master data can be limited. When [Partial verification] is set to
ON, set the first and last compared digit positions. Up to 32
characters can be set as the number of digits.
Example: First compared digit 2, last compared digit 6
The text string used for verification becomes "MRON2".
interface.
Sets the text string to be output when a read error occurs.
ASCII code table p.3
from when [Output characters] is set to ON.
Sets the first and last digit positions to output. If the read text
string contains non-targeted digits, the error string is output.
executed based on the verification results.
10
ZFX-C1_/C2_-CD Additional Functions Instructions
• Output function of the read results p.5
•Measurement control function p.5
Decode condition detailed settings
Be Sure to set the detailed conditions for the code type. Set other items as required. By AUTO setting, Code
type, Mirror, Code color, Shape (Data Matrix) are set automatically.
X MENU mode - [Setup] - [Item] - [Detail]- [Decode condition]
Setup ItemSetting ValueDescription
Code typeData Matrix (EC200)Selects the type of 2D Code to be read.
QR Code
MicroQR Code
PDF417
MicroPDF417
Maxi Code
AZtec Code
Codablock
Timeout1 to 9999 ms
(default value: 9999)
MirrorNormal (default value)Sets normal or reverse as the image orientation.
Reverse
Code colorBlackSpecifies the code color.
White
Black & White (default
value)
Shape (Data Matrix)Square (default value)Specifies the code shape.
Square & Rectangle
Sets the timeout time in read processing. A read error occurs if
measurement does not end after the preset timeout time is
exceeded.
This item is enabled only when the following barcode types are
selected:
Data Matrix, PDF417
This item is enabled only when the following barcode types are
selected:
Data Matrix
Possible output results
The following values can be output when expressions are set.
ItemDescription
Judgment result (JG)The judgment result is output. (0: OK, -1: NG, -2: not measured)
Index (IN)Outputs the verification results (master model No.). (-2: verification results OFF or read
error, -1: verification results NG, 0 to 31: model No.)
Num. of characters (N)Outputs the read number of characters. (0 to 1024)
CharactersOutputs the read text string.
Only codes that can be registered manually and 2-byte characters can be displayed as
text string in the result display screen. Other character codes (including control codes)
that are read are displayed as spaces. The read string is displayed up to 32 characters.
When more than 32 characters are read, “
ZFX-C1_/C2_-CD Additional Functions Instructions
···“ is displayed at the end of the string.
11
Size Inspection
Important
SetupMeasurement
Measurement region
The area of each color is measured, and if even one of the
area values is judged as NG, the overall judgment result is
NG.
Measurement region and up to four reference
colors can be registered.
Color 1
Color 2
Color 3
Area of color 1
Area of color 2
Area of color 3
Multi Colors
This function measures the areas of up to four colors simultaneously, which enables to measure the difference
of color pattern. Each of the area values and differences with reference values can be output.
This function cannot be used when a monochrome camera is connected.
Image adjustment
This function picks up the color to be measured.
X MENU mode - [Setup] - [Item] - [Img Adj]
ItemDescription
Select CameraFor details, refer to Chapter 3 "Image Adjustment" of the ZFX User's Manual.
Color pickup
Region settings
This function sets the measurement region.
X MENU mode - [Setup] - [Item] - [Region]
ItemDescription
Measurement regionSets the region to be measured.
Reference registrationWhen the measurement region is set, measurement is executed on the display image,
and the result of execution is registered as the reference value. To re-register only
reference values, you can use this function to re-register only reference values based on
the image currently on screen.
12
ZFX-C1_/C2_-CD Additional Functions Instructions
Threshold
This function sets the judgment conditions.
X MENU mode - [Setup] - [Item] - [Limits]
Setup ItemDescription
Area 1 to 4Sets the range of the area to be judged as OK.
Range: 0 to 9999999.999 (When calibration is OFF, the range becomes 0 to 307200.)
Detailed settings (if necessary)
Adjust the detailed conditions, if necessary.
X MENU mode - [Setup] - [Item] - [Detail]
Setup ItemSetting ValueDescription
Fill profileOFF (default value)To measure the outer periphery of the measurement target, set
ON
CalibrationOFF (default value)Measurement results are output using the camera's coordinate values.
ONMeasurement results are output using the coordinate value
Auto THset +/-0 to 9999999.999When AUTO setting is executed, the value obtained by
Area judgment0 to 9999999.999Sets the area value to be judged as the effective color. When
this item to [ON].
When this item is set to [ON], measurement is performed with
all of the area between the start point (colors outside of
measurement target
point (measurement target color
measurement target) inside the measurement region judged to
the measurement target color.
For details, refer to the "Area" detailed settings in Chapter 3 of
the ZFX User's Manual.
converted by the calibration function.
incrementing/decrementing this value on the measured value is
set as the thresholds.
AUTO setting is executed, only up to four colors having an area
within these upper and lower limit values are automatically
registered.
→ measurement target color) and the end
→ colors outside of
Possible output results
The following values can be output when expressions are set.
ItemDescription
Judgment result (JG)The judgment result is output. (0: OK, -1: NG, -2: not measured)
Area 1 to 4 (AR1 to 4)The area of the measurement color is output. (0 to 9999999.999)
Ref. area 1 to 4 (SA1 to 4)
Diff. area 1 to 4 (DA1 to 4)a
The area when the measurement region is set is output. (0 to 9999999.999)
The area difference obtained by "measurement value - reference value" is output.
(9999999.999 to 9999999.999)
ZFX-C1_/C2_-CD Additional Functions Instructions
13
Auto functions
Important
AUTO button (RUN mode)
In the RUN mode, all measurement items can be batch-set automatically by pressing the [AUTO] button.
AUTO setting content differs with each measurement item. For details, see "AUTO Setting" in Chapter 7 of the
ZFX User's Manual.
X MENU mode - [System] - [Operation] - [AUTO Button (RUN mode)]
Setup ItemDescription
ON
OFFIn the RUN mode, the [AUTO] button does not function.
Save With AUTO Button
This function enables “AUTO setting” to be automatically saved after AUTO execution in RUN mode.
In the RUN mode, when the [AUTO] button is pressed, automatic setting of all
measurement items is executed.
All settings will be deleted if you turn the power OFF without saving the settings.
X MENU mode - [System] - [Operation] - [Save With AUTO Button]
Setup ItemDescription
ON
OFF
Settings are saved immediately after AUTO Button in RUN mode is executed.
Settings are not deleted even if the power is turned OFF. Note, however, that
measurement is not possible while an AutoSave is being executed.
AutoSave is not performed after AUTO Button in RUN mode is executed.
14
ZFX-C1_/C2_-CD Additional Functions Instructions
Parallel Commands
Note
The following commands were added:
CommandDescription
AUTO settingAutomatically batch-sets all
measurement items.
AUTO setting content differs with each measurement item. For details, see "AUTO Setting" in Chapter 7 of the
ZFX User's Manual.
Command codeParameter (binary code)
DI7 DI6 DI5 DI4 DI3 DI2 DI1 DI0
111*****
Serial Commands
According to the addition of measurement items, MEASDATA command and MEASPARA command
parameters were added.
MEASDATA command
Barcode, 2D Code
Data No.ParameterOutput Range
0Judgment result 0 : OK
: NG
-1
: not measured
-2
1Index0 to 31: Master data No. of verification
results
-2: Verification results OFF or read error
-1: Verification results NG
2Num. of characters0 to 1024
3CharactersText string (0 to 1024 characters)
Character codes that cannot be displayed
(e.g. control codes) are displayed as
spaces.
When text strings are output, the following control codes are converted before they are output.
When setting text strings, use the codes in the "After conversion" column.
Text codeBefore conversionAfter conversion
Comma&h2C&h8540
Tab&h09&h8541
Space&h20&h8542
CR&h0D&h8543
LF&h0A&h8544
ZFX-C1_/C2_-CD Additional Functions Instructions
15
Multi Color
Data No.ParameterOutput Range
0Judgment result 0 : OK
: NG
-1
: not measured
-2
1Individual area10 to 9999999.999
2Individual area20 to 9999999.999
3Individual area30 to 9999999.999
4Individual area40 to 9999999.999
5Individual reference area10 to 9999999.999
6Individual reference area20 to 9999999.999
7Individual reference area30 to 9999999.999
8Individual reference area40 to 9999999.999
9Individual difference area1-9999999.999 to 9999999.999
10Individual difference area2-9999999.999 to 9999999.999
11Individual difference area3-9999999.999 to 9999999.999
12Individual difference area4-9999999.999 to 9999999.999