ProSoft Technology MVI56E-LDM User Manual
Page 67

ControlLogix Platform ♦ "C" Programmable
Understanding the MVI56-LDM API
Linux Application Development Module
Developer's Manual
ProSoft Technology, Inc.
Page 61 of 264
March 12, 2014
4.18 Serial Application Sample
Serial_Application shows an example of how the LDM module can be used to
communicate to an end device to transmit/receive ASCII strings from the
ControlLogix5000 processor through the backplane to the LDM module on the
bottom serial port (default application port). This same sample program will
stream ASCII data into the module from the end device on the same serial port
and send the data to the backplane to the controller tags of the ControlLogix.
Send out number of bytes entered in Write_Byte_Cnt Controller tag continuously
after the Serial_App_Sample_WriteTrigger tag has been triggered from the
default application port.
Streams in ASCII data from the end device into the Controller tag Local:1:I.Data.
Note: Use HyperTerminal or a similar program to perform the following steps.
Open HyperTerminal.
Enter a name and choose an icon for the connection.