10/5/2012 10:23 AM | |
Posts: 4 Rating:
|
Dear all, I've change S7-318 to S7-317-2DP. HW config and all blocks in S7-318 are downloaded (except OB81) to S7-317-2DP. the problem is program on PLC S7-317-2DP stopped internally. Diagnose on HW config (online) are ------------------------------------------------- STOP caused by programming error (OB not loaded or not possible, or no FRB) Breakpoint in user program: Cyclic interrupt OB (OB 35) Priority class: 12 FB number: 88 Module address: 130 Previous operating mode: RUN Requested operating mode: STOP (internal) Internal error, Incoming event ------------------------------------------------- maybe someone can help me to run this CPU ? regards, |
10/5/2012 10:50 AM | |
Joined: 10/7/2005 Last visit: 4/3/2025 Posts: 3046 Rating:
|
Hello ihya Since a 318 CPU is an S7-400 CPU packaged into an S7-300 formfactor, it is techncially quite different to a "real" S7-300 CPU. As such I suggest you start bydigesting the FAQ What should you watch out for when migrating from the CPU 318-2 DP to the CPU 317-2 DP and CPU 317-2 PN/DP? followed by running your program though the CPU 318 Migration Check Program. Should this not reveal the source of your problem, please upload your program here for evalution. I hope this helps |
Cheers |
|
This contribution was helpful to
1 thankful Users |
10/5/2012 11:00 AM | |
Joined: 1/3/2006 Last visit: 2/19/2024 Posts: 726 Rating:
|
Hi, Block FB88 is trying to access the address which does not exist. If module information has OPEN BLOCK button then press it and it will take you the point of error. Have you changed PLC only or other components as well like CP's etc? You need to check the Hardware addresses of the module in old architecture and make corresponding changes in new Hardware, else make changes in software. |
10/5/2012 1:55 PM | |
Posts: 4 Rating:
|
Thxs for your suggestions. After all program (OB's, FB's, FC's, DB's) in S7-318 are compared with all program which is downloaded to S7-317-2DP, I have found that OB81, FC90, FC91 couldn't be download to S7-317-2DP. syntax which has read error (maybe unrecognized) by S7-317-2DP are : on FB90 : --------------------- L #TEMP6 L #TEMP7 /R L #TEMP9 ENT L #TEMP8 /R *R SQRT L #IN0 *R T #OUT5 --------------------- on FC91 : --------------------- L #IN0 L #IN2 -R L #IN1 ENT L #IN2 -R /R L 1.000000e+002 *R T #OUT3 --------------------- on OB81 : --------------------- L #TEMP0 L W#16#38 ==I JC M001 L #TEMP1 L W#16#0 >I S M 2.5 JU M002 M001: R M 2.5 L W#16#0 T #TEMP1 M002: BE --------------------- If all this syntax didn't downloaded to S7-317-2DP, the CPU could run normally (SF indicator has off). I don't know why all this syntax couldn't be download to S7-317-2DP. maybe I should try CPU318_MigrationCheck_V10 program first |
10/5/2012 2:23 PM | |
Joined: 9/27/2006 Last visit: 4/2/2025 Posts: 12345 Rating:
|
Hello Ihya; Instructions are not available for the S7-300 CPUs that are using registers that only exist in the S7-400 CPUs (remember that the CPU 318 is actually a S7-400 CPU "disguised" in S7-300 format). For example, in your code you find the instruction "ENT". If you refer to the s7-400 instruction list: Instruction List S7-400 CPU 412-2 PN/DP, 414-3 PN/DP, 414F-3 PN/DP, 416-3 PN/DP, 416F-3 PN/DP S7-300 CPus only have ACCU1 and ACCU2 registers, so this instruction makes no sense to a CPU 317-2DP.You can check this out in the following manual: SIMATIC S7-300 Instruction list S7-300 CPUs and ET 200 CPUs Hope this helps, Daniel Chartier |
Last edited by: dchartier at: 10/5/2012 2:33 PMLast edited by: dchartier at: 10/5/2012 2:24 PM |
|
10/7/2012 7:46 AM | |
Posts: 4 Rating:
|
thanxs for all the problem has been solved. I re-programmed without "ENT" syntax and OB81 did not include in programming S7-317-2DP |
This contribution was helpful to
2 thankful Users |
We are working on a new user interface with better overview and more relevance.
Follow us on