ProSoft Technology MVI56-DFCM User Manual
Page 44

Ladder Logic
MVI56-DFCM ♦ ControlLogix Platform
User Manual
DF1 Half/Full Duplex Master/Slave Serial Communication Module
Page 44 of 106
ProSoft Technology, Inc.
September 24, 2014
Name
Data Type
Description
Parameter4
INT
Fourth Parameter for the function
EventCmdStatusReturned
INT
(0=Fail, 1=Success)
EventBlockID
INT
Temporay variable to calculate event
block ID
SlaveControl
DFCMSlaveControl Control Slave Polling for Slave
Status
TriggerSlaveControl
BOOL
Trigger to Enable or Disable Slaves
PortNumber
INT
Slave Address
NumberOfSlaves
INT
Number of Slaves
BlockNumber
INT
Block ID number
SlaveIndexes
INT[200]
Slave Indexes
NumberOfSlavesProcessed
INT
Number of Slaves processed
EnableSlaves
BOOL
Set 0 to Disable or 1 to Enable
Slaves
Port1Slave0Read
BOOL
Trigger to poll slave status
Port1Slave128Read
BOOL
Trigger to poll slave status
Port2Slave0Read
BOOL
Trigger to poll slave status
Port2Slave128Read
BOOL
Trigger to poll slave status
ModuleTime
DFCMModuleTime Allows setting Module Time
Year
INT
Year (0 to 9999)
Month
INT
Month (1 to 12)
Day
INT
Day (1 to 31)
Hour
INT
Hour (0 to 23)
Minutes
INT
Minute (0 to 59)
Seconds
INT
Second (0 to 59)
GetModuleTime
BOOL
Trigger to read module time
SetModuleTime
BOOL
Trigger to set module time
Two arrays are allocated in the DFCM.STATUS object 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, which are in communication error,
or which 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, using the SlaveControl object in this user-defined data type.
Using special blocks, the processor can request current polling status for the
slaves. Through the use of other blocks, the processor can enable or disable the
polling of selected slaves.