Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual
Page 258

Publication 1746-RM001A-US-P
B-2 BASIC Command, Statement, and CALL Quick Reference Guide
CALL 24
PUSH [value to be converted]
PUSH [word number of module output
buffer]
BASIC floating-point to 16-bit signed integer
CALL 25
PUSH [value to be converted]
PUSH [word number of module output
buffer]
BASIC floating-point to 16-bit binary
CALL 26
POP[ SLC processor status]
Generate an interrupt to the SLC processor.
CALL 27
PUSH [type of READ command]
PUSH [remote node address]
PUSH [remote file number]
PUSH [remote file type]
PUSH [starting word offset of remote file]
PUSH [number of words to be transferred]
PUSH [message time-out value]
PUSH [selection of destination file]
PUSH [word offset within destination file]
PUSH [string number]
POP [CALL 27 status]
Transfer data from a remote DH485 data file to
the SLC processor.
CALL 28
PUSH [type of WRITE command]
PUSH [remote node address]
PUSH [remote file number]
PUSH [remote file type]
PUSH [remote starting word offset]
PUSH [number of words to be transferred]
PUSH [message time-out value]
PUSH [selection of source file]
PUSH [word offset within source file]
PUSH [string number]
POP [CALL 28 status]
Transfer data from the SLC processor to a
remote DH485 data file.
CALL 29
PUSH [CALL 27, 28, 122, or 123 for the CALL
you want activated]
POP [status of transaction]
Handle all errors that are not handled by the
ONERR statement.
CALL 30
PUSH [bits per word]
PUSH [parity enable]
PUSH [number of stop bits]
PUSH [software handshaking enable/disable]
PUSH [hardware handshaking enable/disable]
Set PRT2 port parameters.
CALL 31
None
Display current PRT2 port setup.
CALL 35
POP [ASCII value of character]
Get numeric input character from port PRT2.
CALL 36
PUSH [buffer selection]
POP [number of characters]
Get number of characters in PRT2 buffers.
CALL 37
PUSH [buffer selection]
Clear port PRT2 input and output buffers.
CALL 38
PUSH [0 or 1]
Initiate transactions defined by CALLs 27, 28,
122, and 123.
Mnemonic
Required PUSHes or POPs
Description
Active In
Command
Mode
Only
Page