beautypg.com

ProSoft Technology MVI56-BAS User Manual

Page 56

background image

Using the Program Port (PRT1)

MVI56-BAS ♦ ControlLogix Platform

User Manual

BASIC Module (DB/BAS Compatible)

Page 56 of 234

ProSoft Technology, Inc.

December 13, 2011

5.5.2 Uploading BASIC files from the MVI56-BAS to a PC

In order to upload BASIC programs from the MVI56-BAS to a PC, the running

program will have to be interrupted. Once interrupted, you must run the SY

program which uses the Y-Modem protocol. After the upload is complete, the

user will have to restart the module. All steps are described in the present

section:

Step 1
Remove the module from the rack and place the setup jumper ON.
Put the module back into the rack.

Step 2
Connect the ASCII Terminal software to Port 2 (19200 baud rate) and enter

"exit" in order to exit the MVI56-BAS program. The program (running at Port 1)

should exit to DOS prompt.

Step 3
Connect the ASCII Terminal software to Port 1 (19200 baud rate). Change the

current driver from a: to c: by entering "c:" at the DOS prompt. Then, run the SY

program by entering ry "program_name.bas" at the DOS prompt:

At this point you should quickly refer to STEP 4 in order to receive the file before

the sy program timeout (about 30 seconds).
If there are any problems during the file transmission, the message "Send Failed"

will be displayed in the screen.