beautypg.com

ProSoft Technology MVI56-BAS User Manual

Page 127

background image

MVI56-BAS ♦ ControlLogix Platform

BASIC CALLs Syntax

BASIC Module (DB/BAS Compatible)

User Manual

ProSoft Technology, Inc.

Page 127 of 234

December 13, 2011

CALL 37: Clear PRT2 Buffers

Use CALL 37 to clear the PRT2 receive and transmit buffers.

Syntax:

PUSH A
CALL 37

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

Example:

.
.
.
210 PUSH 2: CALL 37
.
.
.