Mnemonic list overview, Appendix b, Appendix – Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual
Page 257

1
Publication 1746-RM001A-US-P
Appendix
B
BASIC Command, Statement, and CALL Quick
Reference Guide
Mnemonic List
Overview
The table below lists the various mnemonics found in this manual along with a
description and location.
Mnemonic
Required PUSHes or POPs
Description
Active In
Command
Mode
Only
Page
ABS( )
Absolute value
ASC( )
Return integer value of ASCII character.
ATN( )
Return arctangent of argument.
BRKPNT
Set program break point.
*
CALL 14
PUSH [word number of module input buffer]
POP [converted value]
16-bit signed integer to BASIC floating-point
CALL 15
PUSH [word number of module input buffer]
POP [converted value]
16-bit unsigned integer to BASIC floating-point
CALL 16
PUSH [BASIC line number]
Enable the interrupt capability when a DF1
packet is received.
CALL 17
None
Disable the DF1 packet interrupt capability.
CALL 18
None
Re-enable the
[CTRL-C]
break function.
CALL 19
None
Disable the
[CTRL-C]
break function.
CALL 20
PUSH [BASIC line number]
Enable the SLC processor interrupt capability.
CALL 21
None
Disable the SLC processor interrupt capability.
CALL 22
PUSH [source port number]
PUSH [maximum number of characters to be
transferred]
PUSH [decimal value of character delimiter]
PUSH [selection of destination file and/or
string]
PUSH [word offset within the destination file]
PUSH [string number]
PUSH [byte swap selection]
POP [CALL 22 status]
Transfer data from PRT1 or PRT2 to the SLC I/O
or M files.
CALL 23
PUSH [destination port number and/or internal
string]
PUSH [selection of source file]
PUSH [word offset within source file]
PUSH [string number]
PUSH [byte swap selection]
POP [CALL 23 status]
Transfer data from the SLC I/O or M files to
PRT1 or PRT2.