Communication functions – MITSUBISHI ELECTRIC MR-J2S- A User Manual

Page 311

Advertising
background image

14 - 18

14. COMMUNICATION FUNCTIONS

(2) Parameter write

POINT

If setting values need to be changed with a high frequency (i.e. one time or
more per one hour), write the setting values to the RAM, not the EEP-
ROM. The EEP-ROM has a limitation in the number of write times and
exceeding this limitation causes the servo amplifier to malfunction. Note
that the number of write times to the EEP-ROM is limited to
approximately 100, 000.

Write the parameter setting.
Write the value within the setting range. Refer to section 5.1 for the setting range.
Transmit command [8][4], the data No., and the set data.
The data No. is expressed in hexadecimal. The decimal equivalent of the data No. value corresponds to
the parameter number.
When the data to be written is handled as decimal, the decimal point position must be specified. If it
is not specified, data cannot be written. When the data is handled as hexadecimal, specify 0 as the
decimal point position.
Write the data after making sure that it is within the upper/lower limit value range given in section
5.1.2. Read the parameter data to be written, confirm the decimal point position, and create
transmission data to prevent error occurrence. On completion of write, read the same parameter
data to verify that data has been written correctly.

Command

Data No.

Set data

[8][4]

[0][0] to

[5][4]

See below.

Data is transferred in hexadecimal.

Decimal point position
0: No decimal point
1: Lower first digit
2: Lower second digit
3: Lower third digit
4: Lower forth digit
5: Lower fifth digit

Write mode
0: Write to EEP-ROM
3: Write to RAM
When the parameter data is changed frequently through communication,
set "3" to the write mode to change only the RAM data in the servo amplifier.
When changing data frequently (once or more within one hour),
do not write it to the EEP-ROM.

Advertising