Micromod MOD: 30ML and Modcell Totalization Application Guide User Manual
Page 19
Using The Totalizer Block
Building the Strategy
17
BREAK;
2:
#LINE5 = "TOT";
#LINE6.SRC = TOTAL;
BREAK;
}
}
SCROLL_HELD:
{
TUNE;
}
}
Figure 5. PID Display Block Script
13. Exit and save the Display block scripts.
14. Click on
to close the PIDDISP Display block.
15. Enter the TOTDISP Display block.
16. In the Display Tag field enter the loop tag name of your choice for the totalizer commands
display. This is the loop identification that will appear on the front of the instrument when on
the Totalizer Commands display is called up. This same name will be entered into the
Display Tag List of the DIF block.
17. Set line 2 to VARIABLE.
18. In the second column to the right of line 2 type “TOTAL”. This causes line 2 of the display to
get an input called TOTAL.
19. Leave line 5 at CONSTANT and type “CMD” into the first field. The word CMD will always
appear in line 5.
20. Set line 6 to VARIABLE.
21. In the second column to the right of line 6 type “ACTION”. This causes line 6 of the display to
show the state names associated with an input called ACTION.
22. Enter
and enter the information from Table 5.
Table 5. Edit Inputs Data, TOTDISP Block
Input
No.
Input Name
Type
Local data
Type
Valu
e
Line
Format
I1
TOTAL
Remote
1
TOTALL
I2
ACTION
Local
Shortstate
0
ACTIONL
I3
DELTA
Local
Shortstate
0
I4
CMDINP
Remote
1
1
Changes to Remote automatically happen when an external connection is made.
23. Close the Inputs menu by clicking on the red diamond in the upper left corner of the block.
24. Select
.
25. Enter the information from Table 6 into the appropriate fields of format F1 and F2
respectfully.