E556GB — 6.17.1 Part task definition

Examples 6.17 Modular programming Task Sets of 12 pieces each are to be transported on a con- veyor belt. The belt drive is operated by start and stop keys. The belt is stopped after every twelfth piece. Before leaving the belt, each piece triggers an impulse via an in- itiator. The impulse is used for counting. A binary display is to show: Ш while the belt is moving: the current number in the set (0...12) Ш else: the sum total of all parts transported already (0...65536) You should be able to reset the counter via the Clear keys. 6.17.1 Part task definition The part tasks are to be defined under technological as- pects and aim for clearly arranged modules that can be used several times.

Our example only indicates an under- standing of the modules’ interaction. 146