Omron V600-CD1D-V2 Operation Manual page 39

Serial interface id controller
Hide thumbs Also See for V600-CD1D-V2:
Table of Contents

Advertisement

Command Format
Specifying Data Code
ASCII (JIS 8 Code)
Hex Code
34
If command length exceeds 266 characters (for expansion write command):
When the ID Controller receives a command which is not the last frame, it
transmits a delimiter (CR) to the host controller, and is ready to receive the
next command frame.
Command
<Host >
<ID Controller>
Delimiter: CR
Whether the read or write data is treated as an ASCII (or JIS 8) code or HEX code
is specified in a command.
When the data length is specified to be 7 bits by the DIP switch of the ID Control-
ler, ASCII is specified. When the data length is specified to be 8 bits, the JIS 8
code is specified.
One character of ASCII or JIS 8 code data occupies 1 byte (1 address) of the
Data Carrier memory.
Example of specifying ASCII code:
W T
Command
Header
ASCII specification
R/W Head No. specification
(fixed to 1)
Data Carrier memory address:
Address
0010
4
0011
4
0012
5
0013
4
0014
4
Note For ASCII (JIS 8 code), refer to Appendix A.
One character is treated as a hexadecimal number. Therefore, only numerals 0
through 9 and A to F can be accepted.
Two characters of data occupy 1 byte (1 address) of the Data Carrier memory.
Therefore, specify data in 2-character units (in even numbers) when using a
write command. If an odd number of data is specified by mistake, an error oc-
curs.
A
1
0
0
1
First address
F
"O"
D
"M"
2
"R"
F
"O"
E
"N"
Section
Response
0
O M R
O N
Write data
4-3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

V620-cd1dV600-cd1d-v3

Table of Contents