Industry Online Support
Technical Forum
4/4/2010 7:19 PM | |
Posts: 7 Rating:
|
Hi I am a beginner in step7, i've just converted a S5 program to load in a S400. I have only warning messagesafter the conversion,but despite this wheni loadthe program in the cpu, the CPU don't want to start. I found some messages in the HW config, ( like CALL STP ) who apparently are the source of my problem. I don't understand why there are such commands in those FC's. If someboby can help me, I left my program in attachment. Many thanks Susanne AttachmentSourceS7.zip (39 Downloads) |
4/7/2010 12:36 AM | |
Joined: 6/1/2006 Last visit: 7/1/2021 Posts: 128 Rating:
|
Hello Susanne, after a first quick glimpse, there are 9 references (CALLs) to the SFC46. 2 references in each the FC9 and the FC10. My recommendation is to use the "FILL" function (SFC21) instead of FC9 and "BLKMOV" (SFC20) instead of FC10. This removes already 4 out of the 9 references to "STP". FC6 moved a DB/DX into the RAM. This is typically no longer necessary, since this is being done by the S7 automatically on StartUp - remove the FC6 call. Within the FC61 is a call to an FC14, which should be replaced by SFC24 "TEST_DB". The evaluation of the return code should allow you to remove the remaining references to "STP". Regards Olaf Scheel olaf.scheel@siemens.com |
4/8/2010 1:40 PM | |
Posts: 7 Rating:
|
Thank you Olaf |
Follow us on