ProSoft Technology MVI56-BAS User Manual
Page 122

BASIC CALLs Syntax
MVI56-BAS ♦ ControlLogix Platform
User Manual
BASIC Module (DB/BAS Compatible)
Page 122 of 234
ProSoft Technology, Inc.
December 13, 2011
CALL 120: Clear Module Input and Output Buffers
Use CALL 120 to clear the module input and output buffers.
Syntax:
PUSH A
CALL 120
Where:
A is an 8-bit argument that corresponds to the module input and output buffers,
as shown in the following table.
Bit
Decimal
Equivalent
Module Input and Output Buffer Area
0
1
Data transferred from the CLX using Message instruction
1
2
Data read by the CLX using MSG instruction
2
4
CLX Output Image
3
8
CLX Input Image
4
16
Common Interface Input File
5
32
Common Interface Output File
6
Not Used
7
Not Used
Example:
.
.
.
125 PUSH 63: CALL 120
.
.
.