Hitachi NT2021XA Instruction Manual page 36

Easy-sequence programming software
Table of Contents

Advertisement

Chapter 2 Syntax
- Sample program
Sample 1 : Program to turn terminals Y (00) to Y (05) on sequentially while the output frequency is increased in 10-Hz steps.
(The inverter operation is the same as that programmed in sample 2.)
(Code area [Code Window])
Label
Mnemonic
entry
SET-Freq=
ACCEL=
DECEL=
Yw=
FW=
LOOP
if
Y(00)=
if
Y(01)=
if
Y(02)=
if
Y(03)=
if
Y(04)=
if
Y(05)=
LBL1
goto
LBL2
FW=
Wait
end
(Data area [Data Window])
U (00) = 1000
U (01) = 2000
U (02) = 3000
U (03) = 4000
U (04) = 5000
U (05) = 6000
parameter1
parameter2
parameter3
6000
3000
3000
0
1
FM
<
U(00)
1
FM
<
U(01)
1
FM
<
U(02)
1
FM
<
U(03)
1
FM
<
U(04)
1
FM
<
U(05)
1
LOOP
0
RUN
=
0
parameter4
parameter5
then
LBL1
then
LBL1
then
LBL1
then
LBL1
then
LBL1
then
LBL2
2-20
: Set the output frequency to 60 Hz.
: Set the acceleration time to 30 seconds.
: Set the deceleration time to 30 seconds.
: Start forward rotation of the motor.
: When the output frequency is less than 10 Hz,
: turn Y (00) on.
: When the output frequency is less than 20 Hz,
: turn Y (01) on.
: When the output frequency is less than 30 Hz,
: turn Y (02) on.
: When the output frequency is less than 40 Hz,
: turn Y (03) on.
: When the output frequency is less than 50 Hz,
: turn Y (04) on.
: When the output frequency is less than 60 Hz,
: turn Y (05) on.
: Decelerate and stop the motor.

Advertisement

Table of Contents
loading

Table of Contents