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

Training Manual
F-TRAN Programming Lab
10- 6
#
The editor contains an area where the program statements can be entered. The editor
also has the following buttons:
Close – for closing the editor
Save – for saving the program to the disk
Compile – for compiling the program that is shown in the editor
Assign FIX – for assigning a Function Index number for the compiled program
Also notice that there is one line of program code already in the editor. This is the F-
TRAN statement E. Every F-TRAN program whether it is a control, display or subroutine
requires an E at the end of the program. This is required by the compiler and indicates the
end of the program. The program will not compile without this statement at the end.
2.
Enter the program code:
• Position the cursor ahead of the E statement and enter the following program line:
C100 = H000
• Refer to the following figure:
Figure 10 .4.
A Simple F-TRAN
Program
3.
Save the program:
• Click on the Save button to save the program.
4.
Compile the program:
• Click on the Compile button to compile the program