Working With Prodave; Notes On S7-200; Notes On As300/400 - Siemens SIMATIC S7 Operating Instructions Manual

Prodave s7 v5.5 toolbox for windows 95/98/nt/me/2000 applications for a data link of pgs/pcs to simatic s7 via mpi interface and pc/mpi cable
Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

SIEMENS AG

3.3 Working with PRODAVE

The user program is written in a high language and the function calls are used
in the form listed in Para. 4 "Description of PRODAVE Functions".

3.3.1 Notes on S7-200

When creating a data link to S7-200 it is not allowed to have more than one
connection parameterised in the load_tool function.
The connection is initialised by means of the load_tool function. This is
followed by the user specific part, where you may only call the as200_......
functions from the adaptor (see also Para. 4.1.2 "Basic Functions for Data
Transfer S7-200 "). When you wish to end your program, it is required to de-
initialise the connections by means of the unload_tool function.

3.3.2 Notes on AS300/400

The obligatory start of each user program is the initialisation of the
connections by calling the function load_tool. This is followed by the user
specific part, where you can call any amount of PRODAVE functions (with the
exception of the as200_.... functions) from the adaptor. When you wish to end
your program, it is required to de-initialise the connections by means of the
unload_tool function.
When carrying out the development of your program, the following points
should be noted to avoid data loss or a system crash:
- Prior to leaving the program, the connections must be de-initialised by calling
the adaptor function unload_tool!
- When reading data from the PLC, the fields into which data is to be
transferred, must be big enough to receive this data as the adaptor does not
carry out a field check!
- The error text file must be located in the same directory as the developed
program as otherwise the adaptor will not be able to read the error texts!
- In order to avoid a repeated "check if it exists" of the error text file, you can call
the function error_message at the start of the program to enable you to
output an appropriate message in the event of an error. This error text file is
loaded when calling this function for the first time.
Toolbox for Data Link PGs/PCs to SIMATIC S7
10
PRODAVE S7

Advertisement

Table of Contents
loading

Table of Contents