Td (0) To Td (7), Tdw - Hitachi NT2021XA Instruction Manual

Easy-sequence programming software
Table of Contents

Advertisement

TD (0) to TD (7), TDw

TD (0) to
Timer contact output
TD (7)
(bit access)
Timer contact output
TDw
(word access)
- Explanation
The data in timer contact output variables "TD (0)" to "TD (7)" is changed only when these variables are specified in the
timer-start instruction (timer set) or delay operation instruction (delay on or delay off). A timer contact output variable is set to "0"
(off) when the counter corresponding to the contact output is cleared to zero; the variable is set to "1" (on) when the counter
stops counting.
While a timer counter variable "TC (k)" is being used for a free-running timer counter, timer contact output variable "TD (k)"
corresponding to the timer counter variable retains its status.
- Sample program : Program to accelerate the motor step-by-step by using a timer contact
Label
Mnemonic
TDw=
ACCEL=
DECEL=
SET-Freq=
LOOP
FW=
timer set
SET-Freq=
wait
timer set
SET-Freq=
wait
timer set
SET-Freq=
wait
FW=
wait
SET-Freq=
goto
Variable name
Range of values
parameter1
parameter2
1
TD(5)
10.00
TD(5)
=
TD(5)
10.00
TD(5)
=
TD(5)
10.00
TD(5)
=
0
RUN
=
LOOP
Default
0: Off
0
1: On
0 to 255
0
parameter3
parameter4
parameter5
0
1000
1000
0
1000
1
3000
1
6000
1
0
0
2-41
Chapter 2 Syntax
Unit
Data size
Unsigned
-
Readable
1-word data
Unsigned
-
Readable
1-word data
: Set the acceleration time to 10 seconds.
: Set the deceleration time to 10 seconds.
: Set the output frequency to 0 Hz.
: Start forward rotation of the motor.
: Start the 10-second timer counter.
: Keep the output frequency at 10 Hz for
10 seconds.
: Wait until the timer contact is turned on.
: Start the 10-second timer counter.
: Keep the output frequency at 30 Hz for
10 seconds.
: Wait until the timer contact is turned on.
: Start the 10-second timer counter.
: Keep the output frequency at 60 Hz for
10 seconds.
: Wait until the timer contact is turned on.
: Wait until the motor stops.
: Set the output frequency to 0 Hz.
Attribute

Advertisement

Table of Contents
loading

Table of Contents