ProSoft Technology MVI56-BAS User Manual
Page 113

MVI56-BAS ♦ ControlLogix Platform
BASIC CALLs Syntax
BASIC Module (DB/BAS Compatible)
User Manual
ProSoft Technology, Inc.
Page 113 of 234
December 13, 2011
9.2
Backplane CALLs
CALL 51: Check CLX Output Image
Use CALL 51 to determine if the CLX controller has updated the BASIC Input
Buffer Output Image since the last time CALL 51 was executed (In this case,
update means that the data was written to the Buffer from the CLX, even if the
data has not changed values)
Syntax:
CALL 51
POP [A]
Where:
A =
0 CLX has not updated the output image
1 CLX has updated the output image
Example:
.
.
.
125 GOSUB 520
.
.
.
500 REM This routine waits for the output image
510 REM to be updated.
520 CALL 51: POP X
530 CALL 51: POP X
540 IF(X=0) THEN GOT 530
550 RETURN
.
.
.