ProSoft Technology MVI56E-MCM/MCMXT User Manual

Page 159

Advertising
background image

MVI56E-MCM ♦ ControlLogix Platform

Reference

Modbus Communication Module

User Manual

ProSoft Technology, Inc.

Page 159 of 199

June 18, 2014

CmdControl

Name

Data Type

Description

TriggerCmdCntrl

BOOL

Trigger command control. User application will
activate this trigger

NumberOfCommands

INT

Number of commands per block (1 to 6)

PortNumber

INT

MVI56-MCM Port Number of master port (1 or
2)

CommandIndex

INT[6]

Stores the command indexes for command
control

CmdsAddedToQueue

INT

Number of commands added to queue

CmdControlBlockID

INT

Temporary variable to calculate control block
ID

CmdCntrlPending

BOOL

Auxiliary control command - prevents a second
request before acknowledgment is received

EventCmd

Name

Data Type

Description

EventCmdTrigger

BOOL

Trigger for event command. User ladder must
set this bit to initiate event command

EventCmdPending

BOOL

Set after the ladder has sent an event cmd to
the module and is waiting for the status to be
returned

PortNumber

INT

Module master port number associated to this
request (1 or 2)

SlaveAddress

INT

Modbus slave node address

InternalDBAddress

INT

Internal database address

PointCount

INT

Number of points for this command

SwapCode

INT

Swap code (0= no swap, 1=swap words,
2=swap words and bytes, 3=swap bytes)

ModbusFunctionCode

INT

Modbus function code

DeviceDBAddress

INT

Modbus register address within slave

EventCmdStatusReturned

INT

(0=Fail, 1=Success)

EventBlockID

INT

Temporary variable to calculate event block ID

SlavePollStatus

This object contains all of the Slave Polling status (when the port is used as a
Master).

Tag Name

Data Type

Description

Port1Slave0Read

BOOL

Port1Slave128Read

BOOL

Port2Slave0Read

BOOL

Port2Slave128Read

BOOL

P1Slaves

INT[256]

P1 Slave Status

Advertising