211
Note:
2. The defined function should be placed in front of the main programs,
as shown in 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