BASIC commands
PROGRAMMING MANUAL
178
R
e
vi
si
o
n
1
.0
3.2.249 RESET
/i
3.2.250 RETURN
See
GOSUB..RETURN
.
3.2.251 REV_IN
/i
Example
A conveyor is to index 100mm at a speed of 1000mm/s, wait for 0.5s and then
repeat the cycle until an external counter signals to stop by turning on input 4.
cycle:
SPEED = 1000
REPEAT
MOVE(100)
WAIT IDLE
WA(500)
UNTIL IN(4) = ON
See also
FOR..TO..STEP..NEXT
,
WHILE..WEND
.
Type
System command
Syntax
RESET
Description
The
RESET
command sets the value of all local variables of the current
BASIC task to 0.
Arguments
N/A
Example
No example.
See also
CLEAR
.
Type
Axis parameter
Syntax
REV_IN