Timer Variables - Omron 3G3MX2 Series User Manual

Drive programming
Hide thumbs Also See for 3G3MX2 Series:
Table of Contents

Advertisement

5 Drive Programming User Variables
5-3

Timer Variables

This section describes the timer variables provided for the Drive Programming's timer control com-
mands.
Timer Variables TC(0) to TC(7) and TD(0) to TD(7)
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.
Function
variable
TC(0) to
Timer counter variable
TC(7)
• 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.
Function
variable
TD(0) to
Timer output contact
TD(7)
(bit access)
• 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.
5 - 10
Description
Data range
0 to 2,147,483,647
Description
Data range
0: OFF
1: ON
Default
Unit
Data size
data
0
10 ms
Unsigned
2 words
Default
Unit
Data size
data
0
Drive Programming User's Manual (I580-E2)
R/W
R
R/W
bit
R

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

3g3rx series3g3lx series

Table of Contents