Block-transfer support calls, Prt2 port – Rockwell Automation 1771-DB BASIC MODULE User Manual

Page 93

Advertising
background image

Chapter
Using BASIC Module Statements

7

7 -3

PRT2 Port

Statement

Page

MODE

11 -20

PRINT#

11 -29

GET#

11 -12

INPL#

11 -16

INPS#

11 -16

INPUT#

11 -17

EOF#

9 -17

LIST#

10 -9

CALL 30

PRT2 port support parameter set

12 -20

CALL 31

display PRT2 port parameters

12 -21

CALL 35

retrieve numeric input character from PRT2 port

12 -34

CALL 36

get number of characters in PRT2 port buffers

12 -35

CALL 37

clear PRT2 port buffers

12 -35

CALL 97

enable PRT2 DTR

13 -33

CALL 98

disable PRT2 DTR

13 -34

CALL 99

reset print head pointer

13 -34

CALL 110

print the PRT2 port transmit buffer and pointer

13 -45

CALL 111

print the PRT2 receive buffer and pointer

13 -46

CALL 119

reset the PRT2 port to default settings

13 -56

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

12 -2

CALL 3

timed-block-transfer-write buffer

12 -3

CALL 4

set block-transfer-write length

12 -4

CALL 5

set block-transfer-read length

12 -4

CALL 6

block-transfer-write buffer

12 -5

CALL 7

block-transfer-read buffer

12 -5

CALL 120

clear BASIC module input and output buffers

13 -57

Block-Transfer Support
Calls

Chapter

Advertising