EasyManua.ls Logo

Omron 3G3RX Series - Page 155

Omron 3G3RX Series
196 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6 Drive Programming Commands
6 - 54
Drive Programming User’s Manual (I580-E2)
EepWrt
Command Description Argument
Enables the “ChgParam” command executed
immediately after this command to write data in
the EEPROM.
---
Format
Flowchart method Text language method
eepwrt
Note 1. Set the parameter data with the “ChgParam” command immediately after executing the “eepwrt” command.
The parameter data is changed in the program, and also saved in the EEPROM. You can use the data
saved in the EEPROM as the initial data when you turn on the power supply again. If you do not exe-
cute the “ChgParam” command immediately after the “eepwrt” command, the data is not saved in the
EEPROM. Also, if you execute two “ChgParam” commands immediately after the “eepwrt” command,
the latter “ChgParam” command cannot save the data in the EEPROM.
2. Each “eepwrt” command requires up to 10-ms processing time. The task in which the “eepwrt” com-
mand is executed waits until the “eepwrt” command is completed and then goes to the next command.
3. Avoid executing the “eepwrt” commands simultaneously in multiple tasks or executing them in a row.
Each “eepwrt” command requires up to 10-ms processing time. If you execute the “eepwrt” commands
in a row, the second command is executed after the first one is completed. During that time, the task
which executed the “eepwrt” commands in a row does not goes to the next command and enters a
waiting state. If multiple “eepwrt” commands are executed in a row, processing for other tasks may be
delayed or an error may be detected due to insufficient processing time.
4. If you execute the “eepwrt” command within a second after turning on the power supply, the process-
ing is not performed correctly.
Create a program that has one second of wait time with such as the “wait” command after turning on
the power supply.
5. The inverter's built-in EEPROM has a limit on the number of writing (approximately 100,000 times).
Therefore, if you use the “eepwrt” command frequently, the inverter's service life may be shortened.
Consider taking the following measures in the program.
Create a program so that the latest data before turning off the power supply is written to the EEPROM.
Create a program so that writing to the EEPROM is performed only when the data such as parameters
are changed.
Use the user parameter variables U(29) to U(31) to save the data when the power supply is turned off.
6. When it is necessary to save consecutively more than one parameter in the EEPROM with the "Eep-
Wrt" command, at least 30 ms or more may be required as the interval of execution between each
EepWrt command.
The next page shows a possible example.
eepwrt

Table of Contents

Related product manuals