ProSoft Technology MVI56-BAS User Manual
Page 119
Advertising
MVI56-BAS ♦ ControlLogix Platform
BASIC CALLs Syntax
BASIC Module (DB/BAS Compatible)
User Manual
ProSoft Technology, Inc.
Page 119 of 234
December 13, 2011
CALL 58: Check CLX MSG
Use CALL 58 to determine if the CLX processor has written 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 written to the module
1 CLX has written to the module
Example:
.
.
.
125 GOSUB 520
.
.
.
500 REM This routine waits CLX MSG instruction
510 REM to update the module.
520 CALL 58: POP X
530 CALL 58: POP X
540 IF(X=0) THEN GOT 530
550 RETURN
.
.
.
Advertising