Chapter 8 Logic Instructions
8_
Programming Example
The variable table and program
Variable name
Data type
Initial value
TOF1
TOF
TOF1_EN
BOOL
FALSE
TOF1_In
BOOL
FALSE
TOF1_PT
TIME
TOF1_Q
BOOL
TOF1_ET
TIME
Timing Chart:
Case 1
:
TOF1_PT is the set time for off delay. When TOF1_In is TRUE, TOF1_Q is TRUE. When
TOF1_In is FALSE, the timer starts to measure the time. When the value of TOF1_ET
equals the setting value of TOF1_PT, TOF1_Q is FALSE and the timer stops timing.
Case 3
:
When TOF1_In changes from TRUE to FALSE, the timer starts timing. When current
time (TOF1_ET) is less than the set time (TOF1_PT) and TOF1_In is set to TRUE,
TOF1_ET is reset and the state of TOF1_Q does not change.
1
TOF
EN
ENO
In
Q
TO F1
P T
TO F1 _EN
TOF1_I n
TO F1_PT
TOF1_Q
ET
TOF1_ET
TOF1_In
TOF1_Q
TO F1 _ET
TOF1_PT
Cas e 1
Cas e 2
8-43
Summary of Contents for DVP15MC11T
Page 9: ...Memo viii...
Page 15: ...DVP15MC11T Operation Manual _2 MEMO 2 4...
Page 71: ...DVP15MC11T Operation Manual _7 Memo 7 10...
Page 81: ...DVP15MC11T Operation Manual _8 Timing Chart F_TRG_CLK F_TRG_Q 8 10...
Page 158: ...Chapter 8 Logic Instructions 8_ The program 1 ASIN EN ENO In Out ASIN_EN ASIN_In Out1 8 87...
Page 249: ...DVP15MC11T Operation Manual _8 8 178...
Page 285: ...DVP15MC11T Operation Manual _8 Memo 8 214...
Page 323: ...DVP15MC11T Operation Manual 10 MEMO 10 34...
Page 549: ...DVP15MC11T Operation Manual A MEMO A 16...