7/12/2009 12:27 AM | |
Joined: 2/6/2009 Last visit: 5/7/2024 Posts: 938 Rating: (118) |
Hi, In my project I have created some of the calculations in SCL language.When we tested the project in the Office with simulator everything was fine. All the values were coming at the SCADA. We are having CPU 315-2DP at the site,I downloaded the tested program to PLC handthe CPU gone to stop,butafter blocking the calls for the SCL blocks the CPU is going to run mode. Now I don't have the time to recreate the SCL blocks inother language.Please help me to solve this problem. Please find the attachment for the detals of Module Information. AttachmentModule Information.pdf (197 Downloads) |
_______________________________________________________________ |
|
7/13/2009 11:41 AM | |
Joined: 10/7/2005 Last visit: 5/23/2024 Posts: 3007 Rating: (1049) |
I fully agree with Aret, the question is though what portion of this is really related to the (new) SCL code. Tofind out, please do the following: Disable the SCLlogic andcheck the scan cycle timewhich you can find in the "Module information"window (PLC menu --> Diagnostic setting --> Module Information) or alternatively read out OB1's "OB1_PREV_CYCLE" TEMP variable. If this is already borderline (e.g. close to 150 ms), you probably won't even be able to do what you want to do even if youre-develop your SCL inruntime optimised STLcode. If it is however more like 10-20ms (which you'd typically expect for a 315 that has a reasonble sized program in it), you do have a serious problem in your SCL logic. I also have question for you: Did you test your new SCL logic together with the whole program or only by itself when you simulated it in the office (where it worked)? Please let us know and attach the (whole) PLC program too. |
Cheers |
|
This contribution was helpful to2 thankful Users |
Follow us on