420
8 COMMUNICATION FUNCTION (MITSUBISHI ELECTRIC AC SERVO PROTOCOL) [A]
8.5 Detailed explanations of commands
Writing setting values
• If setting values need to be changed with a high frequency (i.e. one time or more per hour), write the setting
values to the RAM, not to the non-volatile memory.
• When writing setting values to the non-volatile memory using a servo parameter writing command, write
them and wait for at least 3 s before turning off the servo amplifier. If the power is turned off before 3 s have
passed, the servo parameter may be returned to the original value.
■
Writing servo parameters
Write servo parameter setting values to the RAM of the servo amplifier. Specify a servo parameter group in advance.
Write any value within the settable range. For information on the settable range, refer to the following manual or read the
setting range.
Page 419 Reading setting ranges
MR-J5-A User's Manual (Parameters)
Transmit the command [9] [4] + data No. + set data.
The data No. is represented in hexadecimal. The decimal converted from the data No. value corresponds to the servo
parameter No. When the data to be written is decimal, the decimal point position must be specified. If it is not specified, the
data cannot be written. When the data is handled as hexadecimal, specify "0" as the decimal point position.
Check that the writing data is within the upper/lower limit value before writing.
After the writing process, read the same servo parameter data to verify that the data has been written correctly.
To write data to the RAM, set the write mode to "3". To write data to the non-volatile memory, set the write mode to "0".
Command
Data No.
Data
[9] [4]
[0] [1] to [F] [F]
See below.
0 0
Data (in hexadecimal)
Decimal point position
0: No decimal point
1: First least significant digit
2: Second least significant digit
3: Third least significant digit
4: Fourth least significant digit
5: Fifth least significant digit
Writing mode
0: Writing to the non-volatile memory
3: Writing to RAM
When the servo parameter data is changed
frequently through communication,
set "3" to the mode to change only the
RAM data in the servo amplifier.
When data is changed frequently (once or
more per hour), do not write the data to the
non-volatile memory.