ProSoft Technology MVI56-BAS User Manual
Page 114
Advertising

BASIC CALLs Syntax
MVI56-BAS ♦ ControlLogix Platform
User Manual
BASIC Module (DB/BAS Compatible)
Page 114 of 234
ProSoft Technology, Inc.
December 13, 2011
CALL 53: Transfer CLX Output Image to BASIC Input Buffer
Use CALL 53 to transfers 31 words (word 0 to 31) from the CPU output image
table to words 200 to 231 of the MVI56-BASIC input buffer.
Syntax:
CALL 53
POP [A]
Where:
A =
0 CLX is in RUN mode
1 CLX is not in RUN mode
Example:
.
.
.
125 GOSUB 520
.
.
.
500 REM This routine transfers the CLX Output Image
510 REM to the BASIC Input Buffer
520 CALL 53: POP X
530 IF(X<>0) THEN PRINT "Processor not in RUN mode."
540 RETURN
.
.
.
Advertising