This Time/Event Drum program simulates an electromechanical stepper switch or drum. A timer only, an event contact only, or a time and an event can index the EDRUM. A Jog input enables you to allow either a time or an event to advance the drum a step. The EDRUM provides 8 output coils and 7 steps that are operated on multiples of the drum time base of 1 second. Each step controls all 8 output coils.
Program Description
EDRUM Operation
The drum is enabled when the Enable/Reset input is on. Depending upon the operation of the timer and/or event, when the Enable_Reset is on and the Start input turns on, the drum begins to run. The drum begins at the step specified by the Preset input on the Time_Control subroutine and advances to the next step. When the drum advances a step, outputs are turned on or off according to the drum mask for the new step. “Ones” in the mask designate that an output be turned on. “Zeros” designate that an output is to be turned off.