(1)| 11/10/2009 4:05 AM | |
|
Joined: 10/7/2005 Last visit: 12/19/2025 Posts: 3052 Rating:
|
Hello Rizal Dwi Listio it could be that OB1 does the following: A F x.y // if bit is ON JC PB 8 // call PB 8 Thisconditional call (JC) of PB8 maynever come true and hence does not do any "damage"even though PB8 does NOT exist (but will lead to the program structure as per your printout). Alternatively, perhaps someone deleted PB8 from the offline program but it still exists in the CPU. If neither of the aboveis thecase, then please attach the S5 program for further advise. I hope this helps |
|
Cheers |
|
| 11/10/2009 4:50 AM | |
|
Posts: 77 Rating:
|
Ups! sorry sir here the OB1 program and i attached the complete STEP 5 program that uploaded by me. OB 1 Segment 1 :JU PB 1 :JU PB 2 :JU PB 3 :JU PB 4 :JU PB 5 :JU PB 6 :JU PB 8 <------------------------ :JU PB 9 :JU FB 15 Name :BL'TAKT :JU FB 16 Name :SOL/ISTW :JU FB 18 Name :DEKADEN :JU FB 20 Name :AUSGABE :BE Thank you.... PS: i think the thread's title must be PB that doesn't exist but called in OB 1(CPU 102) sorry, my bad. AttachmentXXX60@ST.zip (390 Downloads) |
Last edited by: Rizal Dwi Listio at: 11/10/2009 5:05 AMLast edited by: Rizal Dwi Listio at: 11/10/2009 4:54 AM |
|
| 11/10/2009 7:56 AM | |
|
Posts: 642 Rating:
|
hello, have you compared your offline program with the program on cpu? Maybe there was an error on loading. Regards
André Räppel --------------------------------------------------------------------------------- www.raeppel.de work faster withinnovative PLC-Tools |
| 11/10/2009 8:02 AM | |
|
Joined: 10/7/2005 Last visit: 12/19/2025 Posts: 3052 Rating:
|
Hello again Rizal Dwi Listio you are correct, PB8 does NOT exist in your program, but a call to it exists in OB1 (which can of course be "programmed" and is not checked by the S5 Editor, even though it doesn't make sense to do so). You say further that thisS5 program has been uploaded from the S5 CPU, so one must assume that PB8 is missing from the PLC too. Why does yourS5 103 CPU notgo into STOP in this case I hear you ask? Well, to tell you the truth,my S5 knowledge resides more with the "bigger" S5 systemsand a 135 and/or 155 systemwill"complain" if trying to call a PB that doesn't exist (or call OB19 if it exists). I am reasonably confident(andhopefully someone out there with 100U knowledge can verify this), that a 100U simply doesn't care if the program is trying to call a PB that does not exist (it will "care" thoughand crash if you are trying to for example open a DB that doesn't exists or have an addressing error with DB access). I hope this helps |
|
Cheers |
|
| 11/10/2009 10:32 AM | |
|
Posts: 77 Rating:
|
Sorry, i can't do that. because i have to go to my customer to do that. oh yeah, i'm just created a simple program on CPU 95U. Like this : PB 1 : Length : 8 OB 1 : Length : 9 Length : PB 8 Length : SB 0 Length : FB 0 Length : FX 0 Length : OB 9 Length : DB 0 Length : DX 0 Length : 17 P r o g r a m o v e r v i e w w i t h o u t D B +-OB 1-+-PB 1- I +-PB 2-???????? The purpose of this program is to Set Q 32.0 in PB 1 but i'm not create PB 2. i'm just call it in OB 1. Guest what??? it's works without error here i attached the program, you can check that i don't create PB 2. Thanks all for your attention, AttachmentDUMMY_ST.zip (406 Downloads) |
Last edited by: Rizal Dwi Listio at: 11/10/2009 10:34 AMadd attach file |
|
| 11/10/2009 1:59 PM | |
|
Posts: 24 Rating:
|
Gentlemen, Here is comfirmation that the CPU102 does not care if you call a block that does not exist. Regards, AttachmentSoftware Reference Guide - OB.pdf (502 Downloads) |
This contribution was helpful to
|
|
| 11/11/2009 3:26 AM | |
|
Posts: 77 Rating:
|
this document looks old, anyway........ thank you |
Follow us on