beautypg.com

2 command control data object (mnetccontrol) – ProSoft Technology MVI56E-MNETCR User Manual

Page 74

background image

Ladder Logic

MVI56E-MNETCR ♦ ControlLogix Platform

User Manual

Modbus TCP/IP Multi Client Enhanced Communications Module for Remote Chassis

Page 74 of 159

ProSoft Technology, Inc.

June 14, 2011

3.1.2 Command Control Data Object (MNETCCONTROL)

Values used by program for data transfer operation between the module and the
processor.

Name

Data Type

Description

BootTimer

TIMER

Timer used to clear both cold and warm
boot requests

WarmBoot

BOOL

Hardware reset of the Module

ColdBoot

BOOL

Configuration data reset in the Module

EventCmdTrigger

BOOL

Initiates Event Command.

EventCmdPending

BOOL

Allows Event Command.

ClientID

INT

Client ID to poll a server with the Event
Command.

EventCmd

MNETCREVENTCMD
(page 74)

Holds Event Command configuration

CmdControl

MNETCRCMDCONTROL
(page 75)

Holds Command Control status

CmdControlTrigger

BOOL

Initiates Command Control.

CmdControlPending

BOOL

Halts rung until Module is ready

IPAddress

MNETCRIPADDRESS
(page 75)

IP address statistics including triggers

WriteCmdBits

INT[30]

Selects individual clients to to activate its
commands.

Event Command Data Object (MNETCREVENTCMD)
The Event object is not placed in the module definition object and is only required
when event commands are utilized in the application. This structure holds the
information required for an event command. An array of these objects should be
defined and hold the event command set to be employed in the application. The
following illustration shows the structure of the object.

Name

Data Type

Description

IP0

INT

First digit of IP address

IP1

INT

Second digit of IP address

IP2

INT

Third digit of IP address

IP3

INT

Last digit of IP address

ServPort

INT

TCP Service Port number (0-65535), 502 for MBAP,
2000 for MNET

SlvAddrNode

INT

Modbus slave node address (0 to 247)

DBAddress

INT

Module internal database to use with message

Count

INT

Register or data point count

Swap

INT

Swap code to use with functions 3 and 4

MBFunction

INT

Modbus function code for message

Address

INT

Address to interface with in device