Functional Overview
S3964R
♦
ProLinx Gateway
Driver Manual
Siemens 3964R Protocol
ProSoft Technology, Inc.
Page 39 of 64
April 14, 2009
5.3.2 Port Transmit Data
The Port Transmit data consists of header information and parameter data.
The Port Transmit Data in general:
Word Description
0
Transmit Sequence number. The Modbus TCP/IP device must change this
value to transmit a message to the 3964R Communication Partner. This value
should not be changed until all other data in the message is ready to be sent.
When this value changes, it triggers the 3964R driver to process and transmit
the message.
1
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 3964R message has been read from the receive database.
Updating this value as described signals to the 3964R driver that any new data
that arrives from the 3964R Communication Partner can be written to the
receive database. An error will occur if new data arrives from the 3964R
Communication Partner and this value has not been updated, because the
3964R driver will not be able to write the new data to the receive database.
2
Blocks remaining. This location is reserved and should always be 0.
3
Reserved. Set to 0.
4
Number of data words in this block. This location contains the number of data
words that are included in this block of data. This will include the 10 word
header stored in word[5] through word[14] plus the number of data words in
this message. The calculation is "10 + #of data words".
5
Job Code ID. This location will contain the job code for this message. Possible
job codes are:
0x0041 – RK512 DB-SEND
0x0045 – RK512 DB-FETCH
0x1145 – send response to a previous fetch command from the remote
3964R communication partner
0x00FF – non-RK512 SEND
6
RK512 Data Block (DB). This location contains the number of the data block to
read/write data. Usually set to 0.
7
RK512 Data Word (DW). This location contains the index of the data word
within the selected data block to read/write data. Usually set to 0.
8
Number of data words total. This location contains the actual number of data
words to be read or written.
9
RK512 Coordination Byte.
10
Data Type. Usually set to 0x0000 for Word Data Type.
0x0000 = Word Data Type
0x0044 = Word Data Type
0x004D = Marker Data Type
11 Always
0.
12 Always
0.
13 Always
0.
14 Always
0.
15
First word of data.
16
Second word of data.
… …
n+15
n-th word of data.