Timer Set (Timer-Start Instruction) - Hitachi SJ700-2 Series Instruction Manual

Easy-sequence programming software ezsq
Hide thumbs Also See for SJ700-2 Series:
Table of Contents

Advertisement

timer set (timer-start instruction)

- Format
Format
timer set TD (k) <variable> or
<constant>
- Explanation
(1) The timer set instruction sets <variable> or <constant> in the k'th timer buffer, clears the timer counter
(up counter) "TC (k)" to zero, and then initiates counting by the timer counter. Then, the value of timer
contact variable "TD (k)" is "0" (off).
(2) Subsequently, the instructions described after the timer set instruction are executed.
(3) When the timer counter "TC (k)" reaches the specified count, the value of timer contact variable "TD
(k)" changes to "1" (on) (only once). Then, the timer counter "TC (k)" stops counting.
- Sample program
  :
FW=
timer set
wait
Y(00)=
  :
- Example of operation (timing chart)
TC (k)
Comparison
for matching
TD (k)
timer set TD (k) 1000
Instruction to set and start the timer counter
This instruction sets <variable> or <constant> in the k'th timer and
starts the timer counter.
1
TD(0)
5.00
TD(0)
=
1
1
2^31-1
1000
Timing chart for operation using the timer set instruction
Chapter 5 Instruction Words
Description
: Start the 5-second timer counter.
: Wait until "1" (on) is set in TD (0).
1500
timer set TD (k) 1500
5 - 21
2^31-1
timer off TD (k)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sj700 series

Table of Contents