Mbs.data, Mbs.control – ProSoft Technology MVI69E-MBS User Manual

Page 88

Advertising
background image

Using Controller Tags

MVI69E-MBS ♦ CompactLogix Platform

User Manual

Communication Module

Page 88 of 162

ProSoft Technology, Inc.

January 6, 2014

5.3.2 MBS.DATA

This structure contains the Read Data and Write Data arrays for processor-to-
module communication.

Tag Name

Description

MBS.DATA.ReadData

Data area copied from the module to the processor. This array
stores the Modbus data coming into the module from the
Modbus network.

MBS.DATA.WriteData

Data area copied from the processor to the module. This array
stores the outgoing data sent from the module to the Modbus
network.

5.3.3 MBS.CONTROL

This array handles special tasks requested by the processor.

5.3.3.1 MBS.CONTROL.PortControl

This array allows port commands to be controlled by the processor.

Tag Name

Range

Description

MBS.CONTROL.PortControl.Set

0 or 1

Sends Port Control to module

MBS.CONTROL.PortControl.Get

0 or 1

Reads Port Control from module

MBS.CONTROL.PortControl.Portx

n/a

Definition of Port x Control

MBS.CONTROL.PortControl.Portx.
Active

0 or 1

Port Control: Disable = 0, Enable = 1

MBS.CONTROL.PortControl.Portx.
CmdEnableBits[x]

0 or 1

Index of command to be controlled.
Example: Command 20 in port 1
command list can be controlled at
CmdEnableBits[1].3 - This is the 20

th

bit offset.

5.3.3.2 MBS.CONTROL.CmdControl

This array allows the processor to dynamically enable configured commands for
execution.

Tag Name

Range

Description

MBS.CONTROL.CmdControl.
CmdControlTrigger

0 or 1

Command Control: Disable = 0, Enable = 1

MBS.CONTROL.CmdControl.
NumberOfCommands

0 to 6

Total number of commands to be executed via
Command Control

MBS.CONTROL.CmdControl.
PortNumber

1 or 2

Port number to be associated with Command
Control function

MBS.CONTROL.CmdControl.
CommandIndex[x]

0 or 1

Command Index of port command [x] to be
enabled. Up to 6 command indexes can be
populated at a time.

Advertising