Write block – ProSoft Technology MVI71-GSC User Manual
Page 55

Reference MVI71-GSC
♦ PLC Platform
Generic Serial Communication Module
ProSoft Technology, Inc.
Page 55 of 82
January 31, 2008
Port 2 Status
Word Offset
Description
220
Port 2 receive state:
-1 = Listening for data
1 = Receiving Port Data
2 = Waiting for Backplane transfer
221
Port 2 receive character count
222
Port 2 receive block count
223
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
224
Port 2 transmit character count
225
Port 2 transmit block count
226
Port 2 error word
Note: A block may contain status data for one port and receive data for another port.
Write Block
These blocks of data transfer information from the PLC processor to the module.
The structure used with the BTR/BTW interface is shown below:
Word Offset Description
0
Block Sequence Number (Read block number as set by module) (0 to
127)
1
Intercharacter delay for this message (milliseconds between
characters)
2
Number of characters to transmit on Port 1 (0 to 50)
Port 1
3 to 27
Port 1 data to transmit (50-byte data area)
28
Intercharacter delay for this message (milliseconds between
characters)
29
Number of characters to transmit on Port 2 (0 to 50)
Port 2
30 to 54
Port 2 data to transmit (50-byte data area)
55 to 63
Reserved