EasyManua.ls Logo

Omron TJ2-MC64 - PROGRAMMING - Page 203

Omron TJ2-MC64 - PROGRAMMING
362 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
Loading...
BASIC commands
PROGRAMMING MANUAL 197
Revision 1.0
3.2.294 TRIGGER
/i
3.2.295 TROFF
/i
3.2.296 TRON
/i
3.2.297 TRUE
/i
Description Axis demand position at output of frame transformation. TRANS_DPOS is
normally equal to DPOS on each axis. The frame transformation is therefore
equivalent to 1:1 for each axis. For some machinery configurations it can be
useful to install a frame transformation which is not 1:1, these are typically
machines such as robotic arms or machines with parasitic motions on the
axes. Frame transformations have to be specially written in the C language
and downloaded into the controller. It is essential to contact OMRON if you
want to install frame transformations.
Arguments N/A
Example No example.
See also FRAME.
Type System command
Syntax TRIGGER
Description The TRIGGER command starts a previously set up SCOPE command.
Note: Trajexia Studio uses TRIGGER automatically for its oscilloscope func-
tion.
Arguments N/A
Example No example.
See also SCOPE.
Type Program command
Syntax TROFF [ "program_name" ]
Description The TROFF command suspends a trace at the current line and resumes nor-
mal program execution for the program specified with program_name. The
program name can also be specified without quotes. If the program name is
omitted, the selected program will be assumed.
Arguments program_name
The name of the program for which to suspend tracing.
Example >> TROFF "lines"
See also SELECT, TRON.
Type Program command
Syntax TRON
Description The TRON command creates a breakpoint in a program that will suspend pro-
gram execution at the line following the TRON command. The program can
then for example be executed one line at a time using the STEPLINE com-
mand.
Notes:
Program execution can be resumed without using the STEPLINE com-
mand by executing the TROFF command.
The trace mode can be stopped by issuing a STOP or HALT command.
Trajexia Studio highlights lines containing TRON in the Edit and Debug
Windows.
Arguments N/A
Example TRON
MOVE(0,10)
MOVE(10,0)
TRON
MOVE(0,-10)
MOVE(-10,0)
See also SELECT, TROFF.
Type Constant (read-only)
Syntax TRUE

Related product manuals