Industry Online Support
Technical Forum
1/16/2015 4:39 PM | |
Posts: 10 Rating: (1) |
Hello I am using a CPU S7-315F 2PN/DP. The standar program is made using CFC language and safety program with KOP/FUP. Since, for S7-300 CPU version can´t be used safety option for CFC language. I am having problems when downloading CFC changes to the CPU after having compiled the safety program before. I mean, every time I compile safety program and download its changes to the CPU, the CFC compilation information changes somehow. Because, when I try to view online the CFC program I get a message about "CFC program has been change since last compilation" and the only thing I´ve done before was to compile and download de safety program changes. So, I need to recompile the CFC program again and download the changes to the CPU. And during the downloading the CPU goes to STOP mode. For better understanding, I explain the steps: First of all, CFC and safety program are already downloaded and CFC program can be seen online because it matches with the one in the CPU. So, 1.- Compile & download changes to the failsafe CPU. CPU returns to RUN mode correctly after the download. 2.- In the CFC program view, I try to view the program online but a message is displyed that "CFC program has been change since last compilation". However, I dind´t change anything. I´ve only done the previous step. 3.- so, I recompile the CFC program again. 4.- After compilation, I download the changes to the CPU. 5.- During the dowloading the CPU changes to STOP mode. 6.- I warm start the CPU from STEP 7 and CPU changes to RUN mode correctly. 7.- Now, the CFC program can be seen online correctly without displaying any message as before. 8.- Hereafter, any modification of the CFC program can be downloaded to the CPU and this doesn´t change to STOP anymore. Only, If the step 1 is repeated the following steps must be repeated also. However, instead of downloading the changes in the step 1, I download it all, this problem does not happen. Very suprising. But, this is not the solution because I otherwise overwitre the current global DB values. The diagnostic information of the CPU says that is the F-CPU who changes the CPU to STOP mode. I have "checked for Accesses from the standar user program" but no incorrect accesess were found. Also, I am using different Clyclic OBs for the safety and standar program. OB34 and OB35 respectively. OB34 runs at 25ms and OB35 at 50ms. I have attached the CPU diagnostic information I got after the CPU changed to STOP during the CFC downloading. Hope anyone can help me with this. I´m run out of ideas. Thanks!!!
AttachmentCFC & SAFETY S7-300_PLC STOP.zip (100 Downloads) |
Last edited by: aeiz at: 1/16/2015 4:48 PM |
|
Follow us on