Omron RX2 Series User Manual page 145

Driveprogramming, cx-drive
Hide thumbs Also See for RX2 Series:
Table of Contents

Advertisement

Timer set
Command
Starts the timer (k). The the timer counter TC(k)
is started with 0 and incremented every 10 ms
until it reaches <value>. When <value> is
reached, the timer contact TD(k) changes to
ON.
Note 1. The timer (k) is started when the "timer set" command is executed. If TD(k) is ON, it is changed to OFF
when the timer (k) is started. After the timer (k) is started, the program goes to the next command.
2. When the "timer set" command is executed, the data of TD(k) and <value> are saved internally. Even
if the variable values set to <value> is changed after the "timer set" command is executed, the opera-
tion of the command does not change.
3. After the "timer set" command is executed, if the same timer (k) is restarted before its processing is
completed, the ongoing processing is canceled and the timer (k) is started with the new settings.
Therefore, create a program so that the timer (k) which is started once is not restarted until its pro-
cessing is completed.
4. You can monitor the data of the started timer (k) with the timer counter variable TC(k). Check the com-
pletion of the timer processing with the timer output contact TD(k) (changes ON at completion).
 Timing chart
(1)
DriveProgramming User's Manual (I622-E1)
Description
Flowchart method
timer set TD(k) <value>
(2)(3)
(4)
(5)(6)
(7)
6 DriveProgramming Commands
TD(k): the timer output contact of the timer that
you use (range of k is 0 to 7)
Value: any variable or constant
(specified time × 10 ms)
Format
Text language method
timer set TD(k) <value>
(1) The timer is in a free-run state.
(2) The "timer set" command is started.
(3) The delay operation is in progress.
(4) The time elapsed.
(5) The "timer set" command is started.
(6) The delay operation is in progress.
(7) The time elapsed.
(8) The "timer off" command is started.
(8)(9)
(9) The timer is in a free-run state.
Argument
6 - 49
6

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

3g3rx2 series

Table of Contents