beautypg.com

Micromod Micro-DCI: 53MC5000 Training Manual User Manual

Page 168

background image

Training Manual

F-TRAN Programming Lab

10- 22

UNITS \

MOVXY 25 55

PRINT C116 \ DISPLAY LOOP 0 LOWER

LIMIT \

MOVXY 6 56

VBAR C100 100.0 / 30.0 * $ 30 11 \ DRAW TANK FILLING BASED

ON PROCESS VARIABLE \

MOVXY 22 65

PRINT C102 $ \ DISPLAY LOOP 0 PROCESS

OUTPUT \

E \ End of Program \

• Compile the program by clicking on the Compile button on the editor. Assign a

Display Function Index of 50 to this program when prompted.

Figure 10.32.

Display F-TRAN
FIX Number

• Click on the OK button after typing the FIX number. Click the Close button on the

editor to close the editor.

4.

Build the F-TRAN programs: We will next build both the Control and Display F-TRAN
programs.

• Select the controller from the project tree and then click on the F-TRAN Image

item from the window on the right as shown in the next figure.

• Right-click on the F-TRAN Image item to display a sub-menu as shown below:

Figure 10.33.

F-TRAN Build

• Select the item Build from this menu to build the programs. The Build option

menu will be displayed as shown in the next figure:

Figure 10.34.

F-TRAN Build