Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual
Page 261

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.
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.
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.
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.
CALL 94
None
Print current PRT1 port setup.
CALL 95
PUSH [buffer selection]
POP [number of characters]
Get number of characters in PRT1 buffers.
CALL 96
PUSH [buffer selection]
Clear port PRT1 input and output buffers.
CALL 97
None
Enable port PRT2 DTR signal.
CALL 98
None
Disable port PRT2 DTR signal.
CALL 99
None
Reset print head pointer.
CALL 101
PUSH [starting address]
PUSH [ending address]
Upload user memory module code to host.
CALL 103
None
Print port PRT1 output buffer and pointer.
CALL 104
None
Print port PRT1 input buffer and pointer.
CALL 105
None
Reset port PRT1 to default settings.
Mnemonic
Required PUSHes or POPs
Description
Active In
Command
Mode
Only
Page