Omron FH-3 Series Reference Manual page 480

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

Advertisement

Refer to the "External Reference Tables" for the parameters that can be referenced, including measurement
results.
(Reference: External Reference Table (OCR) (p.482))
Measurement item
Judge
Chara. Num(Line No.1)
Chara. Num(Line No.2)
Chara. Num(Line No.3)
Chara. Num(Line No.4)
NG Cause(Line No.1)
NG Cause(Line No.2)
NG Cause(Line No.3)
NG Cause(Line No.4)
Output of Character String in PLC Link
In PLC Link communication, check the [Character output] to output the character string and NULL(0x00)
+delimiter (NULL (0x00)) are output to the data output area of PLC Link.
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. Command: Read character strings
0123456789... UV, Response, and Data Output area are as follows.
Reference: Communicating with PLC Link, Command Details for PLC Link, EtherNet/IP, and EtherCAT
in Vision System FH/FZ5 Series User's Manual for Communications Settings (Z342).
Command (PLC to Sensor Controller)
+3
0010
Response (Sensor Controller to PLC)
Top channel
+2
+3
+4
+5
Data Output Area (Sensor Controller to PLC)
When output the 32 character strings (0123456789...UV), the result continues as follows.
ASCII code data + NULL (0x00) +delimiter (NULL (0x00)).
Top channel
+0
478
OCR
Character
string
JG
The judgement result of the processing unit
NUM0
Number of characters on the 1st line
NUM1
Number of characters on the 2nd line
NUM2
Number of characters on the 3rd line
NUM3
Number of characters on the 4th line
LNG0
1st line NG cause
LNG1
2nd line NG cause
LNG2
3rd line NG cause
LNG3
4th line NG cause
Top channel
+2
1010
Response Area
Data
1010
0010
0000
0000
Name
1st character,
2nd character
Description
Performs one measurement.
Command Code
Target response is responded.
Response code
Command execution result.
3031 (ASCII code of the character 2 ASCII code of the character 1)
FH/FZ5 Processing Item Function Reference Manual
Description
Description
Description

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents