Step 7 Blockmoves

Ozzburn

Member
Join Date
Feb 2008
Location
Baltimore
Posts
2
I work for a systems integrator and I am very famliar with Modicon, GE, and Allen Bradley. I know function block programming and ladder. All of the above packages have a means to "Move/Copy" internal bits to other locations, whether it is to another bit memory location or to word memory.

For instance
Moving 16 bits from %I1 ---> %R1
Moving I:0/1 ----> N7:10

I have been given my first project in Siemens Step 7. I never use the literal digital input addresses (I 1.0) in the program. This is so i can break the copy link (I 1.0 --- M 1.0) for desktop simulations of the program before install.

My question is how do you do this in Ladder? I do see the Blockmov SFC21 in the list. I try to call it using ---(Call). And this doesn't work. Is there a simple instruction that will move a variable length blocks of bits to another bit location (M 1.x) or to work locations (MW 1)?

Thanks for the help.
 
Drag SFC20 block from the list onto your line of ladder - you will then see that you have to supply parameters. Here are the three steps:

fcfc.JPG


SFC20 allows you to specify any number of bits. You may want to use the move command which will allow you to move 8, 16 or 32 bits at a time.
move002.JPG
 
Last edited:
Thanks Alot.
Once i saw your screenshots and you weren't pulling my leg cause i had to of tried to drag that block onto my ladder at least a dozen times I went searching for some other SFC20/21 to drag.

So apparently my problem is, and maybe someone can explain why, that I cannot drag the SFC's from the tree folder "stdlibs" but it will drag from "Standard Library". Doesn't make a bit of sense to me but I'm the noob.

Thanks for the help
 
I believe stdlibs is a legacy library for very early versions of Step 7 - that's why it will not drag.
 

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
170
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
243
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
339
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
544
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
660
Back
Top Bottom