Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual

Page 263

Advertising
background image

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.

12-28

CBY( )

Retrieve data from specified memory address.

3-16

CHR( )

Count value converted ASCII character.

3-14

CLEAR

Clear variables, interrupts & strings.

6-1

CLEARI

Clear interrupts.

6-3

CLEARS

Clear all stacks.

6-3

CLOCK0

Disable real time clock.

7-2

CLOCK1

Enable real time clock.

7-1

CONT

Continue after a Stop or

[CTRL-C]

.

*

4-3

CONTROL-C

Stop execution & return to Command mode.

4-4

CONTROL-Q

Restart a list after

[CTRL-S]

.

4-8

CONTROL-S

Interrupt a list command.

4-7

COS( )

Return the cosine of argument.

3-8

DATA

Data read by Read statement.

6-4

DBY( )

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

3-16

DIM

Allocate memory for array variables.

6-4

DO-UNTIL

Set up conditional do-loop.

7-4

DO-WHILE

Set up a conditional do-loop.

7-3

EDIT

Edit a line of the BASIC program.

*

4-8

END

Terminate program execution.

7-5

EOF

Test for empty input buffer.

3-15

ERASE

Delete the last BASIC program stored in ROM
by a PROG command.

*

4-9

EXP( )

“e” (2.7182818) TO THE X

3-11

FOR-TO-(STEP)-
NEXT

Set up for-next loop.

7-6

FREE

Test for number of free bytes of RAM memory.

3-15

Mnemonic

Required PUSHes or POPs

Description

Active In

Command

Mode

Only

Page

Advertising