Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual

Page 265

Advertising
background image

Publication 1746-RM001A-US-P

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

ONERR

Go to line number when an error is detected.

8-12

ON-GOSUB

Conditional GOSUB

8-14

ON-GOTO

Conditional GOTO

7-11

ONTIME

Generate an interrupt when TIME is equal to or
greater than ONTIME argument-line number.

8-14

PH0.

Print hex value with zero suppression to
console device.

12-37

PH0.#

Print hex value with zero suppression to PRT2.

12-37

PH0.@

Print hex value with zero suppression to PRT1.

12-37

PH1.

Print hex value with no zero suppression to
console device.

12-37

PH1.#

Print hex value with no zero suppression to
PRT2.

12-37

PH1.@

Print hex value with no zero suppression to
PRT1.

12-37

PI

PI-3.1415926

3-10

POP

POP argument stack to variables.

8-17

PRINT

Print variables, strings or literals to console
device; P. is shorthand for print.

12-35

PRINT#

Print to port PRT2.

12-35

PRINT@

Print to port PRT1.

12-35

PRINT CR

Print carriage return.

12-36

PRINT SPC( )

Print spaces.

12-36

PRINT TAB( )

Print tabs.

12-36

PRINT
USING(Fx)

Print numeric values in scientific notation.

12-36

PRINT
USING(#.#)

Print numeric values in decimal notation.

12-36

PRINT
USING(0)

Restore the default print mode.

12-37

PROG

Save the current program in EPROM.

*

4-15

PROG1

Save baud rate information in EPROM.

*

4-16

PROG2

Save baud rate information in EPROM and
execute program after reset.

*

4-17

PUSH

PUSH expressions on argument stack.

8-15

RAM

Evoke RAM mode.

*

4-19

READ

READ data in data statement.

13-45

Mnemonic

Required PUSHes or POPs

Description

Active In

Command

Mode

Only

Page

Advertising