EasyManua.ls Logo

Omron FQ2-S4 - Page 349

Omron FQ2-S4
594 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...
Outputting Data and Controlling Operation through EtherNet/IP
FQ2-S4 User’s Manual
347
Connecting through Ethernet
9
Character Output Example
When both the data and character string are output, the character string is output after the data.
Example:
Read result 1: ABC
Read result 2: 0123
[Data output] [Data 0]: 3 (Number of characters: 1)
[Data output] [Data 1]: 4 (Number of characters: 2)
The following information will be output for the above.
Endian
Little endian data is output.
Code Conversion
The converted codes are outputted for the following character codes.
Increment from first
address in output area
Output data Assigned output data
+0 Data 0 (4 bytes) Inspection item 0: Number of characters
+1
+2 Data 1 (4 bytes) Inspection item 1: Number of characters
+3
+4 ‘A’ Inspection item 0: Characters “ABC”
+5 ‘B’
+6 ‘C’
+7 ‘0’ Inspection item 1: Characters “0123”
+8 ‘1’
+9 ‘2’
+10 ‘3
+11 00 Filled with zeros. (Only when the character string length is
not a multiple of 4.)
Note
CR
Before conversion
After conversion
LF
&h0D
&h7F
&h8541
DEL
&h8543
Character code
&h0A
&hFF
&h8542
&h8544
FF

Table of Contents

Related product manuals