Details of command
−21−
9.2 Read ID command (ID_RD: 03h)
This command is used to read the product information as ID data. Select ID data by specifying the ID_
CODE.
Refer to the "ID_CODE list" for details.
Data format
Byte
Command
(Master to
NETC01-M3
)
Response
(
NETC01-M3
to master)
0
ID_RD (03h)
ID_RD (03h)
1
WDT
RWDT
2
CMD_CTRL
CMD_STAT
3
4
ID_CODE
ID_CODE
5
OFFSET
OFFSET
6
SIZE
SIZE
7
8 to 15
Reserved (0h)
ID
Explanation of command
Device group
Common command group
Communication type
Asynchronous command
Completion of command
operation
•
Confirms by the response RCMD=ID_RD (03h), CMD_STAT.CMDRDY=1, ID_
CODE, OFFSET and SIZE.
•
When the CMD_STAT.D_ALM or CMD_STAT.D_WAR is equal to 1, use the ALM_
RD to read out the present alarm or warning codes and take appropriate action.
•
When the CMD_STAT.CMD_ALM or CMD_STAT.COMM_ALM is other than 0, take
appropriate action according to the alarm code. Refer to "Command status (CMD_
STAT)" on p.37 for details.
Note
•
This command can be used in the phase 2 and 3.
•
ID_CODE: ID data selection code
OFFSET: ID read offset
SIZE: Read data size (byte)
ID: ID data
If any of the ID_CODE, OFFSET, SIZE or ID is invalid, "9" is set for the CMD_ALM
(CMD_ALM=9). When the CMD_ALM has occurred, the ID data is indefinite.
ID_CODE list
ID_CODE
Description
Data size
Data type
01h
Vendor ID code
4 byte
Binary
This is an ID code to specify the vendor.
Vendor ID code of ORIENTAL MOTOR CO.,LTD. = 00 00 00 05h
02h
Device code
4 byte
Binary
This is a code specific to each product. It is specified as a unique number for each product series associated
with the vendor ID code.
Device code of the
NETC01-M3
= 00 00 0C D1h (3281)
Содержание NETC01-M3
Страница 61: ...61...