Rockwell Automation 1747-PBASE BASIC Development Software Programming Manual User Manual

Page 102

Advertising
background image

Publication 1746-PM001A-US-P

9-2 Communicating with the Module

The following table shows the BASIC commands that are executable on your
module from Terminal mode. Refer to the BASIC Language Reference Manual
(publication number 1746-RM001A-US-P) for additional information on these
commands

.

Table 9.1 Module Commands

Command:

Function:

Examples:

CONT

CONTinue program execution after a STOP statement
or CONTROL C command.

CONT

[CTRL] C

Stop current program execution and return module to
Command mode.

[CTRL] C

[CTRL] S

Interrupt a LIST command.

[CTRL] S

[CTRL] Q

Restart a LIST command after a CONTROL S command. [CTRL] Q

DISABLING
[CTRL] C

Disable the CONTROL C break function. CALL 18
disables the CONTROL C break function. CALL 19
re-enables the CONTROL C break function.

CALL 18 (disable)
CALL 19 (re-enable)

ERASE

Erase the program stored in ROM.

ERASE

LIST

LIST current program or indicated lines of program to
the console device.

LIST, LIST 10-50

LIST#

LIST current program or indicated lines of program to
the device connected to port PRT1.

LIST#, LIST#50

LIST@

LIST current program or indicated lines of program to
the device connected to port PRT2.

LIST@, LIST@50

MODE

Set up port parameters.

MODE(DH485,19200)

NEW

Erase the program stored in RAM.

NEW

NULL

Count the number of null characters the module
outputs after a carriage return.

NULL, NULL4

PROG

Program the EEPROM module with the current
program.

PROG1

Program the EEPROM module with port information for
all three ports and store MTOP information.

PROG2

Execute the first program stored in EEPROM when the
module is turned ON.

RAM

Select the current program from RAM memory.

RAM

ROM

Select the current program from EEPROM memory.

ROM, ROM3

RUN

Execute the currently selected program.

RUN

XFER

Transfer a program from EEPROM to RAM, then select
RAM mode.

XFER

Advertising