4-87
MELFA-BASIC V functions
4MELFA-BASIC V
4 MELFA-BASIC V
In this chapter, the functions and the detailed language specification of the programming language "MELFA-
BASIC
Ⅴ
" are explained.
4.1 MELFA-BASIC V functions
The outline of the programming language "MELFA-BASIC
Ⅴ
" is explained in this section. The basic move-
ment of the robot, signal input/output, and conditional branching methods are described.
Table 4-1:List of items described
For the detailed description of each instruction, please refer to
Page 152, "4.11 Detailed explanation of com-
.
Item
Details
Related instructions, etc.
1
(1)Joint interpolation movement
Mov
2
(2)Linear interpolation movement
Mvs
3
(3)Circular interpolation movement
Mvr, Mvr2, Mvr3, Mvc
4
Cnt
5
(5)Acceleration/deceleration time and speed control
Accel, Oadl
6
(6)Confirming that the target position is reached
Fine, Mov and Dly
7
Prec
8
HOpen, HClose, Tool
9
--------------
Def Plt, Plt
10
(1)Unconditional branching, conditional branching,
waiting
GoTo, If Then Else, Wait
, etc
11
For Next, While WEnd
12
Def Act, Act
13
GoSub, CallP, On GoSub
, etc
14
Dly
15
End(Pause for one cycle), Hlt
16
4.1.4Inputting and outputting
external signals
M_In, M_Inb, M_Inw
, etc
17
M_Out, M_Outb, M_Outw
, etc
18
--------------
Open, Close, Print, Input
, etc
19
4.1.6Expressions and operations (1)List of operator
+, -, *, / , <>, <, >
, etc
20
(2)Relative calculation of position data (multiplication)
P1 * P2
21
(3)Relative calculation of position data (Addition)
P1 + P2
22
--------------
Wth, WthIf