Input functions, Chapter 13, Chapter – Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual
Page 191

1
Publication 1746-RM001A-US-P
Chapter
13
Input Functions
This chapter describes and illustrates commands that allow the BASIC or BASIC-T
module to read input data from its external ports within the BASIC program or
from the command line. Table 13.1 lists the corresponding mnemonics.
Table 13.1 Chapter Reference Guide
If you need (to)
Use this
mnemonic
Page
Transfer data from PRT1 or PRT2 to the SLC I/O or M files.
CALL 22
Transfer data from a remote DH485 data file to the SLC
processor.
CALL 27
Handle all errors that are not handled by the ONERR statement.
CALL 29
Get a numeric input character from port PRT2.
CALL 35
Transfer the CPU output image buffer to the module input buffer. CALL 53
Transfer the CPU M0 file to the module input buffer.
CALL 56
Transfer the DH485 interface file to the module input buffer.
CALL 84
Read remote DH485 data file to the BASIC input buffer.
CALL 90
Read remote DH485 interface file to the module input buffer.
CALL 92
Get the DF1 packet length.
CALL 117
Allow unsolicited writes from a remote SLC or PLC node.
CALL 118
Read a PLC data file.
CALL 122
Read the console input device.
GET
Read the console input device connected to PRT2.
GET#
Read the console input device connected to PRT1.
GET@
Read a line of characters from the program port buffer.
INPL
Read a line of characters from the port PRT2 buffer.
INPL#
Read a line of characters from the port PRT1 buffer.
INPL@
Read a string of characters from the program port buffer.
INPS
Read a string of characters from the port PRT2 buffer.
INPS#
Read a string of characters from the port PRT1 buffer.
INPS@
Input a string or variable.
INPUT
Input a string or variable from port PRT2.
INPUT#
Input a string or variable from port PRT1.
INPUT@
Load a variable.
LD@
READ data in the data statement.
READ