Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual
Page 263

Publication 1746-RM001A-US-P
BASIC Command, Statement, and CALL Quick Reference Guide B-7
CALL 123
PUSH [type of PLC WRITE command]
PUSH [remote PLC node address]
PUSH [file number of remote PLC]
PUSH [file type on remote PLC]
PUSH [starting word offset on remote PLC]
PUSH [number of elements to be transferred]
PUSH [message time-out value]
PUSH [selection of source file]
PUSH [word offset within source file]
PUSH [string number]
POP [CALL 123 status]
Write to a PLC data file.
CBY( )
Retrieve data from specified memory address.
CHR( )
Count value converted ASCII character.
CLEAR
Clear variables, interrupts & strings.
CLEARI
Clear interrupts.
CLEARS
Clear all stacks.
CLOCK0
Disable real time clock.
CLOCK1
Enable real time clock.
CONT
Continue after a Stop or
[CTRL-C]
.
*
CONTROL-C
Stop execution & return to Command mode.
CONTROL-Q
Restart a list after
[CTRL-S]
.
CONTROL-S
Interrupt a list command.
COS( )
Return the cosine of argument.
DATA
Data read by Read statement.
DBY( )
Retrieve or assign data to or from the internal
data memory of the module.
DIM
Allocate memory for array variables.
DO-UNTIL
Set up conditional do-loop.
DO-WHILE
Set up a conditional do-loop.
EDIT
Edit a line of the BASIC program.
*
END
Terminate program execution.
EOF
Test for empty input buffer.
ERASE
Delete the last BASIC program stored in ROM
by a PROG command.
*
EXP( )
“e” (2.7182818) TO THE X
FOR-TO-(STEP)-
NEXT
Set up for-next loop.
FREE
Test for number of free bytes of RAM memory.
Mnemonic
Required PUSHes or POPs
Description
Active In
Command
Mode
Only
Page