beautypg.com

ProSoft Technology MVI56-BAS User Manual

Page 7

background image

MVI56-BAS ♦ ControlLogix Platform

Contents

BASIC Module (DB/BAS Compatible)

User Manual

ProSoft Technology, Inc.

Page 7 of 234

December 13, 2011

Contents

Your Feedback Please ........................................................................................................................ 2

How to Contact Us .............................................................................................................................. 2

ProSoft Technology

®

Product Documentation .................................................................................... 2

Important Installation Instructions ....................................................................................................... 3

MVI (Multi Vendor Interface) Modules ................................................................................................ 3

Warnings ............................................................................................................................................. 3

Battery Life Advisory ........................................................................................................................... 4

Markings .............................................................................................................................................. 4

Guide to the MVI56-BAS User Manual

13

1

Start Here

15

1.1

System Requirements ............................................................................................. 16

1.2

Package Contents ................................................................................................... 17

1.3

Setting Jumpers ...................................................................................................... 18

1.4

Installing the Module in the Rack ............................................................................ 19

1.5

Connecting Your PC to the ControlLogix Processor ............................................... 21

1.6

Using the Sample Ladder Logic .............................................................................. 22

1.6.1

Configuring the RSLinx Driver for the PC COM Port .............................................. 22

1.7

Downloading the Sample Program to the Processor .............................................. 24

1.8

Connecting Your PC to the Module ......................................................................... 25

2

Module Configuration

29

2.1

Installing and Configuring the Module ..................................................................... 29

3

BASIC Programming

33

3.1

The Argument Stack ................................................................................................ 34

3.2

Using CALLs ........................................................................................................... 35

3.3

Using Strings ........................................................................................................... 36

3.4

ControlLogix Processor Interrupt ............................................................................ 37

4

Backplane Data Transfer

39

4.1

Data Transfer from Output Buffer to CLX Processor .............................................. 40

4.2

Data Transfer from CLX Processor to MVI Input Buffer .......................................... 43

5

Using the Program Port (PRT1)

45

5.1

Interfacing the PC and the MVI56-BAS ................................................................... 46

5.2

Creating BASIC programs ....................................................................................... 47

5.3

EDIT Command ....................................................................................................... 50

5.4

Permanently Saving BASIC Programs .................................................................... 51

5.4.1

EPROM File Storage ............................................................................................... 51

5.4.2

Erasing EPROM Programs ..................................................................................... 51

5.4.3

Editing EPROM Programs....................................................................................... 51