beautypg.com

Micromod MOD: 30ML and Modcell Totalization Application Guide User Manual

Page 20

background image

Using The Totalizer Block

Building the Strategy

18

Table6. Edit Display Format Date, TOTDISP Block

Format
Name

Display
Format

Low
Limit

High limit

Entry Method Display

State Table

Entry State
Table

TOTALL

Float0

0

1000000.0 None

ACTIONL

State

Entry Req’d

ACTIOND

ACTIOND

26. Close the Display Formats menu by clicking on the red diamond in the upper left corner of

the block.

27. Select

.

28. Add Display block script to appear as that found in Figure 6.

DEFAULTS:
{
ACTIVE:
{
IF ACTION && !DELTA THEN
{
CMDINP = ACTION;
DELTA = 1;
}

ELSE IF DELTA THEN
{
ACTION = 0;
DELTA = 0;
}
}
}

Figure 6. TOTDISP Display Block Script

29. Exit and save the Totalizer Commands display script.

30. Close the TOTDISP block by selecting

.

31. Click twice on the blue diamond in the upper left screen to find the DIF block.

32. Open the DIF block.

33. Select

.

34. Enter the Display Tag names for the PIDDISP and TOTDISP Display blocks as they were

entered in the Display Tag field of each Display block. Enclose each tag name with quotation
marks and finish it with a semi-colon. For example: “FIC-100”;. The order in which you enter
the two names will be the order in which they will appear on the instrument display when the
TAG key is pressed.

35. Exit and save the display tag list.

36. Set the

to “User” and enter the Display Tag name of the PIDDISP

Display block in the

field. This causes the instrument to come up after a power loss with

the PID display.

37. Close the DIF block by selecting

.

38. Enter the State block and select

.