EasyManuals Logo

Siemens SIMATIC S7 Operating Instructions

Siemens SIMATIC S7
82 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #23 background imageLoading...
Page #23 background image
SIEMENS AG PRODAVE S7
Toolbox for Data Link PGs/PCs to SIMATIC S7
19
4.1 Basic Functions
load_tool
This function initialises the adaptor, checks if the driver is loaded, initialises the
parameterised addresses and switches the selected interface to active. Under
under Windows 95/98/NT/ME/2000 it is possible to parameterise a maximum of
32 connections.
The following 3 parameters are transferred to this function:
no number of active connection (1..32).
device device name (zero terminated) of the used driver
e.g. “S7ONLINE“ for the MPI driver or ZERO (default).
adr_table pointer to address list of the connected party.
In this instance “adr“ = 0 is interpreted as the end identifier of
the list.
Structure Address List:
#pragma pack(1)
struct {
unsigned char adr; /* station address default 2 */
unsigned char segmentid; /* segment id default 0 */
unsigned char slotno; /* slot no default 2 */
unsigned char rackno; /* rack no default 0 */
} adr_table[5];
#pragma pack()
Each party is identified by means of an entry in the address list:
adr station address of party
segmentid segment ID of party = 0 (reserved for later expansions)
slotno slot number of party
rackno rack number of party = 0
A connected party is selected by means of the “no“ parameter of function
load_tool and via the new_ss function:

Table of Contents

Other manuals for Siemens SIMATIC S7

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC S7 and is the answer not in the manual?

Siemens SIMATIC S7 Specifications

General IconGeneral
BrandSiemens
ModelSIMATIC S7
CategoryController
LanguageEnglish

Related product manuals