EasyManuals Logo

Omron TJ1-MC04 - PROGRAMMING 1 User Manual

Omron TJ1-MC04 - PROGRAMMING 1
312 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #38 background imageLoading...
Page #38 background image
BASIC commands
PROGRAMMING MANUAL 38
Revision 3.0
3.1.8 Program control commands
/i
3.1.9 Slot parameters and modifiers
/i
3.1.10 System commands and functions
/i
DEL Deletes a program from the motion controller.
DIR Displays a list of the programs in the motion controller, their size
and their RUNTYPE on the standard output.
EDIT Allows a program to be modified using a VT100 Terminal.
EPROM Stores a program in the flash memory.
LIST Prints the program on the standard output.
NEW Deletes all lines of the program in the motion controller.
PROCESS Returns the running status and task number for each current
task.
RENAME Changes the name of a program in the motion controller.
RUN Executes a program.
RUNTYPE Determines if a program is run at start-up, and which task it is to
run on.
SELECT Specifies the current program.
STEPLINE Executes a single line in a program.
STOP Halts program execution.
TROFF Suspends a trace at the current line and resumes normal pro-
gram execution.
TRON Creates a breakpoint in a program.
Name Description
FOR..TO..STEP..NEXT Loop allows a program segment to be repeated with increasing/
decreasing variable.
GOSUB..RETURN Jumps to a subroutine at the line just after label. The program
execution returns to the next instruction after a “RETURN” on
page 132 is given.
GOTO Jumps to the line containing the label.
Name Description
IF..THEN..ELSE..ENDIF Controls the flow of the program base on the results of the con-
dition.
ON.. GOSUB or ON..
GOTO
Enables a conditional jump to one of several labels.
REPEAT..UNTIL Loop allows the program segment to be repeated until the con-
dition becomes “TRUE” on page 146.
WHILE..WEND Loop allows the program segment to be repeated until the con-
dition becomes FALSE.
Name Description
COMMSTYPE Contains the type of unit in a controller slot.
FPGA_VERSION Returns the FPGA version of unit with unit_number in a control-
ler system.
SLOT Is a modifier that specifies slot number of unit
Name Description
$ (HEXADECIMAL
INPUT)
Assigns a hexadecimal number to a variable.
AXIS Sets the axis for a command, axis parameter read, or assign-
ment to a particular axis.
BASICERROR Is used to run a specific routine when an error occurs in a
BASIC command.
CLEAR Clears all global variables and the local variables on the current
task.
CLEAR_BIT Clears the specified bit of the specified VR variable.
Name Description
I52E-EN-03.book Seite 38 Freitag, 29. Juni 2007 11:55 11

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron TJ1-MC04 - PROGRAMMING 1 and is the answer not in the manual?

Omron TJ1-MC04 - PROGRAMMING 1 Specifications

General IconGeneral
BrandOmron
ModelTJ1-MC04 - PROGRAMMING 1
CategoryController
LanguageEnglish

Related product manuals