ProSoft Technology MVI69-DFCM User Manual

Page 37

Advertising
background image

Ladder Logic

MVI69-DFCM ♦ CompactLogix or MicroLogix Platform

DF1 Interface Module

ProSoft Technology, Inc.

Page 37 of 117

November 3, 2008

3.1.3 Slave Polling Control and Status

Two arrays are allocated in the processor to hold the polling status of each slave
on the master ports. This status data can be used to determine which slaves are
currently active on the port, are in communication error or have their polling
suspended and disabled. Ladder logic in the processor can be written to monitor
and control the status of each slave on a master port. The objects used are
displayed below:

3.1.4 DFCM

Slave

Polling

Control (DFCMSlavePollingControl)

This user-defined data type sends the Enable/Disable blocks to control the slave
polling with blocks 3000, 3001, 3100 or 3101.

Name Data

Type

Description

NumberOfSlaves INT

SlaveID INT[60]

3.1.5 Event Command (DFCMEventCommand)

This data type issues event commands to the modules using blocks 1000 and
2000.

Name Data

Type

Description

InternalAddress INT

Count INT

Swap INT

NodeAddress INT

FunctionCode INT

Parameter INT[4]

3.1.6 Command Control (DFCMCommandControl)

This data type issues command control commands to the module using blocks
5000 to 5006 or 5100 to 5106.

Name Data

Type

Description

CommandIndex INT[6]

CommandsAdded INT

3.1.7 Clock

(DFCMClock)

Reading or writing date and time is performed by filling in the date and time and
passing between the processor and module. See data type below.

Name Data

Type

Description

Year INT

Month INT

Day INT

Advertising