L P##P_Sync_P //Read parameter DB to the temporary memory
LAR1
L W [AR1,P#0.0]
T #V_Temp1
L D [AR1,P#2.0]
T #V_Temp2
L D [AR1,P#6.0]
LAR1 P##V_DB_Address_Pointer//这里面是什么指针??
T D [AR1,P#6.0]
L #V_Temp2
T D [AR1,P#2.0]
L #V_Temp1
T W [AR1,P#0.0]
CALL "BLKMOV" //Save parameter DB content to the temporary memory
SRCBLK :=#V_DB_Address_Pointer
RET_VAL:=#V_SFC_RetVal
DSTBLK :=#V_Sync_P
L P##P_Sync_V
LAR1
L W [AR1,P#0.0]
T #V_Temp1
L D [AR1,P#2.0]
T #V_Temp2
L D [AR1,P#6.0]
LAR1 P##V_DB_Address_Pointer
T D [AR1,P#6.0]
L #V_Temp2
T D [AR1,P#2.0]
L #V_Temp1
T W [AR1,P#0.0]
CALL "BLKMOV" //Save variable DB content to the temporary memory
SRCBLK :=#V_DB_Address_Pointer
RET_VAL:=#V_SFC_RetVal
DSTBLK :=#V_Sync_V