Micromod Micro-DCI: 53MC5000 Training Manual User Manual
Page 166

Training Manual
F-TRAN Programming Lab
10- 20
Figure 10.30.
New Display
F-TRAN Program
• Enter the following program instructions (as shown in the next figure) using editor
and then save the file by clicking on the Save button on the editor.
• The static and dynamic parts of the program are labeled by the comment
statements in this code.
Figure 10.31.
New Display
F-TRAN Program
\*************************************************\
\***** THIS IS THE TANK FILLING DEMO DISPLAY *****\
\*************************************************\
\**** Static portion of the display *****\
CLEAR \ Clear the screen \
MOVXY 11 12 \ Draw the fill pipe \
HBAR 32 32 1
MOVXY 11 20
VBAR 8 8 1
MOVXY 9 21 \ Draw the fill pipe arrow \
HBAR 4 4 1
MOVXY 10 22
HBAR 2 2 1
PUTDOT 11 23
MOVXY 29 14 \ Draw the fill valve \
VBAR 4 4 1
MOVXY 30 13
VBAR 2 2 1
MOVXY 32 13
VBAR 2 2 1
MOVXY 33 14
VBAR 4 4 1
MOVXY 4 58 \ Draw the Tank \
VBAR 32 32 2