
MVI56E-GSC ♦ CompactLogix or MicroLogix Platform Reference
Enhanced Generic ASCII Serial Communication Module User Manual
ProSoft Technology, Inc. Page 91 of 140
May 9, 2014
Port 2
Number of characters (0 to 200) in Port 2 receive block (255 to 454). If the receive
data in the module is larger than 200 bytes, multiple blocks will be transferred. Any
block with a value of -1 in this field represents the first or continuation block and the
block contains 200 bytes of data. The last block of data will contain a positive
number in this field that represents the number of characters in the last block.
Number of characters transmitted (0 to 200) from last block write Port 2
Port 2 Status
Port 2 receive state:
-1 = Listening for data
1 = Receiving Port Data
2 = Waiting for Backplane transfer
Port 2 receive character count
Port 2 receive block count
Port 2 transmit state:
0 = Waiting for Data to Send
1 = RTS On
2 = RTS Timeout
3 = Sending data
4 = Waiting for RTS Off
5 = RTS turned off
30 = Intercharacter Delay
31 = Intercharacter Delay
32 = Intercharacter Delay
100 = Message Delay before Transmit
101 = Message Delay before Transmit
Port 2 transmit character count
Port 2 transmit block count
Block Sequence Number (Bumped each scan by module)
The Block Sequence Number (byte 499) is an index value used to signal to the
ControlLogix processor that a new block is ready for ladder logic processing. The
ladder logic must recognize a change in this value and process the data
encapsulated in the input image.
The read block contains the data received on each port and status data for each
port. The two word-length values at bytes 1 & 2 (Port 1 Receive Length) and 251
& 252 (Port 2 Receive Length) define the number of bytes in this input image to
be processed by the ladder logic for each port. Received data for the ports are
found starting at byte 5 for Port 1and 255 for Port 2.
Comentarios a estos manuales