Advanced control blocks > Model Predictive Control (MPC) function block

Model Predictive Control function block MPC reference templates

The MPC function block can be connected to inputs and outputs from blocks in other modules. These special external input and output references in the MPC module are designed to provide the PV_SCALE value for inputs and the PV_SCALE and MODE values for outputs.

To reference an MPC block input or output to a block in another module, you must use the MPC_INREF template for input references and the MPC_OUTREF template for output references. Both templates are located in the Advanced Control palette in Control Studio.

MPC_INREF Template

The MPC Input Reference template is used to map MPC relevant data from a specified upstream function block into the current module. The following rules apply.

  • The specified upstream function block must be an AI, a PID, an FLC, or an SCLR function block.

  • The upstream function block path is entered into the PATH parameter in the //<MODULE>/<BLOCK> (upper case) format.

MPC_INREF Quick Config Parameters

Table: Quick Config parameters for MPC_INREF

Parameter

Description

PATH

The path of the upstream function block. The path must be entered in the following format:

//<MODULE>/<BLOCK> (upper case)

MPC_OUTREF Template

The MPC Output Reference template is used to map MPC relevant data from a specified downstream function block into the current module. The following rules apply.

  • The specified downstream function block must be an AO, a PID, or an FLC function block.

  • The downstream function block path is entered in the PATH parameter in the //<MODULE>/<BLOCK> (upper case) format.

The MPC Output Reference composite template supports standard alarming.

MPC_OUTREF Quick Config Parameters

Table: Quick Config Parameters for MPC_OUTREF

Parameter

Description

PATH

The path of the downstream function block. The path must be entered in the following format:

//<MODULE>/<BLOCK> (upper case)