EasyManua.ls Logo

Siemens SIMATIC S7 - 3.3 Interface to the CPU

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
Loading...
SIEMENS AG PRODAVE S7
Toolbox for Data Link PGs/PCs to SIMATIC S7
25
ag_zustand
This function reads the PLC status (RUN or STOP) from the PLC and stores
the data in a storage area of the PG/PC.
buffer[0] = 0 AG is in RUN
buffer[0] = 1 AG is in STOP
buffer[0] = 1 AG is in RESTART
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 ag_info
C-Adapter
int ag_zustand (void * buffer);

Table of Contents

Other manuals for Siemens SIMATIC S7

Related product manuals