beautypg.com

ProSoft Technology MVI56-BAS User Manual

Page 175

background image

MVI56-BAS ♦ ControlLogix Platform

BASIC CALLs Syntax

BASIC Module (DB/BAS Compatible)

User Manual

ProSoft Technology, Inc.

Page 175 of 234

December 13, 2011

CALL 115: Check DF1 XMIT Status

Use CALL 115 to check the DF1 transmit status. This CALL should be used after

CALL 114 in order to check if the last DF1 packet was successfully sent and if a

new data packet can be sent.

Syntax:

CALL 115
POP [A]

Where:
A = DF1 transmit status. The possible values are:

0 =

no transmit result pending

1 =

transmit result pending

2 =

transmission successful

3 =

transmission failed

4 =

enquiry time out

5 =

if modem handshaking is selected, either loss of CTS signal while transmitting or a fatal

transmitter error has occurred.

6 =

if modem handshaking with constant carrier is selected, this error means transmission

failure due to modem disconnection.

7 =

DF1 driver is not enabled

Example:

.
.
.
CALL 115
100 POP STATUS
.
.
.