L D[AR2P#0.0]
Lifetime Supporting Member
I came across the following coding method which appears to use SFC20 to copy from SDB200 (the SDB used for configured connections) by specifying the source area as DW#16#89000000
Has anyone any experience of using SFC20 for this purpose ?
Has anyone any experience of using SFC20 for this purpose ?
Code:
L P##psource
LAR1
L W#16#1002
T W [AR1,P#0.0]
L 2
T W [AR1,P#2.0]
L 200
T W [AR1,P#4.0]
L DW#16#89000000
T D [AR1,P#6.0]
CALL SFC 20
SRCBLK :=#pSource
RET_VAL:=MW100
DSTBLK :=#WData