Chapter 2 Syntax
2-31
- Sample program :
Program to change the overload restriction level according to output frequency
(Code area [Code Window])
Label
Mnemonic
parameter1
parameter2
parameter3
parameter4
parameter5
㩷
㩷
㩷 䋺
㩷
㩷
㩷
㩷
㩷
㩷
㩷
U(00)=
㩷
㩷
2000
㩷
㩷
: Set 200% in variable "U (00)."
㩷
U(01)=
㩷
㩷
1500
㩷
㩷
: Set 150% in variable "U (01)."
㩷
U(02)=
㩷
㩷
1000
㩷
㩷
: Set 100% in variable "U (02)."
㩷
U(03)=
㩷
㩷
1000
㩷
㩷
: Set 10 Hz in variable "U (03)."
㩷
chg param
b022
U(00)
㩷
㩷
㩷
: Change the setting of "b022" to 200.0%
㩷
FW= 1
㩷
㩷
㩷
㩷
wait FM
>=
U(03)
㩷
㩷
: Wait until the output frequency reaches
10 Hz.
㩷
chg param
b022
U(01)
㩷
㩷
㩷
: Change the setting of "b022" to 150.0%.
㩷
wait FA1
=
1
㩷
㩷
: Wait until acceleration ends.
㩷
chg param
b022
U(02)
㩷
㩷
㩷
: Change the setting of "b022" to 100.0%.
㩷
㩷 䋺
㩷
㩷
㩷
㩷
㩷
㩷
(Parameter)
b031 = 10 (can be updated during operation)
mon param statement
Instruction to read a parameter
- Format
Format
Description
mon param
<display code> <variable>
This instruction assigns the content of the inverter
parameter specified by
<display code>
to
<variable>
.
- Explanation
This instruction reads the content of the inverter parameter specified by
<display code>
, and assigns the read content to
<variable>
. The range of parameter settings depends on the standard inverter specifications. For the inverter parameters and
ranges of their settings, refer to the Inverter Instruction Manual.
- Sample program :
Program to check whether the inputs of frequency command and acceleration/deceleration time are
assigned to the easy sequence function
Label
Mnemonic
parameter1
parameter2
parameter3
parameter4
parameter5
㩷
㩷
entry
㩷
㩷
㩷
㩷
㩷
㩷
㩷
Yw= 0
㩷
㩷
㩷
㩷
㩷
mon param
A001
U(00)
㩷
㩷
㩷
: Assign the content of A001 to U (00).
㩷
mon param
P031
U(01)
㩷
㩷
㩷
: Assign the content of P031 to U (01).
㩷
if
U(00)
<>
7
then
SKIP
: When A001 is not "07"
㩷
if
U(01)
<>
3
then
SKIP
: When P031 is not "03"
㩷
Y(00)= 1
㩷
㩷
: Turn Y (00) on.
㩷
goto LBL1
㩷
㩷
㩷
㩷
SKIP
Y(01)= 1
㩷
㩷
㩷
: Turn Y (01) on when the process ends.
LBL1 end
㩷
㩷
㩷
㩷
㩷
㩷
Содержание NT2021XA
Страница 4: ... Safety Instructions ...
Страница 8: ... Contents ...
Страница 10: ...Chapter 1 Outline of EzSQ ...
Страница 14: ...1 4 Chapter 1 Outline of EzSQ ...
Страница 16: ...Chapter 2 Syntax ...
Страница 68: ...2 52 Chapter 2 Syntax ...
Страница 70: ...Chapter 3 Interface with the Inverter ...
Страница 80: ...3 10 Chapter 3 Interface with the Inverter ...
Страница 82: ...Chapter 4 Errors and Troubleshooting ...