Omron FQ2-S/CH Series User Manual page 103

Smart camera
Hide thumbs Also See for FQ2-S/CH Series:
Table of Contents

Advertisement

Outputting Character Strings (Only supported on the FQ2-S4/CH)
You can set whether to output the character string that results from reading. Outputting the character string is
possible for the following inspection results.
• OCR
Reading and Verifying Character Strings in FQ2-S/CH Series User's Manual (Cat. No. Z337)
• Bar code
Reading Bar Codes in FQ2-S/CH Series User's Manual (Cat. No. Z337)
• 2D-code
Reading 2D-codes in FQ2-S/CH Series User's Manual (Cat. No. Z337)
• 2D-code (DPM)
Reading 2D codes (DPM) in FQ2-S/CH Series User's Manual (Cat. No. Z337)
The procedure for outputting the character string is given here with EtherNet/IP communications.
[In/Out] − [I/O setting] − [Output data set] − [Link data output/Fieldbus data output] − [Output
data set]
1
Select the inspection item for which to output the character string.
2
Set the following items on the setting display.
Parameter
String output ON/OFF
Partial output ON/OFF
Output string setup
NG String output on/off
Note
• Endian
Little endian data is output.
• Code Conversion
The converted codes are outputted for the following character codes.
Before conversion After conversion
Character code
CR
&h0D
LF
&h0A
DEL
&h7F
&hFF
FF
FQ2-S/CH User's Manual
for Communications Settings
Setting
OFF (default)
Yes
No (default)
Yes
1 to 128 for OCR
1 to 1024 for Bar code, 2D-
code, or 2D-code (DPM)
Yes (default)
No
&h8541
&h8542
&h8543
&h8544
Controlling Operation and Outputting Data with EtherNet/IP Communications
Description
Sets whether to output the character string that results
from reading.
Sets whether to specify the range of characters to output.
Sets the output range.
Sets whether to output an NG string.
If [Yes] is selected, [Error string] setting for the Inspection
Item is outputted from the Sensor when scanning is fail.
[Inspection item] - [Modify] - [Output parameter] - [Error
string]
101

Advertisement

Table of Contents
loading

Table of Contents