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 #39 background imageLoading...
Page #39 background image
SIEMENS AG PRODAVE S7
Toolbox for Data Link PGs/PCs to SIMATIC S7
35
t_field_read
The function t_field_read reads “amount” of timer words from the PLC starting
from timer word "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 z_field_read
C-Adapter
int t_field_read (int no,int amount,void * buffer);
z_field_read
The function z_field_read reads “amount” of counter words from the PLC
starting from counter word "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 t_field_read
C-Adapter
int z_field_read (int no,int amount,void * buffer);
z_field_write
The function z_field_write writes “amount” of words to the PLC starting from
counter word "no" from the specified storage area.
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).
C-Adapter
int z_field_write (int no,int amount,void* buffer);

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