3.1 Common Commands
3.1.2 Read ID Command (ID_RD: 03h)
3-4
3.1.2
Read ID Command (ID_RD: 03h)
Data Format
Phases in which the
Command can be Executed
2, 3
Command
Classification
Common
command
Asynchronous
command
Processing Time
Within
communication
cycle
Subcommand
Can be used
Byte
ID_RD
Description
Command
Response
0
03h
03h
•
The ID_RD command reads the ID of a device. This
command reads the product information as ID data.
•
The ID data is selected in detail by specifying ID_CODE.
•
Confirm the completion of the command execution by
checking that RCMD = ID_RD (= 03h) and
CMD_STAT.CMDRDY = 1, and also checking the setting
for ID_CODE, OFFSET and SIZE.
In the following cases, an alarm will occur. Do not read ID
in the response in those cases because the ID value will
be indefinite.
•
When the ID_CODE data is invalid:
CMD_ALM = 9h (A.94A)
•
When the OFFSET data is invalid or the SIZE data do
not match: CMD_ALM = 9h (A.94D)
If the OFFSET or SIZE data is invalid for the specified
ID_CODE, an alarm occurs.
Example:Setting OFFSET = 3 and SIZE = 4 for reading the
device version (4-byte data) specifies reading of data out-
side the device version data (4 bytes) and generates an
alarm.
1
WDT
RWDT
2
CMD_CTRL
CMD_STAT
3
4
ID_CODE
ID_CODE
5
OFFSET
OFFSET
6
SIZE
SIZE
7
8
Reserved
ID
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31