ProSoft Technology MVI69E-LDM User Manual
Page 58

Contents
MVI69E-LDM ♦ "C" Programmable
Developer's Manual
Linux Application Development Module
Page 58 of 130
ProSoft Technology, Inc.
August 21, 2014
The following diagram shows the multi-threading hierarchy. All threads (excluding the main
thread) can be removed/disabled and the sample will continue to function as directed,
excluding the functionality of the removed thread and any child threads associated with it.
4.3.2 Serial Application
You cannot run this sample if Backplane_Sample is running. Backplane_Sample runs by
default during startup. To run the serial_application sample, you must kill the
Backplane_Sample script. See the section entitled "Important Module Startup Information -
Please Read" for information on how to kill or change the Backplane_Sample script.
The Serial_Application shows an example of how you can use the LDM module to
communicate to an end device to transmit/receive ASCII strings from the CompactLogix
processor through the backplane to the LDM module on the bottom serial port (default
application port). This same sample program:
Streams ASCII data into the module from the end device on the same serial port.
Sends the data to the backplane to the controller tags of the CompactLogix.
Sends out the 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.