Skip to content

Commit

Permalink
Merge pull request #20 from tongju12/CVMIStandard
Browse files Browse the repository at this point in the history
reverse back to CVMI standard
  • Loading branch information
ZLLentz authored Sep 2, 2022
2 parents 9a253c9 + b62260d commit fe13915
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 37 deletions.
10 changes: 5 additions & 5 deletions plc-cvmi-vac/plc-cvmi-vac/plc_cvmi_vac/POUs/MAIN.TcPOU
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ b_TurboPumpRunningFlag :=
(CVMI_GJ_PTM_04.iq_stPtm.eState = E_PumpState.pumpRUNNING) AND
//(CVMI_MAIN_PTM_01.iq_stPtm.i_xAtSpd) AND There is currently no readback so Turbo pump state is not checked.
(CVMI_CATCH_PTM_01.iq_stPtm.i_xAtSpd) AND
// (CVMI_KTOF_PTM_01.iq_stPtm.i_xAtSpd) AND
(CVMI_KTOF_PTM_01.iq_stPtm.i_xAtSpd) AND
// (CVMI_KTOF_PTM_02.iq_stPtm.i_xAtSpd) AND Currently not installed
(CVMI_ROUGH_PTM_01.iq_stPtm.i_xAtSpd);
TurboPumpTOF(IN:= b_TurboPumpRunningFlag, PT := TurboPumpDelayTime);
Expand Down Expand Up @@ -188,7 +188,7 @@ xHighVoltageSafteyLoopEnable:= (CVMI_CATCH_GCC_01.IG.rPRESS <= rHighVoltageMinPr
x_onBeamline:= xOnBeamline),
iq_stPtm=> );
(* CVMI_KTOF_PTM_01(
CVMI_KTOF_PTM_01(
i_xExtILKOk:= F_Turbo_NC_NO_Valve_Logic_NC(
i_stTurbo:= CVMI_KTOF_PTM_01.iq_stPtm,
i_stISG:= CVMI_GJ_GPI_01.PG,
Expand All @@ -201,7 +201,7 @@ xHighVoltageSafteyLoopEnable:= (CVMI_CATCH_GCC_01.IG.rPRESS <= rHighVoltageMinPr
iq_stRoughRoughValve_NC_second_xOpenLS:=xTMO_ROUGH2_VRC_01_OPEN_LS,
x_onBeamline:= xOnBeamline),
iq_stPtm=> );
*)
(*
CVMI_KTOF_PTM_02(
i_xExtILKOk:= F_Turbo_NC_NO_Valve_Logic_NC(
Expand Down Expand Up @@ -254,14 +254,14 @@ fb_PfeifferCom_CVMI_ROUGH_PTM_01(astPfeifferControl := st_Pfeiffer_CTRL_CVMI_ROU
SerialTXBuffer:= SerialTXBuffer_CVMI_ROUGH_PTM_01);
CVMI_ROUGH_PTM_01.M_Serial_IO(st_Pfeiffer_RBK:= st_Pfeiffer_RBK_CVMI_ROUGH_PTM_01[1], st_Pfeiffer_CTRL:= st_Pfeiffer_CTRL_CVMI_ROUGH_PTM_01[1]);
(*st_Pfeiffer_CTRL_CVMI_KTOF_PTM_01[1].iSerialAddress :=1;
st_Pfeiffer_CTRL_CVMI_KTOF_PTM_01[1].iSerialAddress :=1;
st_Pfeiffer_CTRL_CVMI_KTOF_PTM_01[1].xEnableComm := TRUE;
fb_PfeifferCom_CVMI_KTOF_PTM_01(astPfeifferControl := st_Pfeiffer_CTRL_CVMI_KTOF_PTM_01,
astPfeifferStatus:= st_Pfeiffer_RBK_CVMI_KTOF_PTM_01,
SerialRXBuffer:= SerialRXBuffer_CVMI_KTOF_PTM_01,
SerialTXBuffer:= SerialTXBuffer_CVMI_KTOF_PTM_01);
CVMI_KTOF_PTM_01.M_Serial_IO(st_Pfeiffer_RBK:= st_Pfeiffer_RBK_CVMI_KTOF_PTM_01[1], st_Pfeiffer_CTRL:= st_Pfeiffer_CTRL_CVMI_KTOF_PTM_01[1]);
*)
(*
st_Pfeiffer_CTRL_CVMI_KTOF_PTM_02[1].iSerialAddress :=1;
st_Pfeiffer_CTRL_CVMI_KTOF_PTM_02[1].xEnableComm := TRUE;
Expand Down
3 changes: 1 addition & 2 deletions plc-cvmi-vac/plc-cvmi-vac/plc_cvmi_vac/POUs/PRG_COM.TcPOU
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fbSerialLineControl_CVMI_ROUGH_PTM_01(
Error=> ,
ErrorID=> );
(* fbSerialLineControl_CVMI_KTOF_PTM_01(
fbSerialLineControl_CVMI_KTOF_PTM_01(
Mode:= SERIALLINEMODE_EL6_22B,
pComIn:= ADR(stComIn_CVMI_KTOF_PTM_01),
pComOut:=ADR(stComOut_CVMI_KTOF_PTM_01),
Expand All @@ -36,7 +36,6 @@ fbSerialLineControl_CVMI_ROUGH_PTM_01(
RxBuffer:= SerialRXBuffer_CVMI_KTOF_PTM_01,
Error=> ,
ErrorID=> );
*)
(*
fbSerialLineControl_CVMI_KTOF_PTM_02(
Expand Down
60 changes: 30 additions & 30 deletions plc-cvmi-vac/plc-cvmi-vac/plc_cvmi_vac/plc_cvmi_vac.tmc

Large diffs are not rendered by default.

0 comments on commit fe13915

Please sign in to comment.