Omron FQ2-S4 User Manual page 410

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

Advertisement

Example: When Data 0 Is 256.324 and Data 1 Is −1.000.
$ 0 0
$ 0 3
$ E 9
Data 0: 256324
(256.324 × 1000)
Note
Binary output does not use data separators, i.e., field separators or record separators. These separators are used
only for ASCII output.
The following range of values can be output.
−2,147,483.648 ≤ Measured value ≤ 2,147,483.647
If the measured value is lower than −2,147,483.648, then −2,147,483.648 is output.
If the measured value is higher than 2,147,483.647, then 2,147,483.647 is output.
The following values are output if JG (Judge) is set.
OK: 0 (0 × 1000)
NG: −1000 (−1 × 1000)
Note
Data that is output after measurement is output until the last data even after the measurement is finished. Data out-
put is not interrupted midway.
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] − [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
408
Controlling Operation and Outputting Data with TCP No-protocol Communications
$ 4 4
$ F F
$ F F
$ F C
Data 1:
1000
(−1.000 × 1000)
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)
$ 1 8
$ 0 D
A delimiter will
be attached to
the end.
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.
FQ2-S4 User's Manual

Advertisement

Table of Contents
loading

Table of Contents