multi_lb_ctrl

Purpose:

Set digital outputs that control relays in a load bank. Once this task is told to set the DO bits per theĀ spec file, it finds the value of CyFlex variables that contain the desired load to be applied and then sets the DO bits that will provide the requested load. The load should always be <= the requested load.

Multiple load banks can be controlled with appropriate configuration of computed expressions.

Enter:

multi_lb_ctrl <priority> <loop_time> <lb_number> <spec_filename> &

Where:

priority

Specify the priority of this task. Specify a higher than that of the priority of the DO transfer layer so that all requests are set before output begins.

loop_time

Specify the number of milliseconds between executions of this task. Typical values are 20-50.

lb_number

Specify the number of this load bank. Specify 1-4.

spec_filename

Specify the specification filename that configures this task.

Example:

multi_lb_ctrl 18 100 1 /specs/kw_load_specs.1 &
The above command spawns the multi_lb_ctrl program and runs it in the background. It reads the specification file /specs/kw_load_specs.1 and then waits for events to tell it what actions should be performed. The priority is set to 18 and the program runs every 100 ms.

Notes:

1. This task is normally spawned in the go script or by a gp_test procedure when the procedure is going to control the load applied by the load bank.

2. Once this task is spawned, it remains resident until it is slayed.

3. A load ramp can be accomplished via the standard ‘ramp’ command or the ramp command that is a gp_test keyword.

4. Another possibility is to use a control loop to set the value of a REAL VARIABLE(s). In this way, feed forward, ramping, and loop gains can be adjusted.

See Also:

Multi-Load Bank Control User Guide