Basic programming guide – Remote Processing BASIC for the CX-10 Modbus User Manual

Page 65

Advertising
background image

BASIC PROGRAMMING GUIDE

2-56

RROM

Syntax:

RROM n
Where: n = rom number slot to load

Function:

Runs specified ROM stored in CPU flash memory.

Mode:

Command, run

Use:

RROM n

DESCRIPTION

Command instructs the OS to enter numbered ROM and begin to execute the program. Variable n is a
number equal to or less than the number of Basic programs. If n is not supplied, 1 is assumed.

This command is the way one Basic program calls another. In command mode, this is the same as entering
ROM n, RUN.

Executing this command clears all interupts and sets all basic variables and strings to zero. Note that register
variables remain intact.

ROM numbers, or slots, were created using PROG.

RELATED

RROM, FPROG, PROG

Advertising