MVI69-GEC ♦ CompactLogix or MicroLogix Platform
Contents
User Manual
ProSoft Technology, Inc.
Page 69 of 86
February 18, 2014
Word 63 is utilized to control the module. The following commands are recognized by the
module as displayed in the following table.
Code
Definition
0
No operation to perform
-1
Warm boot module
-2
Cold boot module
-30
Close server 0
-31
Close server 1
-32
Close server 2
-33
Close server 3
-34
Close server 4
The module performs the action specified in the command control word.
Special Block: Structure of Client Connection Request Data
Word
Offset
Description
0
Block Sequence Number (Read block number as set by module)
1
Client to utilized for connection (10 to 14)
2
Reserved for future use.
3 to 6
IP address of server to which connection will be made. Each word contains one of
the digits of a dotted notation IP address.
7
Service port in server to which connection will be made. This service must be
available in the server for the connection to succeed.
8
Swap Rx data bytes (0 = No, not 0 = Yes)
9
Swap Tx data bytes (0 = No, not 0 = Yes)
10
Client TimeOut value in milliseconds. The client will close the connection with remote
Server after the specified milliseconds once there is no data transfer between the
client and the remote Server. A value of 0 will keep the connection open indefinitely.
11 to 62
Not used for this block of data
63
The Module/Client control word contains a value of -100 for this special block.
Handling Multiple Blocks
An important concept to understand about the MVI69-GEC module is how multiple blocks
are handled.
The buffer size supports 4096 bytes (2048 words), but the module can only send 110 bytes
(55 words) at each scan to the processor. For example, if a device sends a message that
contains 550 bytes (225 words) to the module, it will break it down to five blocks of 110
bytes (55 words). The first four blocks will set the number of characters parameter to -1,
indicating that each block is part of the same message. The last block will have the number
of characters parameter set to 110, indicating that there are no more blocks from that
message.