Special functions and controls (dfcm.control), 5 special functions and controls (dfcm.control) – ProSoft Technology MVI56-DFCM User Manual
Page 43

MVI56-DFCM ♦ ControlLogix Platform
Ladder Logic
DF1 Half/Full Duplex Master/Slave Serial Communication Module
User Manual
ProSoft Technology, Inc.
Page 43 of 106
September 24, 2014
3.5
Special Functions and Controls (DFCM.CONTROL)
The DFCMCONTROL object encapsulates and organizes variables and
parameters for several special module functions, as well as slave polling control.
Name
Data Type
Description
WarmBoot
BOOL
Warm Boot Trigger Bit
ColdBoot
BOOL
Cold Boot Trigger Bit
BootTimer
TIMER
Boot Timer
CmdControl
DFCMCmdControl
Allows a command that is disabled in
the command list to be sent to a
slave device
TriggerCmdControl
BOOL
Trigger Command Control. User
application will activate this trigger.
NumberOfCommands
INT
Number of Command Indexes per
CmdCtrl block, (1 to 6)
PortNumber
INT
MIV56-DFCM Port Number of Master
Port, 1 or 2
CommandIndex
INT[6]
Stores the command indexes for
command control
CmdsAddedToQueue
INT
Number of commands added to the
queue
CmdControlBlockID
UNT
Temporary variable to calculate
Control Block ID
CmdCtrlPending
BOOL
Auxilary Control Command -
prevents a second request before
acknowledge is sent
EventCmd
DFCMEventCmd
Allows a Command defined in ladder
to be sent to a device
EventCmdTrigger
BOOL
Trigger for event command. User
ladder must set this bit to initiate
event command
EventCmdPending
BOOL
Set after the ladder has sent an
event cmd to the module and is
waiting for the status to be returned
PortNumber
INT
Module Master port number
associated to this request (1 or 2)
InternalDBAddress
INT
Internal database address
PointCount
INT
Number of points for this command
SwapCode
INT
Swap code (0= no swap, 1=swap
words, 2=swap words and bytes,
3=swap bytes)
SlaveAddress
INT
Slave target modbus address
FunctionCode
INT
Function Code
Parameter1
INT
First Parameter for the function
Parameter2
INT
Second Parameter for the function
Parameter3
INT
Third Parameter for the function