8/24/2021 11:27 PM | |
Joined: 9/27/2006 Last visit: 4/19/2024 Posts: 12256 Rating: (2664) |
Hello mutandher Have a look at this entry from product support: - What is a hardware interrupt and how do they work in the S7-300 system? https://support.industry.siemens.com/cs/ww/en/view/23657941 General: If an alarm-triggering event occurs during program processing, the operating system calls the alarm OB 40, interrupting the processing of the program cycle or lower-priority program blocks. The alarm-triggering event (or events (multiple bits can be set)) is/are specified more precisely via the alarm OB 40's temporary local data. The temporary local data can be evaluated by the user program in the alarm OB. If there is no alarm OB 40 in the CPU when an alarm-triggering event occurs, the CPU goes into STOP mode. The alarm OB has a fixed priority setting of 16. Hardware interrupt-triggering events in the different modules:
|
This contribution was helpful to1 thankful Users |
8/25/2021 11:35 AM | |
Joined: 12/17/2019 Last visit: 4/6/2024 Posts: 33 Rating: (1) |
hello daniel i know when interrupted event trigger CPU turn off because OB40 are not add in program structure , my issue was already add OB40 in program structure and know the priority of OB40 are 16 but when interrupted happen , PLC turn off and OB40 was not called so pls check my procedure steps in attached file hope find my problem also can you create example for application steps of OB40 thank you and check attached file AttachmentBinder3.pdf (305 Downloads) |
8/31/2021 12:08 PM | |
Joined: 8/21/2014 Last visit: 4/18/2024 Posts: 949 Rating: (13) |
Closed, cause question posted twice. The second thread with the subject Example for OB40 is published within the conference SIMATIC S7-300 / S7-300F. Best regards |
My Forum is the place to personalize your profile, |
|
Follow us on