ProSoft Technology MVI69E-LDM User Manual

Page 5

Advertising
background image

MVI69E-LDM ♦ "C" Programmable

Contents

Linux Application Development Module

Developer's Manual

ProSoft Technology, Inc.

Page 5 of 130

August 21, 2014

Contents

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

Important Installation Instructions ....................................................................................................... 2

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

Warnings, Specification, and Certifications ........................................................................................ 3

1

Preparing the MVI69E-LDM Module

9

1.1

MVI69E-LDM Introduction ......................................................................................... 9

1.2

System Requirements ............................................................................................. 10

1.3

Package Contents ................................................................................................... 11

1.4

Jumper Locations and Settings ............................................................................... 11

1.4.1

Setup Jumper .......................................................................................................... 12

1.4.2

Port 1 and Port 2 Jumpers ...................................................................................... 12

1.5

Installing and Connecting the Module ..................................................................... 12

1.5.1

Installing the Module in the Chassis ........................................................................ 13

1.5.2

Making Configuration Port Connections .................................................................. 16

1.5.3

Enabling and Disabling the Console Port................................................................ 20

1.6

Establishing Module Communications .................................................................... 24

1.7

Resetting the Module .............................................................................................. 27

1.8

Important Information Before Development ............................................................ 29

2

Development Environment

31

2.1

Setup ....................................................................................................................... 31

2.2

Starting Eclipse ....................................................................................................... 34

2.2.1

Building a Project .................................................................................................... 34

2.2.2

Compiling and Linking ............................................................................................. 35

2.2.3

Downloading the Application with FTP .................................................................... 36

2.2.4

Creating an Application Image ................................................................................ 36

2.2.5

Downloading the Image with Firmware Update ...................................................... 37

3

Understanding the MVI69E-LDM API

39

3.1

API Library ............................................................................................................... 39

3.1.1

Header File .............................................................................................................. 39

3.1.2

Sample Code ........................................................................................................... 39

3.1.3

CompactLogix Tag Naming Conventions ................................................................ 39

3.2

MVI69E-LDM Development Tools ........................................................................... 40

3.3

CIP API Architecture ............................................................................................... 41

3.4

Backplane Device Driver ......................................................................................... 42

4

Sample Code

43

4.1

Establishing a Console Connection ........................................................................ 44

4.1.1

Physically Connect to the Module ........................................................................... 44

4.1.2

Configuring Serial Communication .......................................................................... 44

4.1.3

Setting Up ControlLogix 5000 ................................................................................. 45

4.2

Sample Tutorials ..................................................................................................... 46

Advertising