beautypg.com

Rockwell Automation Energy Management Accelerator Toolkit Quick Start User Manual

Page 388

background image

388

Rockwell Automation Publication IASIMP-QS016C-EN-P - October 2014

Chapter 12 Demand Control

I/O Mapping

The only modifications to the controller code that will be required for your application will be to map the demand
controller inputs and outputs to the loads in your application. The shed command from the demand controller,
Load[##].Out_Shed, will need to be mapped to the stop command or enable bit for the load. This could be a hardwired
output or a tag in your controller that ties into your device level control. The load status (on/off ) will need to be mapped to
the Demand Controller tag, Load[##].Inp_Status (if it is available). The SR00_IO_Mapping routine has been provided to
easily configure your I/O mapping. This routine contains 2 rungs for each of the 16 loads available in the demand
controller:

To map the shed output, replace the NOP instruction with an OTE or OTU instruction as required per your application.
In the example below, the shed output for Load number 1 is mapped to the first output on the local I/O card in slot 2.

The input status has been configured to follow the shed command by default. If the load's actual input status is not
available, this rung can be left as is. If the load's input status is available, map the input status to the appropriate status bit. In
the example below, the input status for Load number 1 is mapped to the first input on the local I/O card in slot 1.