Siemens SIMATIC S7 Operating Instructions Manual page 48

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
Example:
Output byte 0..9 is read and saved in "buffer".
C-Adapter
#include <w95_s7.h>
int
error;
adr_table_type plc_adr_table[2] = { {2,0,2,0},{0,0,2,0} };
#pragma pack(1)
unsigned char buffer[10];
#pragma pack()
:
error = load_tool(1,"S7ONLINE",plc_adr_table);
:
error = as200_a_field_read(0,10,buffer);
:
error = unload_tool();
:
Toolbox for Data Link PGs/PCs to SIMATIC S7
44
PRODAVE S7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents