ProSoft Technology MVI56-BAS User Manual
Page 120
Advertising
BASIC CALLs Syntax
MVI56-BAS ♦ ControlLogix Platform
User Manual
BASIC Module (DB/BAS Compatible)
Page 120 of 234
ProSoft Technology, Inc.
December 13, 2011
CALL 59: Check CLX MSG
Use CALL 59 to determine if the CLX processor has read the module data using
the MSG instruction since the last time it was checked.
Syntax:
CALL 58
POP A
Where:
A =
0 CLX has not read to the module
1 CLX has read to the module
Example:
.
.
.
125 GOSUB 520
.
.
.
500 REM This routine waits CLX MSG instruction
510 REM to read the module data.
520 CALL 59: POP X
530 CALL 59: POP X
540 IF(X=0) THEN GOT 530
550 RETURN
.
.
.
Advertising