Details of command
−23−
9.3 Setup device command (CONFIG: 04h)
This command is used to set up the
NETC01-M3
.
Data format
Byte
Command
(Master to
NETC01-M3
)
Response
(
NETC01-M3
to master)
0
CONFIG (04h)
CONFIG (04h)
1
WDT
RWDT
2
CMD_CTRL
CMD_STAT
3
4
CONFIG_MOD
CONFIG_MOD
5 to 31
Reserved (0h)
Reserved (0h)
Explanation of command
Device group
Common command group
Communication type
Asynchronous command
Completion of command
operation
•
Confirms by the response RCMD=CONFIG (04h), CMD_STAT.CMDRDY=1 and
CONFIG_MOD.
•
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 code. Refer to "Command status (CMD_STAT)"
on p.37 for details.
Note
•
This command can be used in the phase 2 and 3.
•
CONFIG_MOD: Configuration mode
If the CONFIG_MOD data is invalid, "9" is set for the CMD_ALM (CMD_ALM=9).
Command parameter
•
CONFIG_MOD
0: Parameter re-calculation and setup
CONFIG command and operation status
The following table shows the state of each status before, during and after processing the CONFIG
command.
Refer to "Command status (CMD_STAT)" on p.37 for the ALM and CMDRDY.
Status
Before CONFIG processing During CONFIG processing
After CONFIG processing
ALM
Current state
Current state
Current state
CMDRDY
1
0
1
Other status
Current state
Indefinite
Current state
Содержание NETC01-M3
Страница 61: ...61...