NOP 0
L #tmpAktTicker //設為a
L #stat_delaytime_Start //設為b
>=D
JCN OV1 //當a<b時跳轉到OV1標志
-D
T #tmpAktFB_Time //設為c 否則c=a-b
JU CMD1 //跳轉到CMD1標志
OV1: NOP 0 //當a<b時執行該段程序
L L#2147483647
L #stat_delaytime_Start
-D
L #tmpAktTicker
+D
T #tmpAktFB_Time //c=(2147483647-b+a)
CMD1: NOP 0
L 1000
L #HMI_TimePV_ok //設為d
*D
L #tmpAktFB_Time
<D
= #tmp_PV_ok //設為e
//當d*1000<c時,e為ON