
Ladder Logic
MVI56E-MNETR ♦ ControlLogix Platform
User Manual
Modbus TCP/IP Interface Module with Reduced Data Block
Page 84 of 175
ProSoft Technology, Inc.
June 14, 2011
3.1.3 MNETRCONTROL
Contains the data structure required for the processor to request special tasks
from the module. The command control task allows the processor to dynamically
enable commands configured in the port command list. The event command task
allows the processor to dynamically build any commands to be sent by the MNET
Client to a remote Server.
The following table describes the structure of this object.
Name
Data Type
Description
BootTimer
TIMER
Timer to clear warmboot and coldboot
WarmBoot
BOOL
Triggers a Cold Boot Command
ColdBoot
BOOL
Triggers a Warm Boot Command
EventCmdTrigger
BOOL
Triggers the Event Command.
EventCmd
MNETREVENTCMD (page
84)
This object contains the attributes to define a
Master command. An array of these objects is
used for each port.
CmdControl
MNETRCMDCONTROL
(page 85)
Controls the execution of the commands listed
in the configuration under the [MNET Client 0
Commands] section.
PassThru
MNETRPASSTHRU (page
86)
Transfers a remote Client’s commands
through the MNETR Module straight into the
Processor’s Controller tags.
IPAddress
MNETIPADDRESS (page
86)
Getting and Setting IP address to and from
Module
MNETREVENTCMD
The
MNETREVENTCMD
structure holds the information required for an event
command. An array of this object should be defined and should hold the event
command set to be employed in the application. The following table describes
the structure of this 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
Node
INT
Modbus slave node address (0 to 247)
DBAddress
INT
Module internal database for message
Count
INT
Register or data point count
Swap
INT
Swap code for functions 3 and 4
Function
INT
Modbus function code for message
Address
INT
Address to interface with in device
Result
INT
Shows the result of the event that was sent