
Reading Bar Codes
FQ2-S4 User’s Manual
4
Setting Up
Inspect
ions
117
Outputting Read Characters to an External Device
After a measurement, you can automatically output the character string that was read with the barcode
inspection item to a PLC or other external device. The character strings are output after outputting the output
data (output data settings 0 to 31), such as the inspection item parameters and calculation result.
Refer to the description for the communications format for the setting procedure and output specifications to
output the character string.
Outputting Character Strings
• EtherNet/IP: p. 346
• TCP No-protocol Communications: p. 408
Changing the Character String That Is Output for Read Errors
You can change the character string that is output for read errors.
[Inspect]
−
[Inspection]
−
[Add item.]
−
[Bar code]
−
[Details] Tab Page
−
[Output parameter]
−
[Error string]
Setup Item
Setting Value
Description
Code type
JAN/EAN/UPC (default
value)
Selects the type of barcode to be read.
Code39
Codebar
ITF
Code93
Code128/GS1-128
GS1 DataBar
Pharmacode
Composite codes on/off
No (default value)
Sets whether or not to support composite codes.
This item is enabled only when the following barcode types are selected:
Code128/GS1-128, GS1-DataBar
Yes
Check digit on/off
No (default value)
Selects whether or not to insert a check digit. This item is enabled only
when the following barcode types are selected: Codebar, Code39, ITF
(Interleaved 2 of 5), JAN, EAN, UPC, or Code93. When the other codes
are selected, this item is set to ON.
Yes
Direction
Horizontal mode (default
value)
Selects the reading direction. This item is enabled only when Pharma-
code is selected as the barcode type.
Vertical mode
Reverse on/off
No (default value)
Sets whether or not to use the reverse mode. This item is enabled only
when Pharmacode is selected as the barcode type.
Yes
Timeout
1 to 9999 ms (default value:
9999)
Sets the timeout time in read processing. A read error occurs if measure-
ment does not end after the preset timeout time is exceeded.
The read character string is output after the other output data (data 0 to 31 in the output data settings) after the mea-
surement, such as the inspection item parameters and calculation results.
Refer to the following section for the location of the output area for the character string and other details.
Order in Which Data Is Written When Both Output Data and the Character String Are Output: p. 347, p. 383
Note
Summary of Contents for FQ2-S4
Page 1: ...User s Manual Smart Camera FQ2 S4 Cat No Z330 E1 01 ...
Page 58: ...Setting Up Ethernet 56 FQ2 S4 User s Manual MEMO ...
Page 214: ...Calculations and Judgements Using Inspection Item Data 212 FQ2 S4 User s Manual MEMO ...
Page 234: ...Adjusting Judgement Parameters during Operation 232 FQ2 S4 User s Manual MEMO ...
Page 458: ...Basic Troubleshooting 456 FQ2 S4 User s Manual MEMO ...
Page 591: ...Index FQ2 S4 User s Manual 589 Index 12 ...
Page 593: ......