7/23/2013 7:52 PM | |
Posts: 8946 Rating:
|
What you like to do is not possible. What information you find in USTACK? |
7/24/2013 6:06 AM | |
Joined: 11/21/2007 Last visit: 7/25/2025 Posts: 2326 Rating:
|
Hi mvmccowan First of all a few observations : a) S5 program is not "COMPILED" before downloading to the CPU and no CPU type is programmed in the S5 program ( There is no hardware configuration as in S7 ) b) the DB1 ( In CPU 928B ) is used to define the following in the S5 program : Digital Input addresses , DIgital Output addresses, IPC Input / output Flag ares ( For Multiprocessing ) and Timer Range. It is not used to define the CPU Type. The CPU Type selection in COM-DB1 is selects the correct DB1 structure for the selected CPU. ( E,g. DB1 in S5-100U CPUs is entirely different ) c) What exactly is the error msg that you are getting when trying to download OB 170 to the CPU ? CPU 928B does support the FB 170 as you said. However I doubt this will solve your problem, as someone will have to check the results of FB170 while the CPU is in Stop. It would be mucheasier to check the ISTACK / BSTAK in that case. I would suggest the you use Error handling OBs ( Pl see attachment ) to diagnose the problem. Thas way you can figure out which error handling OB was called before CPU went to STOP. Or you may prevent the PLC from going to STOP in case of certain error ( After ensuring safe operation ) Hope this helps Cheers Navnag AttachmentS5_Error_Handling_Using_OBs.pdf (489 Downloads) |
Last edited by: Navnag at: 7/24/2013 6:08 AMAttachment added There is no such thing as the last bug in a program |
|
This contribution was helpful to
3 thankful Users |
Follow us on