Rockwell Automation 1771-DB BASIC MODULE User Manual

Page 320

Advertising
background image

Chapter
Call Routines 69–127

13

13 -62

Input Argument Six
The sixth input argument is the number of elements to be transferred.
If the number is not within the range listed in the table, the status equals 2
and the transfer does not occur.

File type code

Valid element length range

ASC(N)

1 to 63

ASC(S)

1 to 63

ASC(C)

1 to 21

ASC(T)

1 to 21

ASC(B)

1 to 63

ASC(R)

1 to 21

ASC(I)

1 to 21

ASC(O)

1 to 21

common interface file

1 to 21

Input Argument Seven
The seventh input argument is the message time-out value. This value (1
through 255) corresponds to the number of hundreds of milliseconds that
are allowed to receive the read response (0.1 through 25.5 seconds). If the
read response is not received within this time, the message aborts with the
status equal to 55 in the input file word 1. If the time-out value is not
within the range (1 through 255), the status output argument equals 2 and
the transfer does not take place.

Input Argument Eight
The eighth input argument is the selection of the BTR buffer with or
without the internal string or the internal string alone:

0

=

BTR

buffer

2 = internal string
4 = BTR buffer and internal string

If you chose internal string (2), execute CALL 29 (page12 -18) to initiate
each data transfer without requiring PLC processor interaction. The output
table bit 10 also initiates string transactions.

Input Argument Nine
The ninth input argument is always 1.

Input Argument Ten
The tenth input argument is the string number. If the eighth input
argument does not select internal string usage, the value of this input
argument is ignored, but you must still PUSH it.

Advertising