Industrial Applications
◾
389
4. With the same conditions in Step 3, two more actions must take place:
a. The motor M starts to operate, the balls are detected and counted by the photo switch
F
6
and sent to the table. The motor M stops when the F
6
detects nine balls.
b. The red indicating lamp H
1
turns on, which means that the game is in progress.
5. When nine balls have fallen in the ball box, the red lamp turns off and the green lamp H
2
turns on, which means a new game can be started.
The required program has to be written for the I/O addressing shown in the figure.
Do'stlaringiz bilan baham: