D_Field_Read - 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

d_field_read

The function d_field_read reads " amount" of data bytes from the PLC starting
from data byte "no" and stores the read values in a variable field of the PG/PC.
If there were no errors, the function supplies 0 as the return value otherwise an
error message which can be evaluated in accordance with the error table (see
error_message).
See also d_field_write
C-Adapter
int
d_field_read
(int bstno, int no,int amount,void * buffer);
d_field_write
The function d_field_write writes "amount" of bytes from the specified storage
area to the PLC, starting from data byte "no".
If there were no errors, the function supplies 0 as the return value otherwise an
error message which can be evaluated in accordance with the error table (see
error_message).
See also d_field_read
C-Adapter
int
d_field_write
(int bstno, int no,int amount,void* buffer);
Toolbox for Data Link PGs/PCs to SIMATIC S7
30
PRODAVE S7
(mini)
(mini)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents