Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual
Page 211

Publication 1746-RM001A-US-P
Input Functions 13-21
The sixth input argument is the message time-out value. This value is the number
of hundreds of milliseconds that are allowed to receive the read response (1 to 50 -
0.1 to 5.0 seconds). If the read response is not received within this time, the
message aborts with the output argument equal to 55. If the number is not within
the range 1 to 50, the output argument equals 14, and the transfer does not take
place.
The read data from the remote device is read into the module input buffers starting
at word 0 and filling as many words as specified by the element length of the
message.
The output argument specifies the status of the message instruction. Upon return
from the CALL, the output argument has the following definition.
Table 13.6 Valid Length Range
File Type Code
Valid Length Range
ASC(N)
1 to 40
ASC(S)
1 to 40
ASC(C)
1 to 13
ASC(T)
1 to 13
ASC(B)
1 to 40
ASC(R)
1 to 13
Table 13.7 Output Argument
Decimal
Output
Hexadecimal
Output
Description
0
00
Successful Completion.
2
02
Target node cannot accept the message at this time.
3
03
Target node cannot respond because message is too large.
4
04
Target node cannot respond because it does not understand
the command parameters.
5
05
module is off-line (not on link).
6
06
Target node cannot respond because requested function is
not available.
7
07
Target node does not respond.
10
0A
module detects illegal target node address.
11
0B
module detects illegal file number.
12
0C
module detects illegal target file element offset.
13
0D
module detects illegal target file length.
14
0E
module detects illegal time-out value.
16
10
Target node cannot respond because of incorrect command
parameters or unsupported command.
55
37
Message timed out (time-out value exceeded).
80
50
Target node is out of memory.
96
60
Target node cannot respond because file is protected.