2
Functional Overview
This section provides a functional overview of the MVI69-DFCM module. A thorough
understanding of the information contained in this document is required for successful
implementation of the module in a user application. If you are not familiar with the data
transfer and DF1 protocol operations, read this document before setting up the module.
2.1 General Concepts
The following discussion covers several concepts that are key to understanding the
operation of the MVI69-DFCM module.
2.1.1 Module Power Up
•
On power up the module begins performing the following logical functions:
•
Initialize hardware components
o
o
o
•
Read module configuration from the Compact Flash
•
Initialize Module Register space
•
Enable Slave Driver on selected ports
•
Enable Master Driver on selected ports
Once this initialization procedure is complete, the module will begin communicating with
other nodes on the network, depending on the configuration.
2.1.2 Main Logic Loop
Upon completing the power up configuration process, the module enters an infinite loop
that performs the following functions:
ProSoft Technology, Inc.
MVI69-DFCM User Manual
June 24, 2004
Initialize CompactLogix backplane driver
Test and Clear all RAM
Initialize the serial communication ports
From Power Up Logic
From Power Up Logic
Call I/O Handler
Call I/O Handler
Call Cfg/ Dbg Port
Call Cfg/ Dbg Port
Call Cfg/ Dbg Port
Driver
Driver
Driver
Call DF1
Call DF1
Call DF1
Driver
Driver
Driver
Call I/O Handler
Call I/O Handler
- Trans fers data between module and processor
- Trans fers data between module and processor
(user, status, configuration, etc.)
(user, status, configuration, etc.)
Call Serial Port Driver (Configuration/Debug Port)
Call Serial Port Driver (Configuration/Debug Port)
- Rx and Tx buffer routines are interrupt driven
- Rx and Tx buffer routines are interrupt driven
- Call to serial port routines checks to see if there is any data
- Call to serial port routines checks to see if there is any data
in the buffer, and depending on the value will either service
in the buffer, and depending on the value will either service
the buffer or wait for more characters
the buffer or wait for more characters
Call DF1 Driver
Call DF1 Driver
- If DF1 Master Port, poll slaves using command list
- If DF1 Master Port, poll slaves using command list
- If DF1 Slave Port, respond to commands received
- If DF1 Slave Port, respond to commands received
Functional Overview
3
Need help?
Do you have a question about the MVI69-DFCM and is the answer not in the manual?