Rockwell Automation 1771-DB BASIC MODULE User Manual

Page 329

Advertising
background image

Chapter
Call Routines 69–127

13

13 -71

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 write response (0.1 through 25.5 seconds). If the
write 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 equals 2 and the transfer does
not take place.

Input Argument Eight
The eighth input argument is the selection of the source BTW buffer or the
internal string:

0 = BTW buffer
2 = internal string

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

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.

Output Argument One
The output argument is the validation of the call:

0 = successful
1 = disabled
2 = bad input parameter
3 = DF1 not enabled
4 = string too small
5 = string is not dimensioned
6 = JW5 not in 16-point position

Whenever you attempt to write to a remote packet, the BASIC module
places the status of the write into the input word 1. The possible status
codes are shown in the table. This status is valid when the BASIC module
sets the input table, bit 4.

Advertising