Call 19: disable the control c break function – Rockwell Automation 1771-DB BASIC MODULE User Manual
Page 202

Chapter
Call Routines 0–68
12
12 -12
Use CALL 19 to disable the
Ctrl
+
C
break function for LIST (page
10 -9) and RUN (page 10 -19) operations. Execute CALL 19 in a BASIC
program or from Command mode. Cycling power returns the
Ctrl
+
C
function to normal operation if you disable it from the Command mode.
Important:
Ctrl
+
C
is enabled by default.
Input and Output Arguments
This routine has no input or output arguments.
Syntax
CALL 19
Example
> 90 CALL 19
Use this routine to convert BASIC floating point to 3-digit PLC BCD
number. See also CALL 10.
See Chapter 8 for more information.
Input and Output Arguments
This routine has two input arguments and no output arguments. The first
input argument is the variable with a value in the range of +999 that you
want to convert to signed 3-digit BCD format. The second input argument
is the number of the word (1–64) to receive the converted value in the
block-transfer-read buffer. The sign bit is bit number 16.
Syntax
PUSH
data to be converted
PUSH
word location (1–64) to receive value
CALL 20
Example
>20 PUSH W :REM DATA TO BE CONVERTED
>30 PUSH 6 :REM WORD LOCATION TO GET DATA
>40 CALL 20
CALL 19: Disable the
Control C Break Function
CALL 20:
BASIC Floating Point to
3-Digit, Signed, Fixed
Decimal BCD
Chapter