beautypg.com

"06 (0x06) write single register" function – Toshiba Tosvert EtherNet/IP - Modbus TCP option IPE002Z User Manual

Page 67

background image

E6581741

- 66 -

8.5. "06 (0x06) Write Single Register" function

This Modbus request is used to write a given value (Present Data) to the address
supplied (Register Address).

Request format:

Byte Meaning

0

Function Code = 06h

1

Register Address Hi

2

Register Address Lo

3

Preset Data Hi

4

Preset Data Lo

Response format:

Byte Meaning

0

Function Code = 06h

1

Register Address Hi

2

Register Address Lo

3

Preset Data Hi

4

Preset Data Lo


Exception response format:

Byte Meaning

0

Function Code = 86h

1

Exception Code =
01 (Illegal Function)
02 (Illegal Data Address)
03 (Illegal Data Value)
04 (Slave Device Failure)

Notes

As for the EEPROM parameter, first the data is written to RAM, after that the data is written to

EEPROM. Some EEPROM parameters cannot be changed during the inverter is running.
When write to EEPROM parameter that will change inverter status from stop to run, the inverter must
be in the state that it cannot run.
For example: To write to EEPROM, the inverter must open ST-CC. (display shows "OFF")
If not, the data is only written to RAM.

The Life of EEPROM is approximately 100,000 times. Avoid writing a command more than 100,000

times to the same parameter of the Inverter.

Please access only parameters in document.