![background image](http://html1.mh-extra.com/html/omron/r88a-mcw151-drt-e/r88a-mcw151-drt-e_operation-manual_742243205.webp)
190
Command, function and parameter description
Section 6-3
Each task has its own TICKS parameter. Use the PROC modifier to access
the parameter for a certain task. Without PROC the current task will be
assumed.
Example:
delay:
TICKS = 3000
OP(9,ON)
test:
IF TICKS< = 0 THEN
OP(9,OFF)
ELSE
GOTO test
ENDIF
6-3-190 TRIGGER
Type:
Motion Perfect Command
Syntax:
TRIGGER
Description:
The TRIGGER command starts a previously set up SCOPE command.
Note Motion Perfect uses TRIGGER automatically for its oscilloscope function.
See also:
SCOPE
6-3-191 TROFF
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.
See also:
SELECT, TRON
Example:
>> TROFF "lines"
6-3-192 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.
• 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.
• Motion Perfect highlights lines containing TRON in the Edit and Debug
Windows.
See also:
TROFF
Example:
TRON
MOVE(0,10)
MOVE(10,0)
TRON
MOVE(0,-10)