MVI46-PDPS ♦ SLC Platform
Ladder Logic
Profibus DP Slave Communication Module
User Manual
ProSoft Technology, Inc.
Page 20 of 53
3
Ladder Logic
In This Chapter
Module Data .......................................................................................... 20
Adding the Module to an Existing Project .............................................. 20
Ladder logic is required for the MVI46-PDPS module to operate. Tasks that must be
handled by the ladder logic are module data transfer, special block handling, and status
data receipt. Additionally, a power-up handler may be needed to handle the initialization
of the module’s data and to clear any processor fault conditions.
The sample ladder logic is extensively commented, to provide information on the
purpose and function of each rung. For most applications, the sample ladder will work
without modification.
3.1
Module Data
All data related to the MVI46-PDPS module is stored in user defined data files and the
module’s M1 file. Additionally, a file should be defined to hold the module status data.
The status data should be copied from the M1 file and placed in the assigned status file.
Input (monitor) data should be copied from the user file to the M1 file and output
(command) data should be copied from the user files to the M1 file.
3.2
Adding the Module to an Existing Project
1
Double-click
I/O
C
ONFIGURATION
in the
Controller Organization
window.