Chapter 2 Syntax
2-32
eepwrt
Instruction to issue a demand to write the parameter to EEPROM
- Format
Format
Description
eepwrt
This instruction stores a data of only one parameter
changed by chg param command that is issued
immediately after the execution of eeprwrt
command to EEPROM.
- Explanation
This instruction is a function in the WJ200 Series.
This instruction stores the content of the parameter of the inverter in EEPROM. It combines chg param command and realizes
a function. eepwrt issues a demand to write the data to EEPROM. Afterwards, a parameter changed by chg prm is stored to
EEPROM. The range of parameter settings depends on the standard inverter specifications. For the inverter parameters and
ranges of their settings, refer to the WJ200 Series Inverter Instruction Manual.
Note 1 : After chg param is executed, the demand to write to EEPROM is cleared. It is necessary to reissue eepwrt
instruction to store the content of the parameter newly changed by chg param to EEPROM.
Note 2 : A continuous writing to EEPROM by the eepwrt instruction is a prohibition. Please create the user program
so that the execution interval of the eepwrt instruction may become 30ms or more when writing the
parameter in EEPROM two times or more.
- Sample program :
Program to configure multispeed frequency 1 and 2 with general-purpose analog inputs
Label
Mnemonic
parameter1
parameter2
parameter3
parameter4
parameter5
㩷
㩷
entry
㩷
㩷
㩷
㩷
㩷
㩷
LOOP UL(00)=
㩷
㩷
XA(0)
㩷
㩷
: Fetch analog input "O" data.
㩷
UL(00)= UL(00)
*
50
㩷
㩷
: Convert the scale.
㩷
UL(00)= UL(00)
/
100
㩷
㩷
㩷
㩷
UL(00)= UL(00)
+
1000
㩷
㩷
㩷
㩷
UL(01)=
㩷
㩷
XA(1)
㩷
㩷
: Fetch analog input "OI" data.
㩷
UL(01)= UL(01)
*
50
㩷
㩷
: Convert the scale.
㩷
UL(01)= UL(01)
/
100
㩷
㩷
㩷
㩷
UL(01)= UL(01)
+
1000
㩷
㩷
㩷
㩷
eepwrt
㩷
㩷
㩷
㩷
㩷
䋺
Demand to write to EEPROM.
㩷
chg param
A021
UL(00)
㩷
㩷
㩷
㩷
㩷
wait 0.03
㩷
㩷
㩷
㩷
: Wait 30 ms.
㩷
eepwrt
㩷
㩷
㩷
㩷
㩷
䋺
Demand to write to EEPROM.
㩷
chg param
A022
UL(01)
㩷
㩷
㩷
㩷
㩷
wait 0.03
㩷
㩷
㩷
㩷
: Wait 30 ms.
㩷
goto LOOP
㩷
㩷
㩷
㩷
㩷
㩷
end
㩷
㩷
㩷
㩷
㩷
㩷
Summary of Contents for NT2021XA
Page 4: ... Safety Instructions ...
Page 8: ... Contents ...
Page 10: ...Chapter 1 Outline of EzSQ ...
Page 14: ...1 4 Chapter 1 Outline of EzSQ ...
Page 16: ...Chapter 2 Syntax ...
Page 68: ...2 52 Chapter 2 Syntax ...
Page 70: ...Chapter 3 Interface with the Inverter ...
Page 80: ...3 10 Chapter 3 Interface with the Inverter ...