6. Function blocks
6.2 Interrupt function blocks
Example of an incremental counter in easySoft 8
Palletizing system with home positioning
The gripper must set the material down every time the target position with marker
word MW512 is reached in the up direction. When Q01 is set in the interrupt program,
marker M511 is set in the main program so that it can be used to move back to the
home position.
Device input I3: channel A
Device input I4: channel B
The target position is specified on marker MW512.
Fig. 261: easySoft 8 Main program Incremental counter
Fig. 262: easySoft 8 Interrupt program Incremental counter
572
easyE402/24 MN050009ENEaton.com