EasyManua.ls Logo

Omron fh-3 series - Page 447

Omron fh-3 series
904 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
BarcodeFH/FZ5 Processing Item Function Reference Manual
445
2
Inspecting and Measuring
Output of Character String in PLC Link
In PLC Link communication, check the [Character output] to output the character string and NULL(0x00) to the
data output area of PLC Link.
Reference: Output Parameters (Barcode) (p.442)
1 Output Format
Take the following case as an example.
Number of measurement is one. Reading character stri
ng 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 L
ink, EtherNet/IP, and EtherCAT
in Vision System FH/FZ5 Series User's Manual for Communications Settings (Z342).
Command (PLC to Sensor Controller)
Response (Sensor Controller to PLC)
Data Area (Sensor Controller to PLC)
When output the 32 character strings (0123456789…UV), the result continues as follows.
ASCII code data + NULL (0x00)
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 are included one data. Thereby, Da
ta
Output Request (DSA) is performed once if
there is only one Barcode unit.
Top channel
Description
+3 +2
0010 1010 Performs one measurement.
Response Area
Description
Top channel Data
+2 1010
Command Code
Target response is responded.
+3 0010
+4 0000
Response code
Command execution result.
+5 0000
Top channel Name Description
+0
1st character,
2nd character
3031 (ASCII code of the character 0 , ASCII code of the character 1)
+1
3rd character,
4th character
3233 (ASCII code of the character 2 ASC
II code of the character 3)
.
.
.
+15
31st character,
32th character
5556 (ASCII code of the character U ASCII code of the character V)
+16 NULL 0x00 (NULL)
If no character string, data is not output and no updating of data.
When check the [Error character
output], output the error character string + NULL (0x00).
Note

Table of Contents

Related product manuals