Module data object (dfcmmoduledef) – ProSoft Technology MVI56-DFCMR User Manual

Page 41

Advertising
background image

Ladder Logic

MVI56-DFCMR ♦ ControlLogix Platform

DF1 Interface Module with Reduced Data Block

ProSoft Technology, Inc.

Page 41 of 113

October 20, 2008

Note: You must place a value in the DFCM1.Port[x].MapCnt in order for this parameter to be used.
If the DFCM1.Port[x].MapCnt is set to a value of 0, default addressing will be used.

3.2

Module Data Object (DFCMModuleDef)

All status and variable data related to the MVI56-DFCMR is stored in a user
defined data type. An instance of the data type is required before the module can
be used. This is done by declaring a variable of the data type in the Controller
Tags Edit Tags dialog box. The object has the following structure.

Name Data

Type Description

ModDef DFCMModule Backplane

operation

characteristics

Port

DFCMPort[2]

MB settings for each port

P1Cmd DFCMCmd[100]

Master Command List for Port 1

P2Cmd DFCMCmd[100]

Master Command List for Port 2

InStat

DFCMInStat

Status information in each read block

ReadData

INT[600]

Data read from module

WriteData

INT[600]

Data to write to module

BP

DFCMBackplane

Data to handle backplane logic

P1Slaves

INT[256]

Port 1 slave status values

P2Slaves

INT[256]

Port 2 slave status values

P1DataFileMap

DFCMDataFileMap[50] Port 1 Data File Mappings

P2DataFileMap

DFCMDataFileMap[50] Port 2 Data File Mappings

This object contains objects that define variables to be used with the module and
status data related to the module. Each of these object types is discussed in the
following topics of the document.

Advertising