MVI56E-MCMR ♦ ControlLogix Platform Ladder Logic
Modbus Communication Module with Reduced Data Block User Manual
ProSoft Technology, Inc. Page 119 of 223
MCMREventCmd
When the command bit (MCMR.CONTROL.EVENTTRIGGERPX) is set in the
example ladder logic, the module will build a block 9901 with the command
contained in the first command of the MCMR.CONTROL.EVENTCMDPX[ ] array.
The module will receive this block and build and send the command to the
specified control device using a MSG block.
The following table describes the data for the command element in the
MCMREVENTCMD array.
0=Disable, 1=Continuous, 2=Event Command
Module’s internal address associated with the
command
Minimum number of seconds between issuance
of command (0 to 65535 Sec)
Number of registers associated with the
command
Swap code used with command
Device index in Device Table to associate with
the command
Function code for the command
Address in device associated with the command
MCMRCmdControl
When the command bit (MCMR.CONTROL.CMDCONTROLPX.CMDTRIGGER) is set
in the example ladder logic, the module will build a block 9901 with the number of
commands set through:
MCMR.CONTROL.CMDCONTROLPX.CMDCONTROLDATA[0].
The command indexes will be set through the controller tags starting from
MCMR.CONTROL.CMDCONTROLPX.CMDCONTROLDATA[1] to
MCMR.CONTROL.CMDCONTROLPX.CMDCONTROLDATA[20]
For example, in order to enable commands 0, 2 and 5 the following values would
be set:
MCMR.CONTROL.CMDCONTROLPX.CMDCONTROLDATA[0] = 3
MCMR.CONTROL.CMDCONTROLPX.CMDCONTROLDATA[1] = 0
MCMR.CONTROL.CMDCONTROLPX.CMDCONTROLDATA[2] = 2
MCMR.CONTROL.CMDCONTROLPX.CMDCONTROLDATA[3] = 5
The module will receive this block and build and send the command to the
specified control device using a MSG block.
The following table describes the data for the command element in
MCMRCMDCONTROL.