Omron FQ2-S4 User Manual page 385

Smart camera
Hide thumbs Also See for FQ2-S4:
Table of Contents

Advertisement

Outputting Character Strings
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
• Bar code
• 2D-code
• 2D-code (DPM)
The procedure for outputting the character string is given here for two inspection items.
[In/Out] − [I/O setting] − [Output data set] − [Link 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.
Character code
Before conversion After conversion
CR
&h0D
LF
&h0A
DEL
&h7F
FF
&hFF
Character Output Example
When both the data and character string are output, the character string is output after the data.
Example:
Read result 1: ABC
Read result 2: 0123
[Data output] − [Data 0]: 3 (Number of characters: 1)
[Data output] − [Data 1]: 4 (Number of characters: 2)
The following information will be output for the above.
FQ2-S4 User's Manual
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
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.
PLC Link Connections
383

Advertisement

Table of Contents
loading

Table of Contents