STEP 7 Standardlibrary FB61 should use other FC's

sargan26

Member
Join Date
Nov 2015
Location
Wels
Posts
5
Greetings,

the FB61 (SET_SW_S) (Switch daylight saving) uses other FC's from the standardlibrary namely:

FC 1 (AD_DT_TM), FC 3 (D_TOD_DT), FC 7 (DT_DAY), FC 12 (GE_DT), FC 23 (LT_DT),
FC 35 (SB_DT_TM), FC 18 (LE_DT)

Is there a option to let the FB use other FC's (because I use FC 1 already).

For example load the functions as FC 101 (AD_DT_TM), FC 103 (D_TOD_DT)... in the plc and let FB61 use these instead?

Kind regards,
Daniel
 
You could "unprotect" the protected FB61 and change the calls to FC1.

If that is not an option, I think you have to do it the other way around.
Modify your own code to not use FC1, but FC101 instead.
 
If you dont have SCL, the code will display as STL. You can still find the calls to FC1 and change them.

But like I said, you can also change your own code to not use FC1.
 
Create a project containing FB61 and the blocks it calls.
Use the rewire facility (right click on the blocks folder) and re-wire each FC. In my example I've added 100 to the block numbers. Note that in the re-wire screen the left hand column entry will appear red until you have entered another block number on the right hand column. I re-wire them one at a time. You get a message about the re-wire.

Copy the re-wired blocks to your project.

rewire.jpg
 

Similar Topics

I am having a step7 v5.4 program where the blocks are encrypted and locked. And the manufacturer is stopped the support. Is there any ways to...
Replies
2
Views
162
Good Morning, Hoping someone with some Siemens experience can give me a hand with this one. Customer has a S7-200 cpu, which has a 6GK7...
Replies
0
Views
236
HI! HOW COULD I OBTAIN THE NAMES OF THE STEPS OF A ROUTINE IN SFC LANGUAGE IN STUDIO5000? Or is there a system variable that gives me those...
Replies
0
Views
338
I'm just trying to figure out the right method of adding a DO card to an existing rack. It's not the *next* open slot, but I have to move the AO...
Replies
5
Views
540
Hi Siemens Experts, I am hoping someone can shed some light on my issue. I have uploaded the code from a S7-300 (317-2PN/DP) using Step 7...
Replies
9
Views
642
Back
Top Bottom