10/5/2012 10:50 AM | |
Joined: 10/7/2005 Last visit: 11/12/2024 Posts: 3026 Rating: (1057)
|
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 to1 thankful Users |
10/5/2012 2:23 PM | |
Joined: 9/27/2006 Last visit: 11/11/2024 Posts: 12293 Rating: (2691)
|
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 |
|
Follow us on