Functional Overview
S3964R
♦
ProLinx Gateway
Driver Manual
Siemens 3964R Protocol
ProSoft Technology, Inc.
Page 49 of 64
April 14, 2009
Word
Value
Description:
0
4
In this example, the Receive Sequence Number will increment from 3
to 4 when the DB-FETCH message data has arrived. When this
location changes values, then it signals that new message data has
been received from the 3964R Communication Partner.
1
X
Transmit Sequence number. This number will not change when a DB-
FETCH message has been received from the 3964R Communication
Partner.
2
0
Reserved.
3
0
Error Code. This error code should be monitored continuously because
sometimes it might take awhile for a communication error to occur
depending on timeout values and the type of error.
4
11
Number of data words in this message block. Modbus TCP/IP multi-
block Block Number (1 word) plus RK512 Header (10 words) plus the 5
words of fetched data.
5
0
Multi-block number should always be 0.
6
0x1145
Job Code ID. 0x1145 = DB-FETCH initiated by 3964R Communication
Partner.
7
0
Data Block number. This is the block number to read the data from.
8
0
Data Word number. This is the index into the selected block number to
read the data from.
9
5
Number of data words Total. This is the number of data words that are
being fetched in this message.
10
5
Number of data words Block. Always equal to Number of data words
Total.
11
0
Reserved.
12
0
Reserved.
13
0
Reserved.
14
0
Reserved.
15
0
Reserved.
Port 0 Transmit Database (Response to DB-fetch)
After the DB-FETCH request has been read, the Modbus TCP/IP device needs to
respond with the fetched data.
Word
Value
Description:
300
7
Transmit Sequence Number. Increment this value after all other data in
the message is ready. Changing this value will trigger the 3964R driver
to transmit this message to the 3964R Communication Partner. In this
example we are changing the value from 6 to 7 to trigger the transmit of
the send command.
301
4
Last Received Sequence number. The Modbus TCP/IP device must
copy the last received sequence number from the Receive database
(word[0]) to this location after a message has been read from the
receive database.
302
0
Reserved.
303
0
Reserved.
304
15
10 word 5 data words.
Содержание ProLinx S3964R
Страница 1: ...S3964R ProLinx Gateway Siemens 3964R Protocol April 14 2009 DRIVER MANUAL...
Страница 4: ......