User`s manual

7 MECHATROLINK-II Commands
25
Write Parameter (PRM_WR)
The PRM_WR command is used to write the Inverter's internal constants.
To save the setting value in the Inverter's EEPROM, set the CONFIG_MOD in the CONFIG
command to 1. For details, refer to the section describing the CONFIG command.
Note: If the MECHATROLINK-II 32-byte data transmission is used, PRM_WR can be used
only in a sub-command.
In the following cases, a warning is generated and the command is ignored.
• While using the Operator to change settings: Command alarm (A.95)
• If not in phase 2 or 3: Command alarm (A.95)
• During an undervoltage fault: Command alarm (A.95)
• If received as a main command in 32-byte data transmission: Command alarm (A.95)
• If a register number (NO) fault occurs: User constant setting alarm (A.94)
• If SIZE is an odd number or is not between 2 and 8: User constant setting alarm (A.94)
• Data upper/lower limit fault: User constant setting alarm (A.94)
The register number (NO) is the same as the register number that is set and referenced in
MEMOBUS transfers.
Set the lower byte (LSB) before setting the upper byte (MSB).
Set the values for DATA from lower byte (LSB) to upper byte (MSB).
For SIZE, set the number of bytes to be written as an even number. Eight bytes can be spec-
ified.
The values for the NO, SIZE, and DATA in the response are copies of values in the com-
mand.
Byte Command Response
1 PRM_WR PRM_WR
2 ALARM
3 STATUS
4
5 NO NO
6
7 SIZE SIZE
8 DATA DATA
9
10
11
12
13
14
15
16 WDT RWDT