160
the figure above.
3.4. Cyclic Motion Count
The download address of the Blockly program: Cyclic Motion Count.blockly
Counter counts:
Cyclic motion count: By adding 【Counter plus】, each time the command is run, the
counter of the Control Box will be incremented by 1. It can be used to calculate the
number of times the program cycles.
【Counter reset】: This command resets the counter in the Control Box to 0.
Variable ++ i class count:
1. wait = true
When wait = true, the counting effect of the ++ i class and the counter counting are
consistent.