beautypg.com

ProSoft Technology MVI56-BAS User Manual

Page 131

background image

MVI56-BAS ♦ ControlLogix Platform

BASIC CALLs Syntax

BASIC Module (DB/BAS Compatible)

User Manual

ProSoft Technology, Inc.

Page 131 of 234

December 13, 2011

CALL 96: Clear PRT1 Buffers

Use CALL 96 to clear the PRT1 receive or transmit buffers.

Syntax:

PUSH A
CALL 96

Where:
A = buffer selection (0 = transmit buffer, 1 = receive buffer, 2 = both buffers)

Example:

.
.
.
210 PUSH 2: CALL 96
.
.
.