ProSoft Technology MVI69E-MBS User Manual

Page 89

Advertising
background image

MVI69E-MBS ♦ CompactLogix Platform

Using Controller Tags

Communication Module

User Manual

ProSoft Technology, Inc.

Page 89 of 162

January 6, 2014

5.3.3.3 MBS.CONTROL.EventCmd_DBData

This array allows the processor to dynamically build Modbus commands with
data associated to the MBS database. This feature is meant for periodic
execution such as resetting the clock and zeroing-out counters.

Tag Name

Range

Description

MBS.CONTROL.EventCmd_DBData.
EventCmdTrigger

0 or 1

Toggle to send Event Command.
0 = Disable, 1 = Enable

MBS.CONTROL.EventCmd_DBData.
PortNumber

1 or 2

Port number to be associated with
command Control function

MBS.CONTROL.EventCmd_DBData.
SlaveID

1 to 248

Slave ID of Modbus slave

MBS.CONTROL.EventCmd_DBData.
InternalDBAddress

0 to 9999

Used only if UseModuleDBAddress=1.
MVI69E database address (word address
for functions 3,4,6,16 and bit address for
1,2,5,15)

MBS.CONTROL.EventCmd_DBData.
PointCount

0 to 125

Number of bit/words associated with this
command.

MBS.CONTROL.EventCmd_DBData.
SwapCode

0 to 3

Swap code 0 = no swap, 1 = word swap, 2
= words & byte swap, 3 = byte swap

MBS.CONTROL.EventCmd_DBData.
ModbusFunctionCode

-

Modbus function code (1,2,3,4,5,6,15,or
16)

MBS.CONTROL.EventCmd_DBData.
DeviceDBAddress

0 to 9999

Modbus address of the target slave
database

MBS.CONTROL.EventCmd_DBData.
EventCmdStatusReturned

-

Event status returned by the module

5.3.3.4 MBS.CONTROL.EventCmd_ProcessorData

This array allows the processor to dynamically build Modbus commands with
processor data. This feature is meant for periodic execution such as resetting the
clock and zeroing-out counters.

Tag Name

Range

Description

MBS.CONTROL.EventCmd_ProcessorData.
CmdTrigger

0 or 1

Toggle to send Event Command.
0 = Disable, 1 = Enable

MBS.CONTROL.EventCmd_ProcessorData.
GetStatusTrigger

0 or 1

Toggle to retrieve event status.
0 = Disable, 1 = Enable

MBS.CONTROL.EventCmd_ProcessorData.
PortNumber

1 or 2

Port number to be associated with
command

MBS.CONTROL.EventCmd_ProcessorData.
SlaveAddress

1 to 248

Slave ID of Modbus slave

MBS.CONTROL.EventCmd_ProcessorData.
ModbusFunctionCode

-

Modbus function code (5,6,15,or 16)

MBS.CONTROL.EventCmd_ProcessorData.
DeviceDBAddress

0 to
9999

Modbus address of the target slave
database

MBS.CONTROL.EventCmd_ProcessorData.
PointCount

0 to 125

Number of bit/words associated with
this command.

MBS.CONTROL.EventCmd_ProcessorData.
Data[x]

0 to 49

Data values to be sent to the slave

MBS.CONTROL.EventCmd_ProcessorData.
EventCmdStatusReturned

-

Command status

Advertising