ProSoft Technology MVI56E-LDM User Manual
Page 63

ControlLogix Platform ♦ "C" Programmable
Understanding the MVI56-LDM API
Linux Application Development Module
Developer's Manual
ProSoft Technology, Inc.
Page 57 of 264
March 12, 2014
Ensure that you type the HOST address as one of the two Ethernet ports
available on the MVI56E-LDM (information to access / set IP addresses in the
LDM is discussed later)
1 Launch the sample ladder for the MVI56E-LDM in RSlogix5000. Please
observe that the module is not proceeding with I/O communications. This is
normal. The sample program will initiate backplane communication.
2 To communicate on the MVI56E-LDM, open a serial connection (baud
115200) to the COM port of choice on either of the two computers.
3 To change Ethernet port IP addresses to use the subnets chosen temporarily,
type in the terminal console:
ifconfig eth0 x.x.x.x
where 'x' is your IP address of choice for Ethernet
Port 0.
ifconfig eth1 x.x.x.x
where 'x" is your IP address of choice for Ethernet
Port 1.
4 Navigate to the directory
/psft/sample
.
5 Type the command
./enet_application x.x.x.x
where 'x' is the destination
IP address of the server running TCP Stress Tester.
To initiate external client communication...
On the second computer, select '
Open
' once the Ethernet Communications
sample is running (you may have to click twice depending on your computer).
Once the program is running and both TCP Tester server and client information
is established, data is received through the backplane and to/from the TCP
Stress Testing applications and RSlogix5000. The program modifies the tags
within RSlogix5000 using the sample ladder provided with any string input:
Input Tags: 0-9 are modifiable by the MVI56E-LDM client for the MVI56E-
LDM.
Output Tags: 0-9 are modifiable by the TCP Tester server for the MVI56E-
LDM.
Input Tags: 11-20 are modifiable by the MVI56E-LDM server of the MVI56E-
LDM.
Output Tags: 10-19 are modifiable by the TCP Tester client of the MVI56E-
LDM