From a502e2275b54fa63189741b2b8dd670dbbcfb22f Mon Sep 17 00:00:00 2001 From: Kristina Jurisic Date: Mon, 1 Nov 2021 12:53:52 +0100 Subject: [PATCH] Set pneumatic axis to 1 --- solution/_Config/PLC/tc_project_app.xti | 106 +++++++++++++++++++++ solution/tc_project_app/GVLs/GVL_APP.TcGVL | 2 +- 2 files changed, 107 insertions(+), 1 deletion(-) diff --git a/solution/_Config/PLC/tc_project_app.xti b/solution/_Config/PLC/tc_project_app.xti index 9067711..b8a7f4e 100644 --- a/solution/_Config/PLC/tc_project_app.xti +++ b/solution/_Config/PLC/tc_project_app.xti @@ -4,6 +4,112 @@ tc_project_app Instance {08500001-0000-0000-F000-000000000064} + + PlcTask Inputs + + GVL.astPneumaticAxes[1].stPneumaticAxisInputs.bLimitFwd + + BOOL + + + GVL.astPneumaticAxes[1].stPneumaticAxisInputs.bLimitBwd + + BOOL + + + GVL.astPneumaticAxes[1].stPneumaticAxisInputs.bExtendValve + + BOOL + + + GVL.astPneumaticAxes[1].stPneumaticAxisInputs.bRetractValve + + BOOL + + + GVL.astPneumaticAxes[1].stPneumaticAxisInputs.bPSSPermit + + BOOL + + + GVL.astPneumaticAxes[1].stPneumaticAxisInputs.bInterlock + + BOOL + + + GVL.astPneumaticAxes[1].stPneumaticAxisInputs.bPressureExtend + + BOOL + + + GVL.astPneumaticAxes[1].stPneumaticAxisInputs.bPressureRetract + + BOOL + + + GVL.astPneumaticAxes[1].stPneumaticAxisInputs.nAirPressureValve + + REAL + + + GVL.astPneumaticAxes[1].stPneumaticAxisInputs.bExtendManual + + BOOL + + + GVL.astPneumaticAxes[1].stPneumaticAxisInputs.bRetractManual + + BOOL + + + + PlcTask Outputs + + GVL.astPneumaticAxes[1].stPneumaticAxisOutputs.bLimitFwdOn + + BOOL + + + GVL.astPneumaticAxes[1].stPneumaticAxisOutputs.bLimitBwdOn + + BOOL + + + GVL.astPneumaticAxes[1].stPneumaticAxisOutputs.bValveOn + + BOOL + + + GVL.astPneumaticAxes[1].stPneumaticAxisOutputs.bSolenoidExtendOn + + BOOL + + + GVL.astPneumaticAxes[1].stPneumaticAxisOutputs.bPressureExtendOn + + BOOL + + + GVL.astPneumaticAxes[1].stPneumaticAxisOutputs.bPressureRetractOn + + BOOL + + + GVL.astPneumaticAxes[1].stPneumaticAxisOutputs.fAirPressureOn + + REAL + + + GVL.astPneumaticAxes[1].stPneumaticAxisOutputs.bExtendManualOn + + BOOL + + + GVL.astPneumaticAxes[1].stPneumaticAxisOutputs.bRetractManualOn + + BOOL + + 0 diff --git a/solution/tc_project_app/GVLs/GVL_APP.TcGVL b/solution/tc_project_app/GVLs/GVL_APP.TcGVL index f8c5309..ad50ed4 100644 --- a/solution/tc_project_app/GVLs/GVL_APP.TcGVL +++ b/solution/tc_project_app/GVLs/GVL_APP.TcGVL @@ -9,7 +9,7 @@ END_VAR VAR_GLOBAL CONSTANT nAXIS_NUM: UINT := 0; (*~ (OPC: 1 : available for OPC-clients) (OPC_PROP[0005]: 1 : OPC_PROP_RIGHTS, here read only) *) - nPNEUMATIC_AXIS_NUM: UINT := 0; + nPNEUMATIC_AXIS_NUM: UINT := 1; END_VAR ]]>