![ProSoft MVI56E-MNETCR User Manual Download Page 112](http://html1.mh-extra.com/html/prosoft/mvi56e-mnetcr/mvi56e-mnetcr_user-manual_1618871112.webp)
Reference
MVI56E-MNETCR ♦ ControlLogix Platform
User Manual
Modbus TCP/IP Multi-Client Enhanced Communications Module for Remote Chassis
Page 112 of 161
ProSoft Technology, Inc.
Word Offset
Description
9
Swap Code
- The parameter specifies the swap type for the data. This function
is only valid for function codes 3 and 4.
10
Modbus Function Code
- This word contains the Modbus function code for the
command.
11
Device Database Address
- This word contains the Modbus address in the
slave device to be associated with the command.
12 to 41
Spare
The module will use the parameters passed in this block to construct the
command. The module then places the command in the command priority queue
(if the queue is not already full; maximum capacity is 16 commands), and returns
a response block to tell the ladder logic whether or not the command has been
successfully added to the queue.
Block Response from Module to Processor
Word Offset
Description
Length
0
Write Block ID
1
1
0=Fail, 1=Success
1
2 to 40
Spare
39
41
2000 to 2029
1
Word 2 of the block can be used by the ladder logic to determine if the command
was successfully added to the command priority queue. The command will fail if
the queue for the Client is already full at the time when the Event Command
block is received by the module.
Controller Tags
The elements of the
MNETCR.CONTROL
controller tag array contain all the
values needed to build one Modbus TCP/IP command, have it sent to a specific
Client on the module, and control the processing of the returned response block.
Controller Tag
Data Type
Description
EventCmdTrigger
BOOL
When all other values have been entered, set this bit to
one (
1
) to trigger the execution of the Event Command.
EventCmdPending
BOOL
Temporary variable used to prevent a new Event
Command block from being sent to the module until the
previously sent Event Command block has been
completely processed and a response block has been
returned.
ClientID
INT
Enter the Client to issue the command to (
0
to
29
)
EventCmd.IP0
INT
Enter the first digit of the destination server's IP address
EventCmd.IP1
INT
Enter the second digit of the destination server's IP
address
EventCmd.IP2
INT
Enter the third digit of the destination server's IP
address
Summary of Contents for MVI56E-MNETCR
Page 4: ......