ProSoft Technology MVI56E-MNETC User Manual
Page 126

Guide to the MVI56E-MNETC User Manual
MVI56E-MNETC ♦ ControlLogix Platform
User Manual
Modbus TCP/IP Client Enhanced Communication Module
Page 126 of 183
ProSoft Technology, Inc.
February 3, 2013
The Event Command Sequence Number is the identifier for 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
Reserved
1
1
The next read request block identification code.
1
2
The result of the event request. 1 indicates the command
was issued. 0 indicates no room was found in the command
priority queue.
1
3 to 248
Reserved
246
249
The block identification code 4000 to 4029 requested by the
processor.
1
Controller Tags
The elements of the MNETC.CONTROL.EventSeqCmd[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.
Sequence
Enter the sequence number for the command.
When these values have been entered, set the bit in
MNETC.CONTROL.EventSeqCmd.Trigger to one (1) to trigger the execution of
the Event Command.