Rockwell Automation 1746-BAS BASIC LANGUAGE User Manual

Page 225

Advertising
background image

Publication 1746-RM001A-US-P

Input Functions 13-35

The output argument is the status of the CALL. It has the following values:

0 – Successful

1 – Disabled

2 – Bad input parameter

3 – DF1 not enabled

4 – String too small

5 – String is not dimensioned

To disable this CALL, a zero must be PUSHed into the first input parameter. All
other parameters are ignored but must still be PUSHed.

Whenever an attempt is made to read a remote node, the status of the read is placed
into the input word 1, bits 0-7. The possible status codes are shown in Table 13.12.

The status is valid when the module sets the input file word 0, bit 10.

Table 13.12 Transaction Status Codes

Code

Indicates

0

Transfer OK.

1

Transmission failed.

2

Enquiry timeout.

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.

Advertising