ProSoft Technology MVI56E-MNETC User Manual
Page 121
![background image](https://www.manualsdir.com/files/866122/content/doc121.png)
MVI56E-MNETC ♦ ControlLogix Platform
Reference
Modbus TCP/IP Client Enhanced Communication Module
User Manual
ProSoft Technology, Inc.
Page 121 of 183
February 3, 2013
Block Response from Module to Processor
Word Offset
Description
0
Reserved
1
This word contains the next read request block identification code.
2
This word contains the result of the event request. If a value of one is
present, the command was issued. If a value of zero is present, no room was
found in the command priority queue.
3 to 248
Spare
249
This word contains the block identification code 2000 to 2029 requested by
the processor.
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 MNETC.CONTROL.EventCmd.Cmd[x] 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
Description
IP0
Enter the first octet of the IP address of the target Modbus server.
IP1
Enter the second octet of the IP address of the target Modbus server.
IP2
Enter the third octet of the IP address of the target Modbus server.
IP3
Enter the fourth octet of the IP address of the target Modbus server.
ServPort
Enter 502 for a MBAP message or 2000 for a MNET message.
Node
Enter the Modbus slave node address. Enter 1 to 247. Enter 0 if not
needed.
DBAddress
Enter the module internal database address to associate with the
command.
Count
Enter the number of words or bits to be transferred by the Client.
Swap
Enter the swap code for the data. This function is only valid for
function codes 3 and 4.
Function
Enter the Modbus function code for the command.
Address
Enter the database address for the server.
When these values have been entered, set the bit in
MNETC.CONTROL.EventCmd.Trigger to one (1) to trigger the execution of the
Event Command.