Omron FH-3 Series Reference Manual page 481

Vision sensor fh/fz5 series
Hide thumbs Also See for FH-3 Series:
Table of Contents

Advertisement

Top channel
+1
.
.
.
+15ch
+16ch
Note
• If no character string, outputs NULL(0x00) + Delimiter NULL(0x00).
When check the [Error character output], output the error character string + NULL(0x00).
• When the character string is 2 bytes, i.e. Shift-JIS. the maximum number of character string is 16.
Outputs one character per one channel.
2
How to get the character string
Perform the Data Output Request (DSA) and Data Output Completion (GATE) as in the case of Data
Output.
All character string is included one data. Thereby, Data Output Request (DSA) is performed once if there
is only one OCR unit.
Note
• When output the multiple lines, NULL(0x00) is inserted between the lines and at the end of the last line.
When the following case, output result is "ABC0x001230x000x00".
• 1st line is "ABC"
• 2nd line is "123"
• Cannot skip the blank lines. Lines after the blank line is not output.
• When the following case, output result is "ABC0x000x00".
• 1st characters are "ABC"
• 2nd characters are "DEF"
• 3rd characters are "123"
• 4th characters are "456" and 2nd line cannot be read.
Output of Character string with Non-procedure Communications
Check the [Character output] in Output parameter to output the character string and NULL (0x00) with Non-
procedure communication.
Reference: Output Parameters (OCR) (p.474)
1
Output Format
Take the following case as an example. Number of measurement is one.
Reading character string is 32. Read character strings 0123456789...UV, Command, Response, and
Data Output area are as follows.
Reference: Non-procedure Communications and MEASURE or M in Non-procedure Command Details
in Vision System FH/FZ5 Series User's Manual for Communications Settings (Z342).
Command (PLC to Sensor Controller)
M
E
A
S
U
R
E
FH/FZ5 Processing Item Function Reference Manual
Name
3rd character,
3233 (ASCII code of the character 2 ASCII code of the character 3)
4th character
31st character,
5556 (ASCII code of the character U ASCII code of the character V)
32th character
NULL, NULL
0x0000 (NULL, NULL)
C
C
M
or
R
R
Description
2
479
OCR

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents