ProSoft Technology MVI56E-LDM User Manual
Page 5

ControlLogix Platform ♦ "C" Programmable
Contents
Linux Application Development Module
Developer's Manual
ProSoft Technology, Inc.
Page 5 of 264
March 12, 2014
Contents
Your Feedback Please ........................................................................................................................ 2
Important Installation Instructions ....................................................................................................... 2
MVI (Multi Vendor Interface) Modules ................................................................................................ 2
Warnings - MVI56E-LDM .................................................................................................................... 2
1
LDM Introduction
4
2
Preparing the MVI56E-LDM Module
6
2.1
System Requirements ............................................................................................... 6
2.2
Package Contents - LDM .......................................................................................... 7
2.3
Recommended Compact Flash (CF) Cards .............................................................. 7
2.4
Jumper Locations and Settings ................................................................................. 7
2.4.1
Setup Jumper - MVI56E ............................................................................................ 8
2.4.2
Port 1 and Port 2 Jumpers MVI56E .......................................................................... 8
2.5
Setting Up a Connection with the Module ................................................................. 8
2.5.1
Installing the Module in the Rack .............................................................................. 9
2.5.2
Making Configuration Port Connections .................................................................. 10
2.6
Enabling and Disabling the Console Port................................................................ 15
2.7
Establishing Module Communication ...................................................................... 18
2.8
Module Rescue ....................................................................................................... 21
3
Development Environment
23
3.1
Setup ....................................................................................................................... 23
3.2
Using Eclipse ........................................................................................................... 27
3.2.1
Building a Project .................................................................................................... 27
4
Understanding the MVI56-LDM API
33
4.1
API Library - MVI56E ............................................................................................... 33
4.1.1
Header File .............................................................................................................. 33
4.1.2
Sample Code ........................................................................................................... 33
4.1.3
Specifying the Communications Path ..................................................................... 34
4.1.4
ControlLogix Tag Naming Conventions .................................................................. 34
4.2
MVI56E-LDM Development Tools ........................................................................... 35
4.3
CIP API Functions ................................................................................................... 36
4.4
Backplane Device Driver ......................................................................................... 36
4.5
Sample Code ........................................................................................................... 38
4.6
Establishing a Console Connection ........................................................................ 39
4.7
Physically Connect to the Module ........................................................................... 40
4.8
Configuring Serial Communication .......................................................................... 41
4.9
Setting Up the ControlLogix 5000 ........................................................................... 43
4.10
Sample Tutorials ..................................................................................................... 45
4.11
Ethernet Sample ...................................................................................................... 46
4.12
Serial Sample .......................................................................................................... 49
4.13
Led_Sample ............................................................................................................ 50
4.14
Backplane_Sample ................................................................................................. 51