Converting Line Nos. (From Melfa-Basic Iv To Melfa-Basic V Or Vi) - Mitsubishi Electric MELFA FR CR800 Series User Manual

Industrial robots
Table of Contents

Advertisement

11.14.2.

Converting line Nos. (from MELFA-BASIC IV to MELFA-BASIC V or VI)

Converts the line Nos. and relevant command lines, because the handling of line Nos. in MELFA-BASIC IV is
different from MELFA-BASIC V/VI.
For the MELFA-BASIC V/VI, conversion is as follows.
- The line Nos. are converted to step Nos. (Sequential No. starting from 1).
100 MOV P1
110 MVS P2
120 MOV P3
:
- Line No. jumps are converted label jumps.
100 MOV P1
110 MVS P2
120 GOTO 100
:
Convert the program according to the following procedure.
Figure 11-96 Conversion from MELFA-BASIC IV to MELFA-BASIC V/VI
(1) Select the program language of the source and target for conversion.
Startup program conversion in the project set with "MELFA-BASIC VI" or "MELFA-BASIC V".
Choose "MELFA-BASIC IV" for the source and choose "MELFA-BASIC V/VI" for the target.
It is NOT necessary to select the robot axis.
11-191
1 MOV P1
2 MVS P2
3 MOV P3
:
1 *LB00001: MOV P1
2 MVS P2
3 GOTO *LB00001
:
*LB00001 is the label name created automatically by this conversion.
(1)
(2)
(3)
(4)
11-191

Advertisement

Table of Contents
loading

Table of Contents