List Of Commands And Functions In Ad51H-Basic - Mitsubishi QD51-R24 User Manual

Melesec q series
Hide thumbs Also See for QD51-R24:
Table of Contents

Advertisement

3 SPECIFICATIONS

3.4 List of Commands and Functions in AD51H-BASIC

Classification
Program creation
preparations
Program
creation,
correction
commands
Program editing
Memory
Reading of the
capacity read
memory capacity
function
Program execution
Program
execution,
Program control
control
commands
Program branching
Program
Program
debugging
debugging
command
Format
conversion
Format conversion
command
3 - 10
The commands in AD51H-BASIC which can be used by the QD51 (-R24) are shown in
the following table.
(For details concerning each command and function, refer to the Programming Manual
(Commands).)
Command,
Function
NEW
Deletes programs in the program area and initializes all the variables.
AUTO
Automatically displays line numbers at the beginning of each line.
CLEAR
Initializes all variables and sets up the memory area.
DELETE
Deletes the specified range of a program.
RENUM
Reassigns line numbers of a program.
LIST
Displays all or a part of programs in the program area.
Returns the number of the BASIC task area in which the program currently being
ZBAS
created or executed resides.
FRE
Returns the size of the unused program area in bytes.
Starts execution of the program in the program area.
RUN
Reads a program from a memory card, or the FD or HD, and executes it.
Resumes the program execution that was stopped by CTRL + C or BREAK key.
CONT
Resumes the program execution that was stopped by the STOP or END instructions.
Resumes the program execution after error handling by the ON ERROR GOTO
RESUME
instruction.
Deletes all or a part of the currently executing program, and reads and executes
CHAIN
the specified program.
FOR to NEXT
Repeatedly executes a series of commands the specified number of times.
In the programming mode, pauses program execution to wait for command input.
STOP
In the run mode, stops program execution and puts the module into an idle state.
In the programming mode, terminates program execution to wait for command
input.
END
In the run mode, terminates program execution and puts the module into an idle
state.
Repeatedly executes a group of commands between WHILE and WEND while the
WHILE to WEND
specified conditions are met.
GOTO
Changes the program flow to move to the specified line unconditionally.
GOSUB to
Branches to a subroutine and returns to the line of the specified line number.
RETURN
ON GOTO
Branches to one of the lines specified with line numbers according to the value.
ON GOSUB
Branches to one of the lines specified with the line numbers according to the value.
IF GOTO ELSE
Selects the branch destination according to the result of the formula calculation.
IF THEN ELSE
TRON
Starts program tracing.
TROFF
Resets the program tracing set by TRON.
Converts a double precision real number to a 2-word (32-bit) integer for
CDBI
programmable controller CPUs.
Converts a single precision real number to a 2-word (32-bit) integer for
CSNI
programmable controller CPUs.
MELSEC-Q
Operation
(Continued from the previous page)
3 - 10

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qd51

Table of Contents