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);