beautypg.com

Configuring dif, state, and display blocks – Micromod MOD: 30ML Functions Data Base Reference User Manual

Page 135

background image

MOD 30ML Functions

CONFIGURATION EXAMPLES

Configuring DIF, State, and Display Blocks
To complete the configuration of the compound, the following activities must take place.

1. Edit the Display Interface block (DIF) by adding the MASTER and SLAVE display blocks to

the display list.

"MASTER"; /* MASTER Display Tag */
"SLAVE"; /* SLAVE Display Tag */

2. Edit the standard State block by adding the following states.

spmsM, 3, "???" /* PID.SPMS (Master setpoint mode status). */
{
0, "LOC";
3, "TRK";
}
spmsS, 3, "???" /* PID.SPMS (Slave setpoint mode status). */
{
1, "REM";
3, "TRK";
}
cmsSD, 3, "???" /* PID.CMS (Slave Control mode status). */
{
0, "MAN";
1, "AUT";
2, "CAS";
3, "TRK";
5, "FLT";
15, "N/A";
}
cmsST, 3, "???" /* PID.CMS (Slave Control mode status). */
{
0, "MAN";
2, "CAS";
}
MSTL, 8, "????????" /* Tuning request. */
{
0, "TUNE ???";
1, " M_TL";
2, " S_TL";
}
TRK, 3, "???" /* Track Status */
{
0, "AUT";
1, "TRK";
}

3. Compile and check the database for tune list block occurrence numbers. Match the cascade

compound TL numbers in the cross reference file (select Report icon and read CRF file) and
use these numbers for the Master and Slave display block local data. The local data for
M_TL assumes it is TL1 (1) and S_TL assumes it is TL2 (2) when it might need to be set for
TL3 (3) and TL4 (4).


4. Recompile and download to the instrument.

3-41