Omron FH-3 Series Reference Manual page 432

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

Advertisement

Output of Character String in PLC Link
In PLC Link communication, check the [Character output] to output the character string.
Reference: Output Parameters (2D Code) (p.422)
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, Command, Response, and Data Output area are as follows.
In this case, the following conditions are applied.
[Reading character output] is checked.
[Character count output] and [Error character output] are unchecked.
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)
Top Channel
+3
0010
Response (Sensor Controller to PLC)
Response Area
Top channel
+2
+3
+4
+5
Data Output Area (Sensor Controller to PLC)
When read the 32 character strings (0123456789...UV), the result continues as follows.
ASCII code data + NULL (0x00)
Top channel
+0
+1
.
.
.
+15
+16
Note
• 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).
• 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.
430
2D Code
+2
1010
Performs one measurement.
Data
1010
Command Code
Target command code is responded.
0010
0000
Response code
Command execution result.
0000
Name
1st character,
3031 (ASCII code of the character 0 , ASCII code of the character 1)
2nd character
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
0x00 (NULL)
Description
Description
Description
FH/FZ5 Processing Item Function Reference Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents