* ------------伺服点动-------------- *)
(* --堆叠伺服回原点-- *)
IF (g_xManual AND DF(HMI_伺服回原点)) THEN
堆叠伺服.I_xHomeCMD:=TRUE;
END_IF;
IF (g_xManual AND DFN(HMI_伺服回原点)) THEN
堆叠伺服.I_xHomeCMD:=FALSE;
END_IF;
堆叠伺服.I_xJogForward :=g_xManual AND HMI_伺服前进 AND NOT X406_输入;
堆叠伺服.I_xJogBackward :=g_xManual AND HMI_伺服后退 AND NOT X408_输入;
堆叠伺服.I_x清除错误请求:=g_xManual AND HMI_伺服复位;
(* --伺服2回原点-- *)
IF (g_xManual AND DF(HMI_伺服2回原点)) THEN
伺服2.I_xHomeCMD:=TRUE;
END_IF;
IF (g_xManual AND DFN(HMI_伺服2回原点)) THEN
伺服2.I_xHomeCMD:=FALSE;
END_IF;
伺服2.I_xJogForward:=( g_xManual AND HMI_伺服2前进 ) OR g_伺服2前进 ;
伺服2. I_xJogBackward :=g_xManual AND HMI_伺服2后退 ;
伺服2.I_x清除错误请求:=g_xManual AND HMI_伺服复位;