ProSoft Technology MVI56-BAS User Manual
Page 176

BASIC CALLs Syntax
MVI56-BAS ♦ ControlLogix Platform
User Manual
BASIC Module (DB/BAS Compatible)
Page 176 of 234
ProSoft Technology, Inc.
December 13, 2011
CALL 117: Get DF1 Packet Length
Use CALL 117 to get the length of the data packet. After the length of the DF1
packet has been read, it should be used with the GET command in order to
retrieve the data in the received packet.
Syntax:
CALL 117
POP [A]
Where:
A = length of the oldest DF1 packet in the DF1 receive buffer.
Example:
.
.
.
90 CALL 117
100 POP CHRCNT
.
.
.
9.8
BASIC Program Flow Control CALLs
CALL 0: Reset BASIC
There are times during BASIC program development when a reset seems like
the only option. CALL 0 performs a soft BASIC reset.
Syntax:
CALL 0
Example:
Ready
>CALL 0
MVI56-BAS
Firmware Release: 1.02
Module S/N: 0000192E
Online Development Inc.
Copyright 1995-2002
!!!!!!!!!!! Warning !!!!!!!!!!!!!
DH-485 will not function properly
if the setup jumper is installed.
!!!!!!!!!!! Warning !!!!!!!!!!!!!
Ready
>