
MVI56-MCM
♦
ControlLogix Platform
Reference
Modbus Communication Module
Page 122 of 159
ProSoft Technology, Inc.
July 24, 2008
8.8.2 MCMCONFIG
This object contains the data types that apply to the configuration of the module.
Refer to MVI56-MCM Configuration Data Definition (page 111) for a complete
description of each element in this object.
Tag Name
Data Type
Description
ModDef
MCMModule (page
122)
Module Defintion
Port1
MCMPort (page
122)
Port 1 configuration settings
Port2
MCMPort (page
122)
Port 2 configuration settings
Port1MasterCmd
MCMCmd[100]
(page 123)
Master commands for Port 1 (ignore if port is configured
for slave mode)
Port2MasterCmd
MCMCmd[100]
(page 123)
Master commands for Port 2 (ignore if port is configured
for slave mode)
MCMModule
This object contains the information used to define the data movement between
the module and the processor.
Tag Name
Data Type
Description
WriteStartReg
INT
Start reg to transfer from PLC to module
WriteRegCnt
INT
Number of registers to write from PLC
ReadStartReg
INT
Start reg to transfer from module to PLC
ReadRegCnt
INT
Number of registers to transfer from module
BPFail INT Determines module operation if BP fails
0=continue,>0=number of retries before comm shutdown
ErrStatPtr
INT
Internal DB start register for status data (-1=Ignore)
MCMPort
The serial port configuration for the MVI56MCM module.
Tag Name
Data Type
Description
Enabled
INT
0=Port Disabled,1=Port Enabled
Type INT 0=Master, 1=Slave, 2=Slave: pass-through, 3=Slave:
formatted pass-through/data swapped, 4=Slave: form.
pass-through
FloatFlag INT
0=No
floating-point
data, 1=Use floating-point data
FloatStart INT
Register
offset
in message for floating-point data
FloatOffset
INT
Internal DB offset to start of floating-point data
Protocol
INT
0=Modbus RTU, 1=Modbus ASCII
Baudrate
INT
Baudrate for port (110 to 115.2K)
Parity
INT
0=None, 1=Odd, 2=Even, 3=Mark, 4=Space
DataBits
INT
5 to 8 data bits
StopBits
INT
1 or 2 stop bits
RTSOn
INT
0-65535 milliseconds delay before data