Siemens blockmove

Ranjith

Member
Join Date
May 2007
Location
Melbourne
Posts
316
Could some one please tell me how to copy an entire data block to another in Step 7. I used SFC 20 in the ladder compiled and downloaded to CPU. but it did not copy the contents.
 
Hello Ranjith;

SFC20 "BLKMOV" is a standard way of transfering blocks of data from one location to another with Step 7. It works, and it is simple to use, if you understand ANY pointers for Source and Destination areas.

Could you please post the code you are using, we may find the source of the problem by examining it.
Hope this helps,
Daniel Chartier
 
Here's an example of SFC20 in use. DB1 and DB2 are both 64 bytes long. Note that if SFC20 fails, the return value will be non-zero and will indicate what is wrong.

view11.JPG
 

Similar Topics

I'm using the Siemens PRONETA software to do some IO testing currently. I love the simplicity and fast testing capability. Does anyone know about...
Replies
0
Views
67
Hi, First time user of S5 Siemens. Is there any solution on how to solve this kind of error. HMI OP7 $613 DB-error No. 11 (0: 15) Siemens PLC...
Replies
9
Views
160
Hello, I have an issue where I want to simulate an Siemens HMI panel, through NAT connection to a PLC. I have the possibility through extended...
Replies
4
Views
140
Hi all! Please inform me if i can make programing of the HMI SIEMENS IPC477D from TIA Portal software or not? I do not have WINCC software but...
Replies
1
Views
101
I have never had the pleasure of working with a "Thermistor" until now and have a question. The Thermistor is a 10KOhm 4-20mA 2-wire device and I...
Replies
4
Views
137
Back
Top Bottom