4MELFA-BASIC IV
Detailed specifications of MELFA-BASIC V
4-126
4.3 Detailed specifications of MELFA-BASIC V
In this section, detailed explanations of the MELFA-BASIC
Ⅴ
format and syntax such as configuration are
given, as well as details on the functions of each command word. The following explains the components
that constitute a statement.
(1) Program name
A program name can be specified using up to 12 characters. However, the operation panel display can dis-
play only up to four characters; it is therefore recommended to specify the program name using up to four
characters. Moreover, the characters that may be used are as follows.
If a program name is specified using more than four characters, the program cannot be selected from the
operation panel. In addition, if it is desired to use an external output signal to select a program to be exe-
cuted, the program name should be specified using the numbers. If a program is executed as a sub-pro-
gram via the CallP instruction, more than four alphabetic characters may be used. However, such programs
may not be selected from the operation panel.
(2) Command statement
Example of constructing a statement
1 Mov P1 Wth M_Out(17)=1
1) 2) 3) 4)
1) STEP No.
: Numbers for determining the order of execution within the program. steps are exe-
cuted in ascending order.
2) Command word
: Instructions for specifying the robot's movement and tasks
3) Data
: Variables and numerical data necessary for each instruction
4) Appended statement: Specify these as necessary when adding robot tasks.
Class
Usable characters
Alphabetic charac-
ters
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
(Use uppercase characters only. If a program name is registered using lowercase characters, the program
may not be executed normally.)
Numerals
0 1 2 3 4 5 6 7 8 9