![ProSoft MVI56E-GEC User Manual Download Page 60](http://html1.mh-extra.com/html/prosoft/mvi56e-gec/mvi56e-gec_user-manual_1618869060.webp)
Reference
MVI56E-GEC ♦ ControlLogix Platform
User Manual
Generic ASCII Ethernet Communication Module
Page 60 of 80
ProSoft Technology, Inc.
Words 236 to 240 are used for server socket control. If the server socket is
established and the user sets the value in the appropriate word to 1, the server
state will be changed to 1003 (new server state) and will abort the socket
immediately. It will then reopen the socket to wait for a new connection. These
words should be set to zero when no operation is required.
Word 1 of the block contains one of the following values:
Value
Description
-1
No transmit data in block
0
Server 0 data in block
1
Server 1 data in block
2
Server 2 data in block
3
Server 3 data in block
4
Server 4 data in block
10
Client 0 data in block
11
Client 1 data in block
12
Client 2 data in block
13
Client 3 data in block
14
Client 4 data in block
If the word is set to a value of -1, there is no data in the message. A value of 0 to
4 will cause the enclosed message to be sent to the server if the message length
is set to a value other than zero and the server has an open connection. A value
of 10 to 14 will cause the enclosed message to be sent to the client if a message
length is set to a value other than zero. Word 2 of the block defines the length of
data in the block.
Up to 400 bytes of data can be sent in each block starting at word offset 3 in the
block. If the message to be sent to a server is longer than 400 bytes, multiple
blocks are required. If more than 400 bytes are required to send, the message
length field (Word Offset 2) should be set to a value of -1 and 400 bytes of data
should be placed in the block. When 400 or fewer bytes remain to be sent, the
message length field should be set to that value and the remaining data placed in
the block. The client or server will accept messages up to a length of 4096 bytes.
If a message longer than 4096 bytes is sent to a server, a transmit overflow error
will be recorded and the message will be sent when 4096 bytes are received.
The remaining part of the message will be sent as it is received.