Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual
Page 265

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.
ON-GOSUB
Conditional GOSUB
ON-GOTO
Conditional GOTO
ONTIME
Generate an interrupt when TIME is equal to or
greater than ONTIME argument-line number.
PH0.
Print hex value with zero suppression to
console device.
PH0.#
Print hex value with zero suppression to PRT2.
PH0.@
Print hex value with zero suppression to PRT1.
PH1.
Print hex value with no zero suppression to
console device.
PH1.#
Print hex value with no zero suppression to
PRT2.
PH1.@
Print hex value with no zero suppression to
PRT1.
PI
PI-3.1415926
POP
POP argument stack to variables.
Print variables, strings or literals to console
device; P. is shorthand for print.
PRINT#
Print to port PRT2.
PRINT@
Print to port PRT1.
PRINT CR
Print carriage return.
PRINT SPC( )
Print spaces.
PRINT TAB( )
Print tabs.
PRINT
USING(Fx)
Print numeric values in scientific notation.
PRINT
USING(#.#)
Print numeric values in decimal notation.
PRINT
USING(0)
Restore the default print mode.
PROG
Save the current program in EPROM.
*
PROG1
Save baud rate information in EPROM.
*
PROG2
Save baud rate information in EPROM and
execute program after reset.
*
PUSH
PUSH expressions on argument stack.
RAM
Evoke RAM mode.
*
READ
READ data in data statement.
Mnemonic
Required PUSHes or POPs
Description
Active In
Command
Mode
Only
Page