User manual
S3964R ♦ ProLinx Gateway Functional Overview
Siemens 3964R Protocol Driver Manual
Page 42 of 64 ProSoft Technology, Inc.
April 14, 2009
Transmit Buffer
Receive Buffer
Item Address Transmit Value
Item Address Receive Value
D ((<port#> * 600) + 300) + 3 Reserved
J (<port#> * 600) + 3 Error Code
E ((<port#> * 600) + 300) + 4 Data Count
K (<port#> * 600) + 4 Data Count
F ((<port#> * 600) + 300) + 5
through ((<port#> * 600) +
300) + 299
Data
L (<port#> * 600) + 5
through (<port#> *
600) + 299
Data
Now the ProLinx is writing the new data to the 3964R device as a DB-SEND
telegram.
Port 0 Transmit Database
Here is an example of a RK512 DB-SEND from the Modbus TCP/IP device to the
3964R Communication Partner on port 0. This example sends five words of data.
The values for the five words of data are 11, 22, 33, 44, and 55.
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 X
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 header + 5 data words.
305 0x0041 DB-SEND.
306 0 Data Block.
307 0 Data Word.
308 5 Sending 5 data words.
309 0 Coordination Byte.
310 0 Data Type. 0 = Word data.
311 0 Reserved.
312 0 Reserved.
313 0 Reserved.
314 0 Reserved.
315 11 1
st
data word value.
316 22 2
nd
data word value.
317 33 3
rd
data word value.
318 44 4
th
data word value.
319 55 5
th
data word value.