3/15/2013 10:57 AM | |
Joined: 1/28/2009 Last visit: 8/26/2024 Posts: 6846 Rating:
|
Hello, This function (SFC20) is used to copy memory area from source (SRCBLK) to the destination area (DSTBLK). Check your original S5 program to see what is the nature of this memory transfer.In the example provided MB0 to MB8 are transferred to MB100 to MB108. [code] CALL "BLKMOV" SRCBLK :=P#M 0.0 BYTE 8 RET_VAL:=#ret DSTBLK :=P#M 100.0 BYTE 8[/code] See the attachment for more information. Note:If you are trying to find equivalents for standard blocks or blocks for communication modules, Inform to tell you about possibilities and solutions in S7. Best regards Hamid Hosseini AttachmentPrinting _Copying Variables with SFC 20 _BLKMOV_.pdf (750 Downloads) |
Last edited by: hdhosseini at: 3/15/2013 11:02 AM |
|
9/14/2015 6:03 AM | |
Joined: 5/12/2009 Last visit: 10/25/2021 Posts: 4 Rating:
|
Would you post the solution of your example.... TNB TO SFC20 Thanks in advance |
Follow us on