7 Application Instructions API 50-99
D V P - P L C A P P L I C AT I O N M A N U A L
7-51
Program Example 2:
1. Use TMR instruction to write in 10 groups of set time.
2. Write the set values into D100 ~ D109 in advance.
3. The timing unit for timer T0 ~ T9 is 0.1 sec. The timing unit for the teaching timer is 1 sec.
4. Connect the 1-bit DIP switch to X0 ~ X3 and use BIN instruction to convert the set value of the switch into a bin
value and store it in E.
5. Store the “On” time (sec.) of X10 in D200.
6. M0 refers to the pulses generated from one scan period after the button switch of the teaching timer X10 is
released.
7. Use the set number of the DIP switch as the indirectly designated pointer and send the content in D200 to
D100E (D100 ~ D109).
M10
TMR
T0
D100
M11
TMR
T1
D101
M19
TMR
T9
D109
M1000
BIN
K1X0
E
X10
TTMR
D200
K0
X10
PLF
M0
M0
MOV
D200
D100E
Remarks:
1. For SA series MPU, TTMR instruction can be used 8 times in the program. But in a subroutine or interruption
subroutine, the instruction can only be used once.
2. For EH series MPU, there is no limitation on the times using this instruction in the program and 8 instructions can
be executed at the same time.
Summary of Contents for DVP-PLC
Page 1: ...PLC PLC...
Page 28: ...1 Basic Principles of PLC Ladder Diagram DVP PLC Application Manual 1 24 MEMO...
Page 192: ...4 Step Ladder Instructions DVP PLC Application Manual 4 22 MEMO...
Page 472: ...8 Application Instructions API 100 149 DVP PLC Application Manual 8 70 MEMO...
Page 574: ...9 Application Instructions API 150 199 DVP PLC Application Manual 9 102 MEMO...