Omron trajexia CJ1W-MCH72 Operation Manual page 268

Sysmac cj-series programmable controller
Hide thumbs Also See for trajexia CJ1W-MCH72:
Table of Contents

Advertisement

All BASIC commands
4-2-247 TRON
4-2-248 TRUE
4-2-249 TSIZE
/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
257

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents