
Chapter 5. Application instructions
5-25
-
Execution conditions
2) Program example
-
Whenever a rising edge is detected at P030, the content of P06 word will be increased by 1.
Input condition
INC, DINC
INCP, DINCP
Executed only once
Executed only once
Executed per scan
Executed per scan
P030
INCP P006
0 0 0 0 0 0 0 0 1 1 0 0 0 1 1 0
P006
0 0 0 0 0 0 0 0 1 1 0 0 0 1 1 1
h00C6
+1
h00C7
P006