| Sample program
Task:
The ACK button is to used for acknowledging error messages via the controller. There are several touch operator panels on which the identical error message is displayed in the event of an error. It should be possible to acknowledge all error messages at once on any one of these operator panels.
Program contents:
The program contains the S7 controller program and an MP370 Touch and a TP270 Touch configuration.
If one or more messages are triggered and subsequently the ACK button on one of the operator panels is pressed, then the error messages are acknowledge at the same time on both operator panels (MP370/TP270) via the controller program.
You can change the program at will to meet your specific requirements.
Evaluation of the ACK button always follows the same pattern (evaluation of the acknowledge bit).
The sample program attached contains the evaluation of a total of 48 error messages.
  Fig. 02
|