Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual

Page 266

Advertising
background image

Publication 1746-RM001A-US-P

B-10 BASIC Command, Statement, and CALL Quick Reference Guide

REM

Specify a remark or comment line.

4-19

REN

Renumber BASIC program.

4-20

RESTORE

RESTORE read point.

6-7

RETI

Return from interrupt.

8-18

RETURN

RETURN from subroutine.

8-18

RND

Random number

3-11

ROM Select

ROM

mode.

*

4-20

RROM

Select ROM mode and execute the selected
program.

*

4-21

RUN

Execute a program.

*

4-22

SGN

Sign

3-10

SIN( )

Return the sine of argument

3-8

SNGLSTP

Initiate single-step program execution.

*

4-23

SQR( )

Square Root

3-10

ST@

Store variable.

12-38

STOP

Break program execution.

8-20

STRING

Allocate memory for strings.

15-11

TAN( )

Return the tangent of the argument.

3-8

TIME

Retrieve and/or assign free running clock value.

3-17

VER

Verify module firmware version.

4-25

XBY( )

Retrieve or assign data to or from the external
data memory of the module.

3-17

XFER

Transfer a program from ROM to RAM.

*

4-26

+

Addition

3-3

/

Division

3-4

**

Exponentiation

3-4

*

Multiplication

3-4

-

Subtraction

3-4

.AND.

Logical AND

3-6

.OR.

Logical OR

3-6

.XOR.

Logical Exclusive OR

3-6

@

Direct communications to port PRT1.

3-15

#

Direct communications to port PRT2.

3-15

Mnemonic

Required PUSHes or POPs

Description

Active In

Command

Mode

Only

Page

Advertising