EasyManua.ls Logo

Omron R88A-MCW151-DRT-E - Trigger; Troff; Tron

Omron R88A-MCW151-DRT-E
276 pages
Print Icon
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...
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)

Table of Contents

Related product manuals