TAR2 #tTempAR2
// Create Pointer To HMI Data
L P##iHMIData
AD DW#16#FFFFFF
LAR1
LAR2 P##tHMIDataPointer
L DIB [AR1,P#0.0] // 10 hex = S7 Data Type
T LB [AR2,P#0.0] // Transfer to Source pointer byte 0
L DIB [AR1,P#1.0] // 2 hex = byte data type
T LB [AR2,P#1.0] // Transfer to Source pointer byte 1
L DIW [AR1,P#2.0] // How many bytes to move
T LW [AR2,P#2.0] // Transfer to Source pointer bytes 2-3
L DIW [AR1,P#4.0] // Load DB Number
T LW [AR2,P#4.0] // Transfer to Source pointer bytes 4-5
L DID [AR1,P#6.0] // Load start address of data
T LD [AR2,P#6.0] // Trasfer to Source Pointer bytes 6-9
LAR2 #tTempAR2 // Restore AR2