8/29/2021 8:27 PM | |
Joined: 12/17/2019 Last visit: 8/6/2024 Posts: 33 Rating: (1) |
hi at first i know only work with physical hardware , my equation are when have interrupted on analog channel should call OB40 and CPU SF LED lit WITHOUT CHANGE TO STOP MODE But in my situation even active ( diagnostic interrupted on module properties and diagnostic group ) and call OB40 and create block inside OB40 to know which channel have interrupted still CPU GO TO STOP MODE . REMEMER MY CPU ARE 315 2DP so can any one sent example for OB40 thank all ------------------------------------------------------------------------------------------ |
Last edited by: muntadher at: 08/29/2021 20:28:41Last edited by: The Helping Hand at: 08/31/2021 12:11:59New subject after splitting |
|
8/30/2021 8:31 AM | |
Joined: 3/16/2015 Last visit: 10/10/2021 Posts: 1250 Rating: (173) |
See this. |
8/30/2021 10:32 AM | |
Joined: 3/5/2014 Last visit: 8/5/2022 Posts: 5521 Rating: (1054)
|
hi, have a look into the diagnostic buffer and evaluate why the CPU is goinig into stop. If you don´t know how to read the diagnostic buffer, extract it as txt-file and share this file with us. OB40 can not have any general application sample. A HW-interrupt is depending on the process you are going to controll. for example: HW-interrupt comes because the temperature has reached a specific level and you need to react. Who can know how to react to this, exept you. Do you need to switch off or cool or start any other process? you, as programmer have to know this. Just programm a reaction to a specific event. You can search for applicaiton samples with OB40. But without looking into anyone of this applicaiton samples I can asure you, each content of the OB40 is different. hope this helps, regards, |
Last edited by: mopS04 at: 08/30/2021 10:36:39FCK WAR! |
|
This contribution was helpful to1 thankful Users |
8/31/2021 9:05 AM | |
Joined: 12/17/2019 Last visit: 8/6/2024 Posts: 33 Rating: (1) |
hi regarding diagnostic buffer i check it the issue was analog module , as say before when choose on properties of module >> general >> select diagnostic interrupted >> channel 0-1 >> group diagnostic >> 4 wire transducer >> 4-20mA >> high limit =21 >> low limit =3 >> deactivate no need channels >> in physicals connection connect all deactivate channel together and terminated with -M . so as i know when any issue have been on my two analog signal most be call ob40 can you create simple example for OB40 and post it ohh i forget there is no issue with temperature because the panel temperature are 16 degree also CPU TYPE 315 2DP and analog module 7KF02 can you help me with this issue thank you best regards. |
Last edited by: muntadher at: 08/31/2021 09:06:09Last edited by: muntadher at: 08/31/2021 09:15:23 |
|
8/31/2021 10:40 PM | |
Joined: 3/16/2015 Last visit: 10/10/2021 Posts: 1250 Rating: (173) |
I am not sure I understand what you want to achieve. Do you want the CPU to *not* stop when there is a diagnostic error? Or are you wanting to *read* the error? |
Follow us on