![ProSoft MVI56E-GEC User Manual Download Page 61](http://html1.mh-extra.com/html/prosoft/mvi56e-gec/mvi56e-gec_user-manual_1618869061.webp)
MVI56E-GEC ♦ ControlLogix Platform
Reference
Generic ASCII Ethernet Communication Module
User Manual
ProSoft Technology, Inc.
Page 61 of 80
Word offsets 203 and 212 request a new connection for one of the five clients in
the module. The format of this data area is shown in the following table.
Word
Description
203
Client to utilized for connection (10 to 14)
204
Reserved for future use.
205 to 208
IP address of server to which connection will be made. Each word contains one of
the digits of a dotted notation IP address.
209
Service port in server to which connection will be made. This service must be
available in the server for the connection to succeed.
210
Swap Rx data bytes (0 = No, not 0 = Yes)
211
Swap Tx data bytes (0 = No, not 0 = Yes)
212
Client TimeOut value in milliseconds. The client will close the connection with remote
Server after the specified milliseconds once data transfer ceases between the client
and the remote Server. A value of 0 will keep the connection open indefinitely.
Ladder logic is required to transfer this data to the block when a connection is
required. The ladder logic should also clear the area after the connection is
requested. The example ladder logic present in this document presents code to
accomplish these tasks.
Client Control Word Codes
Words 241 to 245 close the connection on one of the clients. The following table
lists the values recognized by the module for these words:
Code
Definition
0
No operation to perform
1
Close the client socket
2
Abort the client socket
Server Control Word Codes
The last two words of the image control the server or the module. The server
control word (word 246) controls the server. The following table lists the values
recognized by the module:
Code
Definition
0
No operation to perform
1
Close socket after transmit operation
2
Abort socket after transmit operation
If a value of 0 is present in the field, the server takes no action. If a value of 1 is
present in the field, the server will gently close the socket after it transmits the
message contained in the block. If a value of 2 is present, the server will send the
message contained in the block and then force the connection closed by sending
a reset message to the client.