![background image](http://html1.mh-extra.com/html/omron/sysmac-cj-series/sysmac-cj-series_operation-manual_743585268.webp)
All BASIC commands
Section 4-2
256
4-2-243 TRON
/i
4-2-244 TRUE
/i
4-2-245 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
.
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
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
Содержание SYSMAC CJ Series
Страница 2: ......
Страница 70: ...Specifications Section 2 4 58...
Страница 84: ...FINS commands Section 3 4 72...
Страница 148: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Страница 277: ...Section 265 SECTION 5 Examples This chapter gives 2 categories of examples and tips How to s Practical examples...
Страница 370: ...Section 358...