Functional Overview
S3964R
♦
ProLinx Gateway
Driver Manual
Siemens 3964R Protocol
ProSoft Technology, Inc.
Page 47 of 64
April 14, 2009
Word
Value
Description:
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
16
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
0x1141
Job Code ID. 0x1141 = DB-SEND initiated by 3964R communication
partner.
7
0
Data Block number. This is the block number to write the data to.
8
0
Data Word number. This is the index into the selected block number to
write the data to.
9
5
Number of data words Total. This is the number of data words that are
being sent 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.
16
11
1
st
data word value.
17
22
2
nd
data word value.
18
33
3
rd
data word value.
19
44
4
th
data word value.
20
55
5
th
data word value.
Port 0 Transmit Database (After Reading DB-Send Data)
After the DB-SEND data has been read, the transmit database must be updated
as follows:
Word
Value
Description:
300
X
No change.
301
4
Last Received Sequence number. After DB-SEND data has been read,
copy value from Port 0 receive database Receive Sequence number
(word[0000]) to this location to tell 3964R driver that it is OK to write
new data into the Receive database. In our example, we copy the new
Receive Sequence value of 4 to this location.