Rockwell Automation 1771-DB BASIC MODULE User Manual

Page 321

Advertising
background image

Chapter
Call Routines 69–127

13

13 -63

Output Argument One
The output argument is the status of the call. It has these values:

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 read a remote node, the status of the read is
placed into BTR word 1. The possible status codes are:

Code

Indicates

0

transfer OK

1

transmission failed

2

enquiry time out

3

with handshaking selected – either a loss of CTS signal
while transmitting or a fatal transmitter failure occurred

without handshaking selected – a fatal transmitter failure
occurred

4

transmission failure due to modem disconnection (DCD signal
loss for more than 10 seconds) if modem handshaking with
constant carrier is selected

5

DF1 driver is not enabled

6

message timed out

81

illegal command or format

82

host has a problem and will not communicate

83

remote station host is not there, disconnected, or shut down

84

host could not complete function due to hardware fault

85

addressing problem or memory protect rungs

86

function disallowed due to command protection selection

87

processor is in Program mode

88

compatibility mode file missing or communication zone problem

89

remote station cannot buffer command

8B

remote station problem due to download

8C

local station cannot execute command due to active IPBs

C1

illegal address format – field has an illegal value

C2

illegal address format – not enough fields specified

C3

illegal address format – too many fields specified

C4

illegal address format – symbol not found

C5

illegal address format – symbol is 0 or greater than the
maximum number of characters supported by this device

C6

illegal address – address does not exist or does not point to
something usable in this command

C7

illegal size – file is wrong size; address is past end of file

C8

cannot complete request

C9

data or file is too large

Advertising