Functional Overview
S3964R
♦
ProLinx Gateway
Driver Manual
Siemens 3964R Protocol
ProSoft Technology, Inc.
Page 41 of 64
April 14, 2009
Word Description
13 Always
0.
14 Always
0.
15 Always
0.
16
First word of data.
11
Second word of data.
… …
n+15
n-th word of data.
5.4 Example
Messages
Here are some examples of sending and receiving data through the module.
There are four scenarios:
1
The Modbus TCP/IP device is sending data to the 3964R device
2
The Modbus TCP/IP device is fetching data from the 3964R device
3
The 3964R device is sending data to the Modbus TCP/IP device
4
The 3964R device is fetching data from the Modbus TCP/IP device.
Note
: For each ProLinx serial port connected to a 3964R device, you need to continually monitor
Word 0, Sequence Number, in the Receive Buffer for a change in value. When it changes, check
the Job Code so you can act upon it. The 3964R telegram can arrive at any time, asynchronously.
5.4.1 Example Modbus TCP/IP DB-SEND of data to 3964R device
Modbus TCP/IP Write of data to ProLinx:
Use a Modbus Function Code 16 to write data to the ProLinx. You will setup the
T
RANSMIT BUFFER
. The 3964R device will be sent a 3964R telegram from the
ProLinx. You will setup the Modbus TCP/IP device to continually poll the
R
ECEIVE
BUFFER
for errors.
1
Start by setting B to the value in G.
2
Then write the data count and the data in E and F.
3
Now set the trigger, A, to tell the ProLinx to begin. Set it to the value already
in A, plus 1.
4
Watch A and H. When A = H, then you know the ProLinx module has read
the data you just wrote.
5
Continually poll the error code, J to verify no errors.
Transmit Buffer
Receive Buffer
Item
Address
Transmit Value
Item
Address
Receive Value
A
(<port#> * 600) + 300
Sequence Number
G
<port#> * 600
Sequence Number
B
((<port#> * 600) + 300) + 1 Last Receive
Sequence Number
H
(<port#> * 600) + 1
Last Transmit
Sequence Number
C
((<port#> * 600) + 300) + 2 Blocks Remaining
I
(<port#> * 600) + 2
Blocks Remaining
Содержание ProLinx S3964R
Страница 1: ...S3964R ProLinx Gateway Siemens 3964R Protocol April 14 2009 DRIVER MANUAL...
Страница 4: ......