SIEMENS AG
Example:
A remote station is called. If the connection to the TS adaptor has been
established this is followed by the connection of a controller connected to the
TS adaptor:
C-Adapter
#include <w95_s7.h>
#pragma pack(1)
#pragma pack()
char
* ModemName = "Standardmodem";
char
* Standort
char
* TelNo = "+49 00911 8957101";
char
* UserName = "ADMIN";
char
* Password = "admin";
int
error;
:
:
error = ts_dial(ModemName,Standort,TelNo,
if (error == 0)
{
error = load_tool(...);
:
:
:
error = unload_tool();
error = ts_hang_up_dial();
}
:
:
Toolbox for Data Link PGs/PCs to SIMATIC S7
= "Standardstandort";
UserName,Password,NULL,0,0,NULL);
65
PRODAVE S7