Call 18 – re-enable the control-c break function, Purpose – Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual
Page 45
Publication 1746-RM001A-US-P
BASIC Commands 4-5
>20 PRINT I
>30 NEXT I
>40 END
>RUN
1
2
3
4
5
[CTRL-C]
pressed
STOP – IN LINE 20
READY
>PRINT I
27
>I =10
>CONT
10
11
12
Notice that after
[CTRL-C]
is pressed and I is printed the value of I is 27. The
value of I is incremented several times before
[CTRL-C]
is detected.
CALL 18 – Re-enable the
Control-C Break
Function
Purpose
Re-enable the
[CTRL-C]
break function by executing CALL 18 in a module
program or from the Command mode.
IMPORTANT
When
[CTRL-C]
is disabled, you are unable to stop program
execution through a BASIC command. Cycling power
re-enables
[CTRL-C]
checking until the program once again
disables
[CTRL-C]
. To stop program execution, you must cycle
power and press
[CTRL-C]
before the line that disables
[CTRL-C]
is executed.