Controlling Operation and Outputting Data with EtherNet/IP Communications
FQ2-S/CH User’s Manual
for Communications Settings
101
3
Controlling Operation and Outputting Data with an
Ethernet Connection
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
• 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/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 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.
CR
Before conversion After conversion
LF
&h0D
&h7F
&h8541
DEL
&h8543
Character code
&h0A
&hFF
&h8542
&h8544
FF
FQ2-S_CH_comm.book 101 ページ 2014年6月26日 木曜日 午前11時47分