Lead-lag compensation example – kitControl

This topic provides an example of how to use the LeadLagCycle component to control when three pumps run. The purpose of controlling the three is to prevent them from drawing excess electricity by all three running at the same time.

The wire sheet for controlling the lag times for three pumps might look like this:

Figure 1. LeadLagCycle example with linked objects

Each of the three BooleanWritable points has a DiscreteTotalizerExt with its changeOfStateCount slot linked back to a Cycle Count x input on the LeadLagCycles object (not visible in the illustration). The feedback Or object simulates feedback, fed through a BooleanDelay object. The following shows the configuration of the property sheet:



The wiresheet for controlling the runtime for three pumps might look like this:

Each of the three BooleanWritable points has a DiscreteTotalizerExt, with its elapsedActiveTime slot (1) exposed up in the composite of the parent point for link clarity. The feedback Or object (2) simulates feedback. The property sheet would look like this:

Figure 2. LeadLagRuntime properties