Simatic S7 SFC20(BLKMOV) Question

arocon

Member
Join Date
Oct 2006
Location
Dubai
Posts
171
In one network SFC20(BLkMOV) is used to transfer 8 byte data from P#DB500.DBX8.0(SRC BLK) to P#DB20.DBX4.0(DST BLK).

I would like to change P#DB500.DBX8.0 to P#DB1000.DBX8.0. But it does not accept. Though both are same data type.

Could anyone please as soon as possible tell me what is the problem ?

Thank you
 
There are 2 methodes

1 Use any parameters
Code:
      CALL  "BLKMOV"
       SRCBLK :=P#DB500.DBX8.0 BYTE 8
       RET_VAL:=MW20
       DSTBLK :=P#DB1000.DBX8.0 BYTE 8

2 use symbolik adressing and siemens knows the any parameter
the byte's to move must be in a structure
Code:
    CALL  "BLKMOV"
       SRCBLK :="datablock500".ByteStruct
       RET_VAL:=MW20
       DSTBLK :="datablock1000".ByteStruct
 
You don't say what CPU you are using. DB1000 may be outside the addressable range of the CPU but probably not as you are already using DB500. The other thing to check is that DB1000 is at least 16 bytes long or there will not be room for the data.

Nick
 
Last edited:

Similar Topics

Dear sir, I am using SIMATIC 300, CPU 315-2DP , (6ES7 315-2AF03-0AB0) VIPA 603-1CC21 A1.0 RAM 32KB, Firmware=V4.0.8 The problem Im using MPI...
Replies
1
Views
66
Hi, I received this SIMATIC S7-300 training kit for maintenance. When I power it up, the PLC doesn't go to RUN mode and the STOP mode led is...
Replies
7
Views
258
I'm trying to build my Classic Step 7 programming skills this weekend. I get stuck on little things that are not covered in YouTube tutorials. I'm...
Replies
7
Views
248
I am utilizing both HMI and SCADA for my project. Both HMI and SCADA have identical tags. When I modify the tag value on HMI, it is reflected in...
Replies
2
Views
114
Got a VIPA 315-2AG23 that i try to go online with but can't seem to make it work through a network. I can go online if i'm plugged directly in the...
Replies
4
Views
230
Back
Top Bottom