Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual
Page 260

Publication 1746-RM001A-US-P
B-4 BASIC Command, Statement, and CALL Quick Reference Guide
CALL 64
PUSH [string number to be found]
PUSH [base string number]
POP [match position]
Find a string in a string.
CALL 65
PUSH [new string number]
PUSH [old string number to be replaced]
PUSH [base string number]
Replace a string in a string.
CALL 66
PUSH [insert position]
PUSH [string number of inserted character]
PUSH [base string number]
Insert string in a string.
CALL 67
PUSH [base string number]
PUSH [deleted string number]
Delete string from a string.
CALL 68
PUSH [string number]
POP [number of characters]
Determine length of a string.
CALL 70
None
ROM to RAM program transfer
CALL 71
PUSH [ROM program number]
ROM/RAM to ROM program transfer
CALL 72
None
RAM/ROM return
CALL 73
None
Battery-backed RAM disable
CALL 74
None
Battery-backed RAM enable
CALL 75
POP [processor mode]
Check SLC 500 controller CPU status.
CALL 77
PUSH [new MTOP address]
Protected variable storage
CALL 78
PUSH [baud rate]
Set program port baud rate.
CALL 80
POP [battery status]
Check battery condition.
CALL 81
None
User memory module check and description
*
CALL 82
None
Check user memory module map.
*
CALL 84
PUSH [starting word offset in DH485 interface
file]
PUSH [number of words to be transferred]
POP [transfer status]
Transfer DH485 interface file to module input
buffer.
CALL 85
PUSH [starting word offset in DH485 interface
file ]
PUSH [number of words to be transferred]
POP [transfer status]
Transfer module output buffer to DH485
interface file.
CALL 86
POP [DH485 interface file remote write status]
Check DH485 interface file remote Write
status.
CALL 87
POP [DH485 interface file remote read status]
Check DH485 interface file remote Read status.
CALL 88
PUSH [number to convert]
PUSH [output buffer to receive converted
value]
Convert BASIC floating-point to SLC
floating-point
CALL 89
PUSH [input buffer of value to be converted]
Convert SLC floating-point to BASIC
floating-point
Mnemonic
Required PUSHes or POPs
Description
Active In
Command
Mode
Only
Page