PLC Link Connections
FQ2-S4 User’s Manual
383
Connecting through Ethernet
9
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.
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.
Parameter Setting Description
String output ON/OFF OFF (default)
Ye s
Sets whether to output the character string that results
from reading.
Partial output ON/OFF No (default)
Ye s
Sets whether to specify the range of characters to output.
Output string setup 1 to 128 for OCR
1 to 1024 for Bar code, 2D-
code, or 2D-code (DPM)
Sets the output range.
NG String output on/off Yes (default)
No
Sets whether to output an NG string.
• Endian
Little endian data is output.
• Code Conversion
The converted codes are outputted for the following character codes.
▲
Note
CR
Before conversion
After conversion
LF
&h0D
&h7F
&h8541
DEL
&h8543
Character code
&h0A
&hFF
&h8542
&h8544
FF