Rockwell Automation 1771-DB BASIC MODULE User Manual

Page 272

Advertising
background image

Chapter
Call Routines 69–127

13

13 -14

Use CALL 86 to determine if the DH-485 Common Interface File located
in the BASIC module was updated since the last time you checked.

Input and Output Arguments

This routine has no input arguments and one output argument. The output
argument is the DH-485 interface file remote write status:

0 – a device on the DH-485 Serial Communications Link has not written

to the DH-485 Serial Common Interface File since the last time you
executed this call or since you powered up the BASIC module,
whichever occurred last.

1 – a device on the DH-485 Serial Communications Link has written to

the DH-485 Common Interface File since the last time you executed this
call or since you powered up the BASIC module, whichever occurred
last.

Syntax

CALL 86

POP

DH-485 interface file remote write status

Example

>100 CALL 86 : REM CHECK FILE STATUS

>110 POP X : REM GET THE STATUS

>120 IF(X<>1) THEN GOTO 100 : REM WAIT ON THE DATA

CALL 86: Check DH-485
Interface File Remote Write
Status

Advertising