View Single Post
Old August 9th, 2007, 09:25 AM   #3
JesperMP
Member
Denmark

JesperMP is offline
 
JesperMP's Avatar
 
Join Date: Feb 2003
Location: Copenhagen.
Posts: 8,184
That is the correct procedure for when an FB shall be monitored.

If multiple calls to FCs are made, and there is a problem, then there is only THIS way:
Copy the FC into an identical FC, but with a new name. Download the new FC.
Find one of the FC calls that acts up, and exchange the FC number for the new one. Download the code with the call.
Now open the new FC online to troubleshoot the code.
When you have located the error, fix it in the original FC, download it.
Get back to normal by setting back the FC call from the new to the old (fixed) FC, and download the code with that call.
Finally delete the "extra" FC.

It will work even if it is not so easy.
This problem with troubleshooting FCs is one of the reasons I dont use S7guys method for reusable code.
__________________
Jesper
  Reply With Quote