Rockwell Automation 1771-DB BASIC MODULE User Manual

Page 361

Advertising
background image

Quick Reference

Appendix E

E –5

Page

Description

BASIC

ON-GOSUB

transfer control to subroutine when expression
following ON is encountered

11 -24

ON-GOTO

transfer control to line specified when expression
following ON is encountered

11 -26

ONTIME

use to compensate for incompatibility between
timers/counters on the microprocessor and the
BASIC module

11 -25

.OR.

combine the first expression with the second
expression using .OR.

9 -8

PI

store constant. PI

9 -12

PH0. and PH1.

direct BASIC module to print a number in
hexadecimal format to a console device

11 -27

POP

remove value from argument stack

11 -28

PRINT

output value to the console device

11 -29

PROG

program resident EEPROM with current program in
RAM

10 -11

PROG1

program resident EEPROM with port information for
all three ports as well as MTOP information

10 -12

PROG2

program resident EEPROM with port information for
all three ports as well as MTOP information and
execute first program in the EEPROM

10 -13

PUSH

place expression on argument stack

11 -30

RAM

select current program out of RAM

10 -15

READ

retrieve expressions specified in DATA statement

11 -31

REM

specify a comment line in BASIC program

11 -32

REN

renumber program lines

10 -16

RESTORE

reset internal pointer to beginning of data to read it
again

11 -32

RETI

exit from an interrupt that is processed

11 -33

RETURN

return control back to program after executing a
GOSUB

11 -34

RND

return a pseudo–random number

9 -12

ROM

select current program out of EEPROM or EPROM

10 -17

RROM

select and run current program out of EEPROM or
EPROM

10 -18

RUN

set variables to zero, clear BASIC evoked interrupts,
and begin program execution with the first line
number of selected program

10 -19

SGN

return the sign of argument

9 -12

SIN

return the sine of argument

9 -10

SQR

return the square root of the argument

9 -12

SNGLSTP

initiate single-step execution

10 -20

ST@

store floating point numbers to a specified address

11 -35

STOP

break program execution at specific points in the
program

11 -36

STRING

allocate memory for strings

11 -37

SUBTRACT (–)

subtract one expression from another

9 -5

TAN

return the tangent of argument

9 -10

TIME

read/assign the free running clock

9 -19

Advertising