Omron SYSMAC CJ Operation Manual page 268

Sysmac cj-series programmable controller motion control unit
Hide thumbs Also See for SYSMAC CJ:
Table of Contents

Advertisement

All BASIC commands
4-2-243 TRON
4-2-244 TRUE
4-2-245 TSIZE
256
/i
Type
Program command
Syntax
TRON
Description
The TRON command creates a breakpoint in a program that will sus-
pend program execution at the line following the TRON command. The
program can then for example be executed one line at a time using the
STEPLINE command.
Notes:
Program execution can be resumed without using the STEPLINE
command by executing the TROFF command.
The trace mode can be stopped by issuing a STOP or HALT com-
mand.
Arguments
N/A
Example
TRON
MOVE(0,10)
MOVE(10,0)
TRON
MOVE(0,-10)
MOVE(-10,0)
See also
SELECT, TROFF.
/i
Type
Constant (read-only)
Syntax
TRUE
Description
The TRUE constant returns the numerical value -1.
Arguments
N/A
Example
test:
t = IN(0) AND IN(2)
IF t = TRUE THEN
PRINT "Inputs are ON"
ENDIF
See also
N/A
/i
Type
System parameter (read-only)
Syntax
TSIZE
Description
The TSIZE parameter returns the size of the TABLE array, which is one
more than the currently highest defined TABLE element.
TSIZE is reset to 0 when the TABLE array is deleted using DEL
"TABLE" or NEW "TABLE" on the command line.
Arguments
N/A
Section 4-2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cj1w-mch72

Table of Contents