beautypg.com

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

Page 18

background image

Using The Totalizer Block

Building the Strategy

16

Table 3. Edit Inputs Data, PIDDISP Block

Input

No.

Input Name

Type

Line
Format

I10

TOTAL

Remote

1

TOTALL

1

Changes to Remote automatically happen when an external connection is made.

7. Close the Inputs menu by clicking on the red diamond in the upper left corner of the block.

8. Select

.

9. Enter the information from Table 4 into field format F8.

Table4. Edit Display Format Data, PIDDISP Block

Format
Name

Display
Format

Low
Limit

High limit

Entry
Method

TOTAL

Float0

0

10000000.0

None

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

the block.

11. Select

.

12. Modify the existing Display block script to appear as that in Figure 3.

DEFAULTS:
{

MANUAL_PRESSED:
{
IF OPMS != 3 THEN
{
OPMS = 0;
#LINE5 = " OP";
#LINE6.SRC = OP;
}
}

AUTO_PRESSED:
{
IF OPMS != 3 THEN
OPMS = 1;
}

SCROLL_PRESSED:
{
IF SCRLCNT >= 2 THEN
SCRLCNT = 0;
ELSE SCRLCNT = SCRLCNT + 1;
CASE SCRLCNT OF
{
0:

#LINE5 = " OP";
#LINE6.SRC = OP;
BREAK;

1:

#LINE5 = " SP";
#LINE6.SRC = SP;