Chapter 8 Logic Instructions
8_
Programming Example
The variable table and program
Variable name
Data type
Initial value
TON1
TON
TON1_EN
BOOL
FALSE
TON1_In
BOOL
FALSE
TON1_PT
TIME
TON1_Q
BOOL
TON1_ET
TIME
Timing Chart:
Case 1
:
TON1_PT is the set time. When TON1_In is TRUE, the timer starts to measure the time.
When the value of TON1_ET equals the setting value of TON1_PT, TON1_Q is TRUE.
When the timer stops measuring time, TON1_In is reset to FALSE and TON1_ET and
TON1_Q are both reset.
Case 2
:
When the currently measured time of the timer TON1_ET is less than the set time
TON1_PT and TON1_In is reset to FALSE, TON1_ET is reset and the state of TON1_Q
does not change.
1
TO N
EN
ENO
I n
Q
TON1
P T
TO N1_EN
TON1_ In
TO N1_PT
TON1_Q
E T
TON1_E T
TON1_I n
TO N1_ET
TON1_ Q
TON1_PT
Cas e 1
Cas e 2
8-41
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...