Micromod Micro-DCI: 53MC5000 Multi-Loop Process Controller CUSTOMIZATION GUIDE User Manual
Page 25

2.4.5.7 Unconditional Jump Statements Jxxx
The unconditional jump statement is used to control the transfer of operations from one point to an-
other in the program (or subroutine). The unconditional jump instructs the computer to depart from
the regular sequence of instruction execution and jump to another point in the program. The uncon-
ditional jump can be any number of lines either forward or backward.
NOTE: Backward jumps (negative numbers) count back from the
statement or line.
(J-115 will execute the 114th line ahead of the statement).
2.4.5.8 Subroutine Call Statement
A subroutine call statement can be inserted in programs to cause the computer to depart from the
program and perform one of the subroutines stored in the Subroutine Library. When the subroutine
is concluded, the program execution is resumed. As previously discussed, the Subroutine Library
is indexed to identify the individual subroutines (Ref: G000 - Gxxx). To call a particular subroutine,
list the applicable subroutine index number in the program.
2.4.5.9 End Statement
At the end of the F-TRAN program a final statement must be used to indicate that program execu-
tion is complete. The end statement, E, performs this operation and can be used only once in the
program.
2.4.5.10 Return Statement
Return statement "R" must be used in F-TRAN subroutine to indicate that the subroutine is com-
plete and that execution should continue with the statement following the subroutine call. The last
statement in the subroutine must be an "E" and the statement before the "E" must be an "R".
2.4.5.11 Display Statements
NOTE
Display Statements may only be used in Display F-TRAN programs. If
used in a Control F-TRAN program,they will be ignored.
Keywords on the operation of F-TRAN operators.
MOVXY
MOVXY <x coordinate> <y coordinate>
This command positions the cursor to the specified x-y coordinates. The cursor specifies
the upper left corner of a character cell. Drawing commands (vbar, hbar, htrend,
vtrend) are also relative to the current cursor position. See the individual command
for details. The "x" direction is from left to right with values of 0-47. The "y" direction is
from top to bottom with values of 0-95. Both x and y coordinates must be "B"
type expressions.
For example:
MOVXY 16 35
MOVXY B30 35
MOVXY B17 B20 16
*
8 +
MODULAR CONTROLLER CUSTOMIZATION GUIDE
2-18