In some date block I have DATE_AND_TIME data. I would like to copy it to another data block. How can I do it? Should I use SFC20? Could anybody write an example?
The DATE_AND_TIME format is 8 Bytes long, if you know the absolute address of the source, then the easyest way is probably just to do two DWORD load and transfers:
As RMA has stated, load/transfers are the way to go in this example. However, shown below is the syntax for using SFC20 to do the same job so you will know what to do if you have a bigger area to transfer in the future.