SIEMENS AG
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);
Toolbox for Data Link PGs/PCs to SIMATIC S7
35
PRODAVE S7