Block-transfer support calls, Prt2 port – Rockwell Automation 1771-DB BASIC MODULE User Manual
Page 93
Chapter
Using BASIC Module Statements
7
7 -3
PRT2 Port
Statement
Page
MODE
PRINT#
GET#
INPL#
INPS#
INPUT#
EOF#
LIST#
CALL 30
PRT2 port support parameter set
CALL 31
display PRT2 port parameters
CALL 35
retrieve numeric input character from PRT2 port
CALL 36
get number of characters in PRT2 port buffers
CALL 37
clear PRT2 port buffers
CALL 97
enable PRT2 DTR
CALL 98
disable PRT2 DTR
CALL 99
reset print head pointer
CALL 110
print the PRT2 port transmit buffer and pointer
CALL 111
print the PRT2 receive buffer and pointer
CALL 119
reset the PRT2 port to default settings
The BASIC module communicates with the PLC processor using
block-transfer communications. The PLC processor sends variable length
blocks of data to the module. You can transfer a maximum of 64 words in
and 64 words out per scan. The module responds with the requested block
length of data. The module has an auxiliary processor dedicated to
servicing of the block-transfers to and from the PLC processor. Use these
support routines to provide the communications link between the PLC
processor and the BASIC processor. See Chapter 5 for more information
on block-transfers.
Statement
Page
CALL 2
timed-block-transfer-read buffer
CALL 3
timed-block-transfer-write buffer
CALL 4
set block-transfer-write length
CALL 5
set block-transfer-read length
CALL 6
block-transfer-write buffer
CALL 7
block-transfer-read buffer
CALL 120
clear BASIC module input and output buffers
Block-Transfer Support
Calls
Chapter