Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual

Page 261

Advertising
background image

Publication 1746-RM001A-US-P

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

CALL 90

PUSH [remote device node address]
PUSH [remote device file number]
PUSH [remote device file type]
PUSH [starting element offset (x2) of remote
device file]
PUSH [number of elements to be transferred]
PUSH [message time-out value]
POP [status of message instruction]

Read remote DH485 data file to BASIC input
buffer.

13-20

CALL 91

PUSH [remote device node address]
PUSH [remote device file number]
PUSH [remote device file type]
PUSH [starting element offset (x2) of remote
device file]
PUSH [number of elements to be transferred]
PUSH [message time-out value]
POP [status of message instruction]

Write module output buffer to remote DH485
data file.

12-18

CALL 92

PUSH [remote device node address]
PUSH [starting element offset (x2) of remote
device file]
PUSH [number of words to be transferred]
PUSH [message time-out value]
POP [status of message instruction]

Read remote DH485 interface file to module
input buffer.

13-23

CALL 93

PUSH [remote device node address]
PUSH [starting element offset (x2) of remote
device file]
PUSH [number of words to be transferred]
PUSH [message time-out value]
POP [status of message instruction]

Write module output buffer to remote DH485
interface file.

12-22

CALL 94

None

Print current PRT1 port setup.

12-24

CALL 95

PUSH [buffer selection]
POP [number of characters]

Get number of characters in PRT1 buffers.

11-10

CALL 96

PUSH [buffer selection]

Clear port PRT1 input and output buffers.

12-24

CALL 97

None

Enable port PRT2 DTR signal.

11-11

CALL 98

None

Disable port PRT2 DTR signal.

11-11

CALL 99

None

Reset print head pointer.

14-3

CALL 101

PUSH [starting address]
PUSH [ending address]

Upload user memory module code to host.

5-4

CALL 103

None

Print port PRT1 output buffer and pointer.

5-5

CALL 104

None

Print port PRT1 input buffer and pointer.

5-6

CALL 105

None

Reset port PRT1 to default settings.

14-4

Mnemonic

Required PUSHes or POPs

Description

Active In

Command

Mode

Only

Page

Advertising