![Hitachi SJ700 Series Software Instruction Manual Download Page 75](http://html.mh-extra.com/html/hitachi/sj700-series-software/sj700-series-software_instruction-manual_140536075.webp)
Chapter 5 Instruction Words
5 - 21
timer set (timer-start instruction)
Instruction to set and start the timer counter
- Format
Format Description
timer set TD (k) <variable> or
<constant>
This instruction sets <variable> or <constant> in the k'th timer and
starts the timer counter.
- 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= 1
timer set
TD(0)
5.00
: Start the 5-second timer counter.
wait
TD(0)
=
1
: Wait until "1" (on) is set in TD (0).
Y(00)= 1
:
- Example of operation (timing chart)
timer set TD (k) 1000
timer set TD (k) 1500
TC (k)
TD (k)
timer off TD (k)
Comparison
for matching
1500
1000
2^31-1
2^31-1
Timing chart for operation using the timer set instruction
Summary of Contents for SJ700 Series Software
Page 8: ...Contents vii ...
Page 10: ......
Page 16: ...Chapter 1 Introduction 1 6 ...
Page 18: ......
Page 24: ...Chapter 2 Creation and Execution of a User Program 2 6 ...
Page 26: ......
Page 30: ...Chapter 3 Syntax 3 4 ...
Page 32: ......
Page 54: ......
Page 102: ......
Page 110: ...Chapter 6 Interface with the Inverter 6 8 ...
Page 112: ......
Page 115: ...Chapter 8 Appendix 8 1 Inverter Parameters and Available Settings 8 1 ...
Page 116: ......