Omron FQ2-S/CH Series User Manual page 183

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 No-protocol(TCP) / No-protocol(UDP)
communications.
[In/Out] − [I/O setting] − [Output data set] − [Noprotocol 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
Line delimiter
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
FF
&hFF
FQ2-S/CH User's Manual
for Communications Settings
Set value
No (default)
Yes
OFF (default)
Comma
Space
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
Control and Output in No-Protocol (TCP) / No-Protocol (UDP)
Description
Sets whether to output the character string that results
from reading.
Sets the character to use for the line delimiter.
* This setting is enabled only when the OCR inspection item is selected.
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]
181

Advertisement

Table of Contents
loading

Table of Contents