
Reference MVI56-MCM
♦
ControlLogix Platform
Modbus Communication Module
ProSoft Technology, Inc.
Page 121 of 159
July 24, 2008
8.7
MVI56-MCM Command Control
Command Control data is received from other nodes on the network that can
control the MVI56-MCM module. Specific values are written to regions of this
block to control the module. Currently, the module is programmed to handle the
receipt of the following requests: write configuration to processor, warm boot and
cold boot.
The remote node controls the module by writing one of the following values to
register 7800 (Modbus address 47801):
9997
Write configuration in database to the processor and warm boot the module.
9998
Warm boot the module.
9999
Cold boot the module.
The control register is cleared (a value of 0) after the operation is executed with
the exception of the 9997 command. If the module fails to successfully transfer
the configuration to the processor, an error code will be returned in the control
register as follows:
0
No error, transfer successful
-1
Error transferring general configuration information.
-2
Error transferring Modbus Port 1 master command list
-3
Error transferring Modbus Port 2 master command list
Ladder logic must handle the 9997 command. No ladder logic is required when
using the warm or cold boot commands.
8.8
MVI56-MCM User Defined Data Types
8.8.1 MCMModuleDef
This object contains the data types that apply to the operation of the module.
Tag Name
Data Type
Description
CONFIG
MCMCONFIG
(page 122)
Module and port configuration
DATA
MCMDATA
(page 123)
Modbus data transferred between module and processor
STATUS
MCMSTATUS
(page 124)
Status information in each read block
CONTROL
MCMCONTROL
(page 125)
Optional requests from the processor to the module
_UTIL
_Util (page 125) Variables for internal ladder usage - should not be
accessed by user application