ProSoft Technology MVI69L-MBS User Manual

Page 84

Advertising
background image

Using Controller Tags

MVI69L-MBS ♦ CompactLogix Platform

User Manual

Communication Module

Page 84 of 154

ProSoft Technology, Inc.

January 6, 2014

5.4.3.3 MBS.CONTROL.EventCmd_DBData

This array allows the processor to dynamically build Modbus commands (for
periodic use) with data associated to the MBS database.

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

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 479 or

0 to 3839
(bit-level)

Used only if UseModuleDBAddress=1.
Allowable range is 0 to 479 for Modbus
Function Codes 3, 4, 6, or 16, and 0 to
3839 for Function Codes 1, 2, 5, or 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.4.3.4 MBS.CONTROL.EventCmd_ProcessorData

This array allows the processor to dynamically build Modbus commands (for
periodic use) with processor data.

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

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

MBS.CONTROL.EventCmd_ProcessorData.
Port1Status

-

Port 1 Status array

MBS.CONTROL.EventCmd_ProcessorData.
Port1Status.Status

-

Status code (Check error code listings
on page 101)

MBS.CONTROL.EventCmd_ProcessorData.
Port1Status.LastError

-

Last error code

Advertising