0% found this document useful (0 votes)
9 views6 pages

Prodave (US)

The document provides information about the ProdaveDll.dll driver from Siemens, designed for communication between Elipse SCADA and Siemens S7 PLC models. It details the installation, configuration, and connection methods, as well as driver parameters and capabilities. Additionally, it includes troubleshooting tips for generating log files in case of errors during operation.

Uploaded by

baca.sandro2024
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views6 pages

Prodave (US)

The document provides information about the ProdaveDll.dll driver from Siemens, designed for communication between Elipse SCADA and Siemens S7 PLC models. It details the installation, configuration, and connection methods, as well as driver parameters and capabilities. Additionally, it includes troubleshooting tips for generating log files in case of errors during operation.

Uploaded by

baca.sandro2024
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 6

PRODAVE

File: ProdaveDll.dll
Manufacturer: Siemens
Devices: models S7-200, S7-300 and S7-400
Release: Mar 13, 2003

ATTENTION: THIS DRIVER WAS DESIGNED TO WORK WITH PRODAVE 5.00 OR


LATER.

This driver allows communication between Elipse SCADA and all Siemens model S7 PLCs
(model S7-200 has some limitations), it depends on the PRODAVE-S7 software provided by
Siemens.

1) Connecting:

PRODAVE uses the following Cards or Adapters to connect to the PLC:

 CP 5611 PCI-Card
 CP 5511 PCMCIA-Card
 CP 5411 ISA-Card
 MPI-ISA-Card or MPI-ISA on Board (PG 720/740/760, PC RI45,25,FI25)
 COM 1/2 through PC-Adapter

Check the PRODAVE documentation provided by Siemens for more information about
connections (check “PRODAVE S7, Toolbox for PGs and PCs (AT and compatibles) – Operating
Instructions”).

The most common way to connect to the PLC is through a PC-Adapter cable, as follows:

Another common connection is through a CP-5611 board:


2) Installing and Configuring Siemens-PRODAVE:

Before using the Elipse driver (ProdaveDll.dll), the PRODAVE Software from Siemens must be
installed on the PC. You can install it by running the “SETUP.EXE” program from the
PRODAVE disk set.

After installing PRODAVE, it must be configured using the system “Control Panel”. You should
click on the “Setting the PG/PC Interface” icon to configure PRODAVE:

The PRODAVE configuration window will open:

Use the “Install” button to install one of the PRODAVE interfaces, the most common one is the
PC-Adapter that uses a standard PC serial port. The interfaces install window is:
In this window you should select the desired interface in the left and press “Install ” to install it.
After this you can “Close” the window to go back to the main configuration window. Then you
should configure the interface you selected, highlight it and press “Properties…”:

The configuration window for the “PC-Adapter” interface follows:


Now that PRODAVE is configured you can move on and add the ProdaveDll.dll driver to the
Elipse SCADA application and configure it.

3) Driver Parameters (P parameters):


p1: not used, set to 0
p2: not used, set to 0
p3: not used, set to 0
p4: not used, set to 0
The driver parameters are set in the “Extra” dialog:

You should configure all the PLCs that you are going to communicate with, click the
“Add” button to create a new connection to a PLC, you should define the “Station
Address”, “Segment-ID”, “Slot Number”, “Rack Number” and the PLC model (S7-200
or S7-300/400).

Finally you should define the Data-Block addressing mode. The S5 Method addresses
Words sequentially (DW0, DW1, DW2, DW3,…). The S7 Method addresses words by
the address of the first byte (DW0, DW2, DW4, DW8, …). For more information, see
the PRODAVE manual, page 21.

4) PLC and BLOCK Tag Parameters (N and B parameters):


n1/b1: one-based connection index in the “extra” dialog (1,2,3,...)
n2/b2: data type (see table 1)
n3/b3: DB number (if necessary, see table 1)
n4/b4: DB address or absolute address (see table 1)

Table 1:
n2/b2 Read/Write Type Description n3/b3 n4/b4 PLC Models
0 R/W DB signed char (Byte) DB number Byte number S7-300/400 only
1 R/W DB signed short DB number DW number S7-300/400 only
2 R/W DB signed long DB number DW number S7-300/400 only
3 R/W DB unsigned char (Byte) DB number Byte number S7-300/400 only
4 R/W DB unsigned short DB number DW number S7-300/400 only
5 R/W DB unsigned long DB number DW number S7-300/400 only
6 R/W DB float DB number DW number S7-300/400 only
7 R/W Flags signed char - Flag Address S7-300/400 and S7-200
8 R/W Flags signed short - Flag Address S7-300/400 and S7-200
9 R/W Flags signed long - Flag Address S7-300/400 and S7-200
10 R/W Flags unsigned char - Flag Address S7-300/400 and S7-200
11 R/W Flags unsigned short - Flag Address S7-300/400 and S7-200
12 R/W Flags unsigned long - Flag Address S7-300/400 and S7-200
13 R/W Flags float - Flag Address S7-300/400 and S7-200
14 R/W Outputs bytes - Output Port Address S7-300/400 and S7-200
15 Read Only Inputs bytes - Input Port Address S7-300/400 and S7-200
16 Read Only Timers words - Timer Address S7-300/400 and S7-200
17 R/W Counters words - Counter Address S7-300/400 and S7-200
18 R/W Special flags char - Field Address S7-200 only
19 R/W Special flags short - Field Address S7-200 only
20 R/W Special flags long - Field Address S7-200 only
21 R/W Special flags BYTE - Field Address S7-200 only
22 R/W Special flags WORD - Field Address S7-200 only
23 R/W Special flags DWORD - Field Address S7-200 only
24 R/W Special flags float - Field Address S7-200 only
25 R/W Variable memory char - Field Address S7-200 only
26 R/W Variable memory short - Field Address S7-200 only
27 R/W Variable memory long - Field Address S7-200 only
28 R/W Variable memory BYTE - Field Address S7-200 only
29 R/W Variable memory WORD - Field Address S7-200 only
30 R/W Variable memory DWORD - Field Address S7-200 only
31 R/W Variable memory float - Field Address S7-200 only

5) Driver Capabilities:
 Read PLC Tags
 Write PLC Tags
 Read BLOCK Tags
 Write BLOCK Tags
 Read Block Elements
 Write Block Elements

6) LOG File:
In case you have trouble using the driver, a LOG file can be generated. Open the driver
“Extra” dialog and enable the log options. A sample log file is:

*** STARTING DRIVER Prodave DLL (Oct 10 2000 12:09:30) ***


drvStartComm(0,0,0,0)
ProdaveLoad: Prodave Load OK!

drvRead(1,0,1,100) count=1 offset=0


_read_db_byte: Error in db_read 0302H!
ProdaveRead: Error 0302H in read function for type 0!
drvRead: Error in ProdaveRead!

drvStopComm(0,0,0,0)
ProdaveUnload: Prodave Unload OK!

In the example above, there was an error reading from a DB, the error code is 0302H
(hexadecimal). You can check the error code in the PRODAVE manual: "0302 : block too
small, DW does not exist". If you examine the PLC program, the cause of the error can be
detected (DB1 doesn’t have DW100 declared).
For to obtain error text, you must to install the ERROR.DAT file in the current directory of
your application.

You might also like