5 Drive Programming User Variables
5 - 10
Drive Programming User’s Manual (I580-E2)
5-3 Timer Variables
This section describes the timer variables provided for the Drive Programming's timer control com-
mands.
These are the timer counter variables and the timer output contacts used in the timer control com-
mands of the Drive Programming.
When the timer output contact is specified in the timer control command “delay on/off” or “timer set”, the
timer counter variable corresponding to the specified contact starts counting. When the counter
reaches the specified value, the timer output contact is turned ON.
When the variables are not used in the timer control commands, they acts as the free-running counters.
• The timer counter variables TC(0) to TC(7) are unsigned 2-word variables. This variable is read-only.
• The timer counter variables TC(0) to TC(7) correspond to the timer output contacts TD(0) to TD(7),
respectively.
• The timer counter variables TC(0) to TC(7) act as the 31-bit free-running counters. They start count-
ing with zero when the program is started and count up every 10 ms.
• When the timer output contact is specified in the “delay on/off” command or the “timer set” command,
the corresponding timer counter variable among TC(0) to TC(7) acts as the counter for timer control.
When the command is executed, the variable TC(0) to TC(7) is cleared to zero and count up every 10
ms. When they reach the specified values, the counting stops.
• When the “timer off” command is executed, the corresponding timer counter variable is cleared to
zero, and it starts the operation as the 31-bit free-running counter and counts up every 10 ms.
• The timer output contacts TD(0) to TD(7) are bit-size variables. This variable is read-only.
• When the program is started, the values of the timer output contacts TD(0) to TD(7) are cleared to
zero.
• The timer output contacts TD(0) to TD(7) start their operation after they are specified in the “delay
on/off” command or the “timer set” command. TD(0) to TD(7) are set to 0 (OFF) when the corre-
sponding timer counter variables are cleared to zero. When the timer counter variable reaches the
specified value, the contact is set to "1" (ON) and the status is retained. If the “timer off” command is
executed, the status of TD(0) to TD(7) are cleared to zero.
• When the timer counter variables TC(0) to TC(7) operate as free-running counters, the status of cor-
responding timer output contacts TD(0) to TD(7) do not change.
Timer Variables TC(0) to TC(7) and TD(0) to TD(7)
Function
variable
Description Data range
Default
data
Unit Data size R/W
TC(0) to
TC(7)
Timer counter variable 0 to 2,147,483,647 0 10 ms Unsigned
2 words
R
Function
variable
Description Data range
Default
data
Unit Data size R/W
TD(0) to
TD(7)
Timer output contact
(bit access)
0: OFF
1: ON
0 bit R