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 #38 background imageLoading...
Page #38 background image
SIEMENS AG PRODAVE S7
Toolbox for Data Link PGs/PCs to SIMATIC S7
34
m_field_read
The function m_field_read reads “amount” of flag bytes from the PLC starting
from flag 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 a_field_read, e_field_read
C-Adapter
int m_field_read (int no,int amount,void * buffer);
m_field_write
The function m_field_write writes "amount" of bytes from the specified storage
area to the PLC starting from flag 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 a_field_write
C-Adapter
int m_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