ProSoft Technology MVI56-GEC User Manual
Page 77

MVI56-GEC ♦ ControlLogix Platform
Reference
Generic ASCII Ethernet Communication Module
User Manual
ProSoft Technology, Inc.
Page 77 of 108
October 8, 2010
The Block Sequence Number is received on the last read block transfer through
the input image on the module. The ladder logic should copy this value from word
249 of the input image to word 0 of output image in the ladder logic.
Block ID
Description
0 to 65535 Normal data blocks for read and write
Note: This is the last operation performed when constructing the write block. The module’s
program will trigger the Process Write Block function when it recognizes a new value in word 0 of
the output image.
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.