From 6ca763559123d678fcb6754dbbfab6dd41465622 Mon Sep 17 00:00:00 2001 From: tongju12 Date: Thu, 10 Aug 2023 14:37:06 -0700 Subject: [PATCH 1/2] adding sp1k4-att states and PMPS --- plc-tmo-motion/_Config/PLC/tmo_motion.xti | 331 ++- .../DUTs/ENUM_SolidAttenuator_Staes.TcDUT | 21 + .../DUTs/ENUM_ZonePlate_States.TcDUT | 38 +- .../tmo_motion/POUs/PRG_SP1K4.TcPOU | 398 ++- plc-tmo-motion/tmo_motion/tmo_motion.plcproj | 3 + plc-tmo-motion/tmo_motion/tmo_motion.tmc | 2426 ++++++++++++----- 6 files changed, 2237 insertions(+), 980 deletions(-) create mode 100644 plc-tmo-motion/tmo_motion/DUTs/ENUM_SolidAttenuator_Staes.TcDUT diff --git a/plc-tmo-motion/_Config/PLC/tmo_motion.xti b/plc-tmo-motion/_Config/PLC/tmo_motion.xti index 79029b2..3a91422 100644 --- a/plc-tmo-motion/_Config/PLC/tmo_motion.xti +++ b/plc-tmo-motion/_Config/PLC/tmo_motion.xti @@ -3696,6 +3696,300 @@ External Setpoint Generation: INT + + PRG_SP1K4.fbATTStates.astMotionStageMax[1].Axis.NcToPlc + NCTOPLC_AXIS_REF + + AxisState + + + + + + HomingState + + + + + + CoupleState + + + + + + + PRG_SP1K4.fbATTStates.astMotionStageMax[1].bLimitForwardEnable + + + + BOOL + + + PRG_SP1K4.fbATTStates.astMotionStageMax[1].bLimitBackwardEnable + + + + BOOL + + + PRG_SP1K4.fbATTStates.astMotionStageMax[1].bHome + + + + BOOL + + + PRG_SP1K4.fbATTStates.astMotionStageMax[1].bHardwareEnable + + + + BOOL + + + PRG_SP1K4.fbATTStates.astMotionStageMax[1].nRawEncoderULINT + + + + ULINT + + + PRG_SP1K4.fbATTStates.astMotionStageMax[1].nRawEncoderUINT + + + + UINT + + + PRG_SP1K4.fbATTStates.astMotionStageMax[1].nRawEncoderINT + + + + INT + + + PRG_SP1K4.fbATTStates.astMotionStageMax[2].Axis.NcToPlc + NCTOPLC_AXIS_REF + + AxisState + + + + + + HomingState + + + + + + CoupleState + + + + + + + PRG_SP1K4.fbATTStates.astMotionStageMax[2].bLimitForwardEnable + + + + BOOL + + + PRG_SP1K4.fbATTStates.astMotionStageMax[2].bLimitBackwardEnable + + + + BOOL + + + PRG_SP1K4.fbATTStates.astMotionStageMax[2].bHome + + + + BOOL + + + PRG_SP1K4.fbATTStates.astMotionStageMax[2].bHardwareEnable + + + + BOOL + + + PRG_SP1K4.fbATTStates.astMotionStageMax[2].nRawEncoderULINT + + + + ULINT + + + PRG_SP1K4.fbATTStates.astMotionStageMax[2].nRawEncoderUINT + + + + UINT + + + PRG_SP1K4.fbATTStates.astMotionStageMax[2].nRawEncoderINT + + + + INT + + + PRG_SP1K4.fbATTStates.astMotionStageMax[3].Axis.NcToPlc + NCTOPLC_AXIS_REF + + AxisState + + + + + + HomingState + + + + + + CoupleState + + + + + + + PRG_SP1K4.fbATTStates.astMotionStageMax[3].bLimitForwardEnable + + + + BOOL + + + PRG_SP1K4.fbATTStates.astMotionStageMax[3].bLimitBackwardEnable + + + + BOOL + + + PRG_SP1K4.fbATTStates.astMotionStageMax[3].bHome + + + + BOOL + + + PRG_SP1K4.fbATTStates.astMotionStageMax[3].bHardwareEnable + + + + BOOL + + + PRG_SP1K4.fbATTStates.astMotionStageMax[3].nRawEncoderULINT + + + + ULINT + + + PRG_SP1K4.fbATTStates.astMotionStageMax[3].nRawEncoderUINT + + + + UINT + + + PRG_SP1K4.fbATTStates.astMotionStageMax[3].nRawEncoderINT + + + + INT + PRG_3_PMPS_POST.fbArbiterIO.i_stCurrentBP ST_BeamParams_IO @@ -8469,11 +8763,40 @@ External Setpoint Generation: BOOL - GVL_PMPS.PMPS_ST4K4_IN + PRG_SP1K4.fbATTStates.astMotionStageMax[1].Axis.PlcToNc + PLCTONC_AXIS_REF + + + PRG_SP1K4.fbATTStates.astMotionStageMax[1].bBrakeRelease + + + BOOL - GVL_PMPS.PMPS_ST4K4_OUT + PRG_SP1K4.fbATTStates.astMotionStageMax[2].Axis.PlcToNc + PLCTONC_AXIS_REF + + + PRG_SP1K4.fbATTStates.astMotionStageMax[2].bBrakeRelease + + + + BOOL + + + PRG_SP1K4.fbATTStates.astMotionStageMax[3].Axis.PlcToNc + PLCTONC_AXIS_REF + + + PRG_SP1K4.fbATTStates.astMotionStageMax[3].bBrakeRelease + + + + BOOL + + + GVL_PMPS.PMPS_ST4K4_IN BOOL @@ -8614,6 +8937,10 @@ External Setpoint Generation: GVL_PMPS.fbFastFaultOutput2.q_xFastFaultOut BOOL + + GVL_PMPS.PMPS_ST4K4_OUT + BOOL + Main.M1.Axis.PlcToNc PLCTONC_AXIS_REF diff --git a/plc-tmo-motion/tmo_motion/DUTs/ENUM_SolidAttenuator_Staes.TcDUT b/plc-tmo-motion/tmo_motion/DUTs/ENUM_SolidAttenuator_Staes.TcDUT new file mode 100644 index 0000000..01e8a28 --- /dev/null +++ b/plc-tmo-motion/tmo_motion/DUTs/ENUM_SolidAttenuator_Staes.TcDUT @@ -0,0 +1,21 @@ + + + + + + \ No newline at end of file diff --git a/plc-tmo-motion/tmo_motion/DUTs/ENUM_ZonePlate_States.TcDUT b/plc-tmo-motion/tmo_motion/DUTs/ENUM_ZonePlate_States.TcDUT index 2e85ea9..ffd75b3 100644 --- a/plc-tmo-motion/tmo_motion/DUTs/ENUM_ZonePlate_States.TcDUT +++ b/plc-tmo-motion/tmo_motion/DUTs/ENUM_ZonePlate_States.TcDUT @@ -4,26 +4,26 @@ diff --git a/plc-tmo-motion/tmo_motion/POUs/PRG_SP1K4.TcPOU b/plc-tmo-motion/tmo_motion/POUs/PRG_SP1K4.TcPOU index d5a0d12..0563906 100644 --- a/plc-tmo-motion/tmo_motion/POUs/PRG_SP1K4.TcPOU +++ b/plc-tmo-motion/tmo_motion/POUs/PRG_SP1K4.TcPOU @@ -9,19 +9,19 @@ VAR fbMotionZPY: FB_MotionStage; fbMotionZPZ: FB_MotionStage; fbMotionYAGX: FB_MotionStage; - fbMotionYAGY: FB_MotionStage; + fbMotionYAGY: FB_MotionStage; fbMotionYAGZ: FB_MotionStage; fbMotionYAGR: FB_MotionStage; fbMotionTL1: FB_MotionStage; fbMotionTL2: FB_MotionStage; - fbMotionTLX: FB_MotionStage; - fbMotionFoilY: FB_MotionStage; - - {attribute 'TcLinkTo' := 'TIIB[LensX_EL1004]^Channel 1^Input'} - bHallInput1 AT %I* : BOOL; + fbMotionTLX: FB_MotionStage; + fbMotionFoilY: FB_MotionStage; - {attribute 'TcLinkTo' := 'TIIB[LensX_EL1004]^Channel 2^Input'} - bHallInput2 AT %I* : BOOL; + {attribute 'TcLinkTo' := 'TIIB[LensX_EL1004]^Channel 1^Input'} + bHallInput1 AT %I* : BOOL; + + {attribute 'TcLinkTo' := 'TIIB[LensX_EL1004]^Channel 2^Input'} + bHallInput2 AT %I* : BOOL; {attribute 'TcLinkTo' := 'TIIB[SP1K4-TL1-EL1124]^Channel 1^Input'} bTL1High AT %I*: BOOL; @@ -35,39 +35,68 @@ VAR {attribute 'TcLinkTo' := 'TIIB[SP1K4-TL2-EL1124]^Channel 2^Input'} bTL2Low AT %I*: BOOL; nTL2LowCycles: UINT; - + nNumCyclesNeeded: UINT := 100; - bInit: BOOL :=TRUE; + bInit: BOOL :=TRUE; + + // Placeholder, later this should be TRUE if the attenuator is in and FALSE otherwise + bAttIn: BOOL; - // Placeholder, later this should be TRUE if the attenuator is in and FALSE otherwise - bAttIn: BOOL; - - ////ZP states start - {attribute 'pytmc' := ' + ////ZP states start + {attribute 'pytmc' := ' pv: SP1K4:FZP '} - fbZPStates: FB_PositionStatePMPS3D; - {attribute 'pytmc' := ' + fbZPStates: FB_PositionStatePMPS3D; + {attribute 'pytmc' := ' pv: SP1K4:FZP:STATE:SET io: io '} zp_enumSet: ENUM_ZonePlate_States; - {attribute 'pytmc' := ' + {attribute 'pytmc' := ' pv: SP1K4:FZP:STATE:GET io: io '} zp_enumGet: ENUM_ZonePlate_States; - fbZPSetup: FB_StateSetupHelper; - fbZPDefault: ST_PositionState := ( - fDelta:=0.5, - fVelocity:=1, - bMoveOk:=TRUE, - bValid:=TRUE - ); - aZPXStates: ARRAY[1..GeneralConstants.MAX_STATES] OF ST_PositionState; - aZPYStates: ARRAY[1..GeneralConstants.MAX_STATES] OF ST_PositionState; - aZPZStates: ARRAY[1..GeneralConstants.MAX_STATES] OF ST_PositionState; + fbZPSetup: FB_StateSetupHelper; + fbZPDefault: ST_PositionState := ( + fDelta:=0.5, + fVelocity:=1, + bMoveOk:=TRUE, + bValid:=TRUE + ); + aZPXStates: ARRAY[1..GeneralConstants.MAX_STATES] OF ST_PositionState; + aZPYStates: ARRAY[1..GeneralConstants.MAX_STATES] OF ST_PositionState; + aZPZStates: ARRAY[1..GeneralConstants.MAX_STATES] OF ST_PositionState; + + ////Solid-ATT states start + {attribute 'pytmc' := ' + pv: SP1K4:ATT + '} + fbATTStates: FB_PositionStatePMPS2D; + {attribute 'pytmc' := ' + pv: SP1K4:ATT:STATE:SET + io: io + '} + att_enumSet: ENUM_SolidAttenuator_Staes; + {attribute 'pytmc' := ' + pv: SP1K4:ATT:STATE:GET + io: io + '} + att_enumGet: ENUM_SolidAttenuator_Staes; + fbATTSetup: FB_StateSetupHelper; + fbATTDefault: ST_PositionState := ( + fDelta:=0.5, + fVelocity:=1, + bMoveOk:=TRUE, + bValid:=TRUE + ); + aATTXStates: ARRAY[1..GeneralConstants.MAX_STATES] OF ST_PositionState; + aATTYStates: ARRAY[1..GeneralConstants.MAX_STATES] OF ST_PositionState; + + + + END_VAR ]]> @@ -77,8 +106,7 @@ Main.M32.bLimitForwardEnable := NOT bHallInput1; Main.M32.bLimitBackwardEnable := NOT bHallInput2; fbMotionLensX(stMotionStage:=Main.M32); -// AL Foil X -fbMotionFoilX(stMotionStage:=Main.M33); + //Zone Plate fbMotionZPX(stMotionStage:=Main.M34); fbMotionZPY(stMotionStage:=Main.M35); @@ -147,241 +175,125 @@ fbZPSetup(stPositionState:=aZPYStates[ENUM_ZonePlate_States.FZP290_2], sName:='F fbZPSetup(stPositionState:=aZPZStates[ENUM_ZonePlate_States.FZP290_2], sName:='FZP-290-C2', fPosition:=0); - +bAttIn := att_enumGet <> ENUM_SolidAttenuator_Staes.OUT AND att_enumGet <> ENUM_SolidAttenuator_Staes.Unknown; IF bAttIn THEN - // Attenuator is in, pick the ATT_IN states - aZPXStates[ENUM_ZonePlate_States.OUT].stPMPS.sPmpsState := 'SP1K4:FZP-OUT'; - aZPXStates[ENUM_ZonePlate_States.Yag].stPMPS.sPmpsState := 'SP1K4:FZP-YAG'; - aZPXStates[ENUM_ZonePlate_States.FZP860_1].stPMPS.sPmpsState := 'SP1K4:FZP-860-Ne1_ATT_IN'; - aZPXStates[ENUM_ZonePlate_States.FZP860_2].stPMPS.sPmpsState := 'SP1K4:FZP-860-Ne2_ATT_IN'; - aZPXStates[ENUM_ZonePlate_States.FZP860_3].stPMPS.sPmpsState := 'SP1K4:FZP-860-Ne3_ATT_IN'; - aZPXStates[ENUM_ZonePlate_States.FZP750_1].stPMPS.sPmpsState := 'SP1K4:FZP-750-XPS1_ATT_IN'; - aZPXStates[ENUM_ZonePlate_States.FZP750_2].stPMPS.sPmpsState := 'SP1K4:FZP-750-XPS2_ATT_IN'; - aZPXStates[ENUM_ZonePlate_States.FZP530_1].stPMPS.sPmpsState := 'SP1K4:FZP-530-O1_ATT_IN'; - aZPXStates[ENUM_ZonePlate_States.FZP530_2].stPMPS.sPmpsState := 'SP1K4:FZP-530-O2_ATT_IN'; - aZPXStates[ENUM_ZonePlate_States.FZP460_1].stPMPS.sPmpsState := 'SP1K4:FZP-460-Ti1_ATT_IN'; - aZPXStates[ENUM_ZonePlate_States.FZP460_2].stPMPS.sPmpsState := 'SP1K4:FZP-460-Ti2_ATT_IN'; - aZPXStates[ENUM_ZonePlate_States.FZP410_1].stPMPS.sPmpsState := 'SP1K4:FZP-410-N1_ATT_IN'; - aZPXStates[ENUM_ZonePlate_States.FZP410_2].stPMPS.sPmpsState := 'SP1K4:FZP-410-N2_ATT_IN'; - aZPXStates[ENUM_ZonePlate_States.FZP290_1].stPMPS.sPmpsState := 'SP1K4:FZP-290-C1_ATT_IN'; - aZPXStates[ENUM_ZonePlate_States.FZP290_2].stPMPS.sPmpsState := 'SP1K4:FZP-290-C2_ATT_IN'; - + // Attenuator is in, pick the ATT_IN states + aZPXStates[ENUM_ZonePlate_States.OUT].stPMPS.sPmpsState := 'SP1K4:FZP-OUT'; + aZPXStates[ENUM_ZonePlate_States.Yag].stPMPS.sPmpsState := 'SP1K4:FZP-YAG'; + aZPXStates[ENUM_ZonePlate_States.FZP860_1].stPMPS.sPmpsState := 'SP1K4:FZP-860-Ne1_ATT_IN'; + aZPXStates[ENUM_ZonePlate_States.FZP860_2].stPMPS.sPmpsState := 'SP1K4:FZP-860-Ne2_ATT_IN'; + aZPXStates[ENUM_ZonePlate_States.FZP860_3].stPMPS.sPmpsState := 'SP1K4:FZP-860-Ne3_ATT_IN'; + aZPXStates[ENUM_ZonePlate_States.FZP750_1].stPMPS.sPmpsState := 'SP1K4:FZP-750-XPS1_ATT_IN'; + aZPXStates[ENUM_ZonePlate_States.FZP750_2].stPMPS.sPmpsState := 'SP1K4:FZP-750-XPS2_ATT_IN'; + aZPXStates[ENUM_ZonePlate_States.FZP530_1].stPMPS.sPmpsState := 'SP1K4:FZP-530-O1_ATT_IN'; + aZPXStates[ENUM_ZonePlate_States.FZP530_2].stPMPS.sPmpsState := 'SP1K4:FZP-530-O2_ATT_IN'; + aZPXStates[ENUM_ZonePlate_States.FZP460_1].stPMPS.sPmpsState := 'SP1K4:FZP-460-Ti1_ATT_IN'; + aZPXStates[ENUM_ZonePlate_States.FZP460_2].stPMPS.sPmpsState := 'SP1K4:FZP-460-Ti2_ATT_IN'; + aZPXStates[ENUM_ZonePlate_States.FZP410_1].stPMPS.sPmpsState := 'SP1K4:FZP-410-N1_ATT_IN'; + aZPXStates[ENUM_ZonePlate_States.FZP410_2].stPMPS.sPmpsState := 'SP1K4:FZP-410-N2_ATT_IN'; + aZPXStates[ENUM_ZonePlate_States.FZP290_1].stPMPS.sPmpsState := 'SP1K4:FZP-290-C1_ATT_IN'; + aZPXStates[ENUM_ZonePlate_States.FZP290_2].stPMPS.sPmpsState := 'SP1K4:FZP-290-C2_ATT_IN'; + ELSE - // Attenuator is out, pick the ATT_OUT states - aZPXStates[ENUM_ZonePlate_States.OUT].stPMPS.sPmpsState := 'SP1K4:FZP-OUT'; - aZPXStates[ENUM_ZonePlate_States.Yag].stPMPS.sPmpsState := 'SP1K4:FZP-YAG'; - aZPXStates[ENUM_ZonePlate_States.FZP860_1].stPMPS.sPmpsState := 'SP1K4:FZP-860-Ne1_ATT_OUT'; - aZPXStates[ENUM_ZonePlate_States.FZP860_2].stPMPS.sPmpsState := 'SP1K4:FZP-860-Ne2_ATT_OUT'; - aZPXStates[ENUM_ZonePlate_States.FZP860_3].stPMPS.sPmpsState := 'SP1K4:FZP-860-Ne3_ATT_OUT'; - aZPXStates[ENUM_ZonePlate_States.FZP750_1].stPMPS.sPmpsState := 'SP1K4:FZP-750-XPS1_ATT_OUT'; - aZPXStates[ENUM_ZonePlate_States.FZP750_2].stPMPS.sPmpsState := 'SP1K4:FZP-750-XPS2_ATT_OUT'; - aZPXStates[ENUM_ZonePlate_States.FZP530_1].stPMPS.sPmpsState := 'SP1K4:FZP-530-O1_ATT_OUT'; - aZPXStates[ENUM_ZonePlate_States.FZP530_2].stPMPS.sPmpsState := 'SP1K4:FZP-530-O2_ATT_OUT'; - aZPXStates[ENUM_ZonePlate_States.FZP460_1].stPMPS.sPmpsState := 'SP1K4:FZP-460-Ti1_ATT_OUT'; - aZPXStates[ENUM_ZonePlate_States.FZP460_2].stPMPS.sPmpsState := 'SP1K4:FZP-460-Ti2_ATT_OUT'; - aZPXStates[ENUM_ZonePlate_States.FZP410_1].stPMPS.sPmpsState := 'SP1K4:FZP-410-N1_ATT_OUT'; - aZPXStates[ENUM_ZonePlate_States.FZP410_2].stPMPS.sPmpsState := 'SP1K4:FZP-410-N2_ATT_OUT'; - aZPXStates[ENUM_ZonePlate_States.FZP290_1].stPMPS.sPmpsState := 'SP1K4:FZP-290-C1_ATT_OUT'; - aZPXStates[ENUM_ZonePlate_States.FZP290_2].stPMPS.sPmpsState := 'SP1K4:FZP-290-C2_ATT_OUT'; + // Attenuator is out, pick the ATT_OUT states + aZPXStates[ENUM_ZonePlate_States.OUT].stPMPS.sPmpsState := 'SP1K4:FZP-OUT'; + aZPXStates[ENUM_ZonePlate_States.Yag].stPMPS.sPmpsState := 'SP1K4:FZP-YAG'; + aZPXStates[ENUM_ZonePlate_States.FZP860_1].stPMPS.sPmpsState := 'SP1K4:FZP-860-Ne1_ATT_OUT'; + aZPXStates[ENUM_ZonePlate_States.FZP860_2].stPMPS.sPmpsState := 'SP1K4:FZP-860-Ne2_ATT_OUT'; + aZPXStates[ENUM_ZonePlate_States.FZP860_3].stPMPS.sPmpsState := 'SP1K4:FZP-860-Ne3_ATT_OUT'; + aZPXStates[ENUM_ZonePlate_States.FZP750_1].stPMPS.sPmpsState := 'SP1K4:FZP-750-XPS1_ATT_OUT'; + aZPXStates[ENUM_ZonePlate_States.FZP750_2].stPMPS.sPmpsState := 'SP1K4:FZP-750-XPS2_ATT_OUT'; + aZPXStates[ENUM_ZonePlate_States.FZP530_1].stPMPS.sPmpsState := 'SP1K4:FZP-530-O1_ATT_OUT'; + aZPXStates[ENUM_ZonePlate_States.FZP530_2].stPMPS.sPmpsState := 'SP1K4:FZP-530-O2_ATT_OUT'; + aZPXStates[ENUM_ZonePlate_States.FZP460_1].stPMPS.sPmpsState := 'SP1K4:FZP-460-Ti1_ATT_OUT'; + aZPXStates[ENUM_ZonePlate_States.FZP460_2].stPMPS.sPmpsState := 'SP1K4:FZP-460-Ti2_ATT_OUT'; + aZPXStates[ENUM_ZonePlate_States.FZP410_1].stPMPS.sPmpsState := 'SP1K4:FZP-410-N1_ATT_OUT'; + aZPXStates[ENUM_ZonePlate_States.FZP410_2].stPMPS.sPmpsState := 'SP1K4:FZP-410-N2_ATT_OUT'; + aZPXStates[ENUM_ZonePlate_States.FZP290_1].stPMPS.sPmpsState := 'SP1K4:FZP-290-C1_ATT_OUT'; + aZPXStates[ENUM_ZonePlate_States.FZP290_2].stPMPS.sPmpsState := 'SP1K4:FZP-290-C2_ATT_OUT'; END_IF fbZPStates( - stMotionStage1:=Main.M34, - stMotionStage2:=Main.M35, - stMotionStage3:=Main.M36, - astPositionState1:=aZPXStates, - astPositionState2:=aZPYStates, - astPositionState3:=aZPZStates, - eEnumSet:=zp_enumSet, - eEnumGet:=zp_enumGet, - fbFFHWO:=fbFastFaultOutput1, - fbArbiter:=fbArbiter, - bEnableMotion:=TRUE, - bEnableBeamParams:=TRUE, - bEnablePositionLimits:=TRUE, - sDeviceName:='SP1K4:FZP', - sTransitionKey:='SP1K4:FZP-TRANSITION', -); - - - -{* - IF (bInit) THEN - bInit := FALSE; - fb_ZPS.fbStates_x.stout.fPosition := -80; - fb_ZPS.fbStates_y.stout.fPosition := -7.7; - //fbMotionZPZ.stOut.fPosition := 11; -// fb_ZPS.fbStates_x.stOut.nRequestAssertionID := 16#5300; -// fb_ZPS.fbStates_y.stOut.nRequestAssertionID := 16#5301; - fb_ZPS.fbStates_x.stOut.stPMPS.sPmpsState := 'SP1K4:FZP-OUT_X'; - fb_ZPS.fbStates_y.stOut.stPMPS.sPmpsState := 'SP1K4:FZP-OUT_Y'; - - fb_ZPS.fbStates_x.stYag.fPosition := -17; - fb_ZPS.fbStates_y.stYag.fPosition := -2.7; -// fb_ZPS.fbStates_x.stYag.nRequestAssertionID := 16#5302; -// fb_ZPS.fbStates_y.stYag.nRequestAssertionID := 16#5303; - fb_ZPS.fbStates_x.stYag.stPMPS.sPmpsState := 'SP1K4:FZP-YAG_X'; - fb_ZPS.fbStates_y.stYag.stPMPS.sPmpsState := 'SP1K4:FZP-YAG_Y'; - - fb_ZPS.fbStates_x.stNe1.fPosition := +13; - fb_ZPS.fbStates_y.stNe1.fPosition := -12.7; -// fb_ZPS.fbStates_x.stNe1.nRequestAssertionID := 16#5304; -// fb_ZPS.fbStates_y.stNe1.nRequestAssertionID := 16#5305; - fb_ZPS.fbStates_x.stNe1.stPMPS.sPmpsState := 'SP1K4:FZP-860_1_X'; - fb_ZPS.fbStates_y.stNe1.stPMPS.sPmpsState := 'SP1K4:FZP-860_1_Y'; - - fb_ZPS.fbStates_x.stNe2.fPosition := +3; - fb_ZPS.fbStates_y.stNe2.fPosition := -2.7; -// fb_ZPS.fbStates_x.stNe2.nRequestAssertionID := 16#5306; -// fb_ZPS.fbStates_y.stNe2.nRequestAssertionID := 16#5307; - fb_ZPS.fbStates_x.stNe2.stPMPS.sPmpsState := 'SP1K4:FZP-860_2_X'; - fb_ZPS.fbStates_y.stNe2.stPMPS.sPmpsState := 'SP1K4:FZP-860_2_Y'; - - fb_ZPS.fbStates_x.stNe3.fPosition := +13; - fb_ZPS.fbStates_y.stNe3.fPosition := -2.7; -// fb_ZPS.fbStates_x.stNe3.nRequestAssertionID := 16#5308; -// fb_ZPS.fbStates_y.stNe3.nRequestAssertionID := 16#5309; - fb_ZPS.fbStates_x.stNe3.stPMPS.sPmpsState := 'SP1K4:FZP-860_3_X'; - fb_ZPS.fbStates_y.stNe3.stPMPS.sPmpsState := 'SP1K4:FZP-860_3_Y'; - - fb_ZPS.fbStates_x.st3w1.fPosition := -17; - fb_ZPS.fbStates_y.st3w1.fPosition := -2.7; -// fb_ZPS.fbStates_x.st3w1.nRequestAssertionID := 16#5310; -// fb_ZPS.fbStates_y.st3w1.nRequestAssertionID := 16#5311; - fb_ZPS.fbStates_x.st3w1.stPMPS.sPmpsState := 'SP1K4:FZP-750_1_X'; - fb_ZPS.fbStates_y.st3w1.stPMPS.sPmpsState := 'SP1K4:FZP-750_1_Y'; - - fb_ZPS.fbStates_x.st3w2.fPosition := -7; - fb_ZPS.fbStates_y.st3w2.fPosition := -2.7; -// fb_ZPS.fbStates_x.st3w2.nRequestAssertionID := 16#5312; -// fb_ZPS.fbStates_y.st3w2.nRequestAssertionID := 16#5313; - fb_ZPS.fbStates_x.st3w2.stPMPS.sPmpsState := 'SP1K4:FZP-750_2_X'; - fb_ZPS.fbStates_y.st3w2.stPMPS.sPmpsState := 'SP1K4:FZP-750_2_Y'; - - fb_ZPS.fbStates_x.stO1.fPosition := -27; - fb_ZPS.fbStates_y.stO1.fPosition := -12.7; -// fb_ZPS.fbStates_x.stO1.nRequestAssertionID := 16#5314; -// fb_ZPS.fbStates_y.stO1.nRequestAssertionID := 16#5315; - fb_ZPS.fbStates_x.stO1.stPMPS.sPmpsState := 'SP1K4:FZP-530_1_X'; - fb_ZPS.fbStates_y.stO1.stPMPS.sPmpsState := 'SP1K4:FZP-530_1_Y'; - - fb_ZPS.fbStates_x.stO2.fPosition := -17; - fb_ZPS.fbStates_y.stO2.fPosition := -12.7; -// fb_ZPS.fbStates_x.stO2.nRequestAssertionID := 16#5316; -// fb_ZPS.fbStates_y.stO2.nRequestAssertionID := 16#5317; - fb_ZPS.fbStates_x.stO2.stPMPS.sPmpsState := 'SP1K4:FZP-530_2_X'; - fb_ZPS.fbStates_y.stO2.stPMPS.sPmpsState := 'SP1K4:FZP-530_2_Y'; - - fb_ZPS.fbStates_x.stTi1.fPosition := +23; - fb_ZPS.fbStates_y.stTi1.fPosition := -2.7; -// fb_ZPS.fbStates_x.stTi1.nRequestAssertionID := 16#5318; -// fb_ZPS.fbStates_y.stTi1.nRequestAssertionID := 16#5319; - fb_ZPS.fbStates_x.stTi1.stPMPS.sPmpsState := 'SP1K4:FZP-460_1_X'; - fb_ZPS.fbStates_y.stTi1.stPMPS.sPmpsState := 'SP1K4:FZP-460_1_Y'; - - fb_ZPS.fbStates_x.stTi2.fPosition := +33; - fb_ZPS.fbStates_y.stTi2.fPosition := -2.7; -// fb_ZPS.fbStates_x.stTi2.nRequestAssertionID := 16#5320; -// fb_ZPS.fbStates_y.stTi2.nRequestAssertionID := 16#5321; - fb_ZPS.fbStates_x.stTi2.stPMPS.sPmpsState := 'SP1K4:FZP-460_2_X'; - fb_ZPS.fbStates_y.stTi2.stPMPS.sPmpsState := 'SP1K4:FZP-460_2_Y'; - - fb_ZPS.fbStates_x.stN1.fPosition := +23; - fb_ZPS.fbStates_y.stN1.fPosition := -12.7; -// fb_ZPS.fbStates_x.stN1.nRequestAssertionID := 16#5322; -// fb_ZPS.fbStates_y.stN1.nRequestAssertionID := 16#5323; - fb_ZPS.fbStates_x.stN1.stPMPS.sPmpsState := 'SP1K4:FZP-410_1_X'; - fb_ZPS.fbStates_y.stN1.stPMPS.sPmpsState := 'SP1K4:FZP-410_1_Y'; - - fb_ZPS.fbStates_x.stN2.fPosition := +33; - fb_ZPS.fbStates_y.stN2.fPosition := -12.7; -// fb_ZPS.fbStates_x.stN2.nRequestAssertionID := 16#5324; -// fb_ZPS.fbStates_y.stN2.nRequestAssertionID := 16#5325; - fb_ZPS.fbStates_x.stN2.stPMPS.sPmpsState := 'SP1K4:FZP-410_2_X'; - fb_ZPS.fbStates_y.stN2.stPMPS.sPmpsState := 'SP1K4:FZP-410_2_Y'; - - fb_ZPS.fbStates_x.stC1.fPosition := -7; - fb_ZPS.fbStates_y.stC1.fPosition := -12.7; -// fb_ZPS.fbStates_x.stC1.nRequestAssertionID := 16#5326; -// fb_ZPS.fbStates_y.stC1.nRequestAssertionID := 16#5327; - fb_ZPS.fbStates_x.stC1.stPMPS.sPmpsState := 'SP1K4:FZP-290_1_X'; - fb_ZPS.fbStates_y.stC1.stPMPS.sPmpsState := 'SP1K4:FZP-290_1_Y'; - - fb_ZPS.fbStates_x.stC2.fPosition := +3; - fb_ZPS.fbStates_y.stC2.fPosition := -12.7; -// fb_ZPS.fbStates_x.stC2.nRequestAssertionID := 16#5328; -// fb_ZPS.fbStates_y.stC2.nRequestAssertionID := 16#5329; - fb_ZPS.fbStates_x.stC2.stPMPS.sPmpsState := 'SP1K4:FZP-290_2_X'; - fb_ZPS.fbStates_y.stC2.stPMPS.sPmpsState := 'SP1K4:FZP-290_2_Y'; - - - - //TODO write all details for every state -END_IF -//TODO Give all positions -fb_ZPS( - stXStage := Main.M34, - stYStage := Main.M35, - stZStage := Main.M36, - fbArbiter:= fbArbiter, - fbFFHWO:= fbFastFaultOutput1, - // sPmpsDeviceName := 'SP1K4:FZP', -// sTransitionKey := -(* bEnable:= TRUE, - bReset:= , - bError=> , - nErrorId=> , - sErrorMessage=> , - bBusy=> , - bDone=> , - fbArbiter:= fbArbiter, - fbFFHWO:= fbFastFaultOutput1, - stTransitionBeam:= , - nTransitionAssertionID:= , - nUnknownAssertionID:= , - bArbiterEnabled:= , - tArbiterTimeout:= , - bMoveOnArbiterTimeout:= , - fStateBoundaryDeadband:= , - bBPOKAutoReset:= , - enumSet:= zp_enumSet , - stOut:=stOut, - stYag:=stYag , - stNe1:= , - stNe2:= , - stNe3:= , - st3w1:= , - st3w2:= , - stO2:= , - stO1:= , - stTi1:= , - stTi2:= , - stN1:= , - stN2:= , - stC1:= , - stC2:= , - enumGet=> *) + stMotionStage1:=Main.M34, + stMotionStage2:=Main.M35, + stMotionStage3:=Main.M36, + astPositionState1:=aZPXStates, + astPositionState2:=aZPYStates, + astPositionState3:=aZPZStates, + eEnumSet:=zp_enumSet, + eEnumGet:=zp_enumGet, + fbFFHWO:=fbFastFaultOutput1, + fbArbiter:=fbArbiter, + bEnableMotion:=TRUE, + bEnableBeamParams:=TRUE, + bEnablePositionLimits:=TRUE, + sDeviceName:='SP1K4:FZP', + sTransitionKey:='SP1K4:FZP-TRANSITION', ); -*} - +// Foil X (Solid-ATT-X) +fbMotionFoilX(stMotionStage:=Main.M33); // YAG fbMotionYAGX(stMotionStage:=Main.M37); fbMotionYAGY(stMotionStage:=Main.M38); fbMotionYAGZ(stMotionStage:=Main.M39); -fbMotionYAGR(stMotionStage:=Main.M40); +fbMotionYAGR(stMotionStage:=Main.M40); // Thorlabs fbMotionTL1(stMotionStage:=Main.M41); fbMotionTL2(stMotionStage:=Main.M42); //Thorlab-LenX fbMotionTLX(stMotionStage:=Main.M43); -//FOIL Y +//FOIL Y (Solid-ATT-Y) fbMotionFoilY(stMotionStage:=Main.M44); + +fbATTSetup(stPositionState:=fbATTDefault, bSetDefault:=TRUE); + +fbATTSetup(stPositionState:=aATTXStates[ENUM_SolidAttenuator_Staes.OUT], sName:='OUT', fPosition:=0); +fbATTSetup(stPositionState:=aATTYStates[ENUM_SolidAttenuator_Staes.OUT], sName:='OUT', fPosition:=0); + +fbATTSetup(stPositionState:=aATTXStates[ENUM_SolidAttenuator_Staes.Target1], sName:='TARGET1', fPosition:=0); +fbATTSetup(stPositionState:=aATTYStates[ENUM_SolidAttenuator_Staes.Target1], sName:='TARGET1', fPosition:=0); + +fbATTSetup(stPositionState:=aATTXStates[ENUM_SolidAttenuator_Staes.Target2], sName:='TARGET2', fPosition:=0); +fbATTSetup(stPositionState:=aATTYStates[ENUM_SolidAttenuator_Staes.Target2], sName:='TARGET2', fPosition:=0); + +fbATTSetup(stPositionState:=aATTXStates[ENUM_SolidAttenuator_Staes.Target3], sName:='TARGET3', fPosition:=0); +fbATTSetup(stPositionState:=aATTYStates[ENUM_SolidAttenuator_Staes.Target3], sName:='TARGET3', fPosition:=0); + +fbATTSetup(stPositionState:=aATTXStates[ENUM_SolidAttenuator_Staes.Target4], sName:='TARGET4', fPosition:=0); +fbATTSetup(stPositionState:=aATTYStates[ENUM_SolidAttenuator_Staes.Target4], sName:='TARGET4', fPosition:=0); + +fbATTSetup(stPositionState:=aATTXStates[ENUM_SolidAttenuator_Staes.Target5], sName:='TARGET5', fPosition:=0); +fbATTSetup(stPositionState:=aATTYStates[ENUM_SolidAttenuator_Staes.Target5], sName:='TARGET5', fPosition:=0); + +fbATTStates( + stMotionStage1:=Main.M33, + stMotionStage2:=Main.M44, + astPositionState1:=aATTXStates, + astPositionState2:=aATTYStates, + eEnumSet:=att_enumSet, + eEnumGet:=att_enumGet, + fbFFHWO:=fbFastFaultOutput1, + fbArbiter:=fbArbiter, + bEnableMotion:=TRUE, + bEnableBeamParams:=TRUE, + bEnablePositionLimits:=TRUE, + sDeviceName:='SP1K4:ATT', + sTransitionKey:='SP1K4:ATT-TRANSITION', +); + + + + + + + + IF NOT bTL1High THEN nTL1HighCycles := MIN(nTL1HighCycles + 1, nNumCyclesNeeded); ELSE diff --git a/plc-tmo-motion/tmo_motion/tmo_motion.plcproj b/plc-tmo-motion/tmo_motion/tmo_motion.plcproj index f31b558..1014d13 100644 --- a/plc-tmo-motion/tmo_motion/tmo_motion.plcproj +++ b/plc-tmo-motion/tmo_motion/tmo_motion.plcproj @@ -21,6 +21,9 @@ K + + Code + Code diff --git a/plc-tmo-motion/tmo_motion/tmo_motion.tmc b/plc-tmo-motion/tmo_motion/tmo_motion.tmc index 7260a2f..9fe7fd0 100644 --- a/plc-tmo-motion/tmo_motion/tmo_motion.tmc +++ b/plc-tmo-motion/tmo_motion/tmo_motion.tmc @@ -1,5 +1,5 @@ - + ST_System @@ -180,31 +180,31 @@ bBusy BOOL 8 - 84350320 + 84563784 bError BOOL 8 - 84350352 + 84563816 hrErrorCode HRESULT 32 - 84350360 + 84563824 nStringSize UDINT 32 - 84350344 + 84563808 sResult STRING(255) 2048 - 84350356 + 84563820 __getbBusy @@ -1413,15 +1413,15 @@ nId UDINT 32 - 84350264 - 84350288 + 84563728 + 84563752 sName STRING(255) 2048 - 84350300 - 84350312 + 84563764 + 84563776 __setbCutInstancePathByLastInst @@ -1689,31 +1689,31 @@ eSeverity TcEventSeverity 16 - 84350408 + 84563872 ipSourceInfo I_TcSourceInfo 32 - 84350388 + 84563852 nEventId UDINT 32 - 84350476 + 84563940 sEventClassName STRING(255) 2048 - 84350436 + 84563900 sEventText STRING(255) 2048 - 84350480 + 84563944 EqualsToEventClass @@ -2286,7 +2286,7 @@ nTimeSent ULINT 64 - 84350504 + 84563968 SetJsonAttribute @@ -52688,8 +52688,40 @@ Digital outputs FZP290_2 15 C2 - FZP250_1 := 16 //w1 ? -TODO: is add all therest + FZP250_1 := 16 //w1 + + + + ENUM_SolidAttenuator_Staes + 16 + UINT + + Unknown + 0 + + + OUT + 1 + + + Target1 + 2 + + + Target2 + 3 + + + Target3 + 4 + + + Target4 + 5 + + + Target5 + 6 @@ -52912,6 +52944,339 @@ TODO: is add all therest + + FB_PositionStatePMPS2D + 1506368 + + stMotionStage1 + ST_MotionStage + The 1st motor to move + 32 + 32 + + + ItemType + InOut + + + + + stMotionStage2 + ST_MotionStage + The 2nd motor to move + 32 + 64 + + + ItemType + InOut + + + + + astPositionState1 + ST_PositionState + + 1 + 15 + + All possible position states for motor 1, including unused/invalid states. + 32 + 96 + + + ItemType + InOut + + + pytmc + + pv: STATE:M1 + io: io + expand: :%.2d + + + + + + astPositionState2 + ST_PositionState + + 1 + 15 + + All possible position states for motor 2, including unused/invalid states. + 32 + 128 + + + ItemType + InOut + + + pytmc + + pv: STATE:M2 + io: io + expand: :%.2d + + + + + + eEnumSet + UINT + Set this to a nonzero value to request a new move. It will be reset to zero every cycle. This should be hooked up to a user's EPICS enum input. + 32 + 160 + + + ItemType + InOut + + + + + eEnumGet + UINT + The current state index, or zero if we are not at a state. This should be hooked up to a user's EPICS enum output. + 32 + 192 + + + ItemType + InOut + + + + + fbFFHWO + FB_HardwareFFOutput + The fast fault output to fault to. + 32 + 224 + + + ItemType + InOut + + + + + fbArbiter + FB_Arbiter + The arbiter to request beam conditions from. + 32 + 256 + + + ItemType + InOut + + + + + bEnableMotion + BOOL + Set this to TRUE to enable input state moves, or FALSE to disable them. + 8 + 288 + + + ItemType + Input + + + + + bEnableBeamParams + BOOL + Set this to TRUE to enable beam parameter checks, or FALSE to disable them. + 8 + 296 + + + ItemType + Input + + + + + bEnablePositionLimits + BOOL + Set this to TRUE to enable position limit checks, or FALSE to disable them. + 8 + 304 + + + ItemType + Input + + + + + sDeviceName + STRING(80) + The name of the device for use in the PMPS DB lookup and diagnostic screens. + 648 + 312 + + + ItemType + Input + + + + + sTransitionKey + STRING(80) + The name of the transition state in the PMPS database. + 648 + 960 + + + ItemType + Input + + + + + stEpicsToPlc + ST_StateEpicsToPlc + Normal EPICS inputs, gathered into a single struct + PMPS EPICS inputs, gathered into a single struct + 32 + 1616 + + + ItemType + Input + + + pytmc + pv: STATE + + + + + stPMPSEpicsToPlc + ST_StatePMPSEpicsToPlc + 16 + 1648 + + + ItemType + Input + + + pytmc + pv: STATE + + + + + bReadDBNow + BOOL + Set this to TRUE to re-read the loaded database immediately (useful for debug) + 8 + 1664 + + + ItemType + Input + + + + + stPlcToEpics + ST_StatePlcToEpics + Normal EPICS outputs, gathered into a single struct + 768 + 1696 + + + ItemType + Output + + + pytmc + pv: STATE + + + + + stPMPSPlcToEpics + ST_StatePMPSPlcToEpics + PMPS EPICS outputs, gathered into a single struct + 2496 + 2464 + + + ItemType + Output + + + pytmc + pv: STATE + + + + + stDbStateParams + ST_DbStateParams + The PMPS database lookup associated with the current position state. + 2496 + 4960 + + + ItemType + Output + + + + + fbCore + FB_PositionStateND_Core + 600960 + 7488 + + + fbPMPSCore + FB_PositionStatePMPSND_Core + 658112 + 608448 + + + astMotionStageMax + ST_MotionStage + + 1 + 3 + + 75648 + 1266560 + + + astPositionStateMax + ST_PositionState + + 1 + 3 + + + 1 + 15 + + 164160 + 1342208 + + + + PouType + FunctionBlock + + + ST_BeamParams_IO 1760 @@ -53674,8 +54039,8 @@ TODO: is add all therest nTimestamp ULINT 64 - 84357064 - 84357072 + 84570552 + 84570560 __getnTimestamp @@ -54969,31 +55334,31 @@ TODO: is add all therest bBusy BOOL 8 - 84356632 + 84570120 bError BOOL 8 - 84356664 + 84570152 hrErrorCode HRESULT 32 - 84356668 + 84570156 nStringSize UDINT 32 - 84356656 + 84570144 sEventText STRING(255) 2048 - 84356676 + 84570164 __getbBusy @@ -59127,7 +59492,7 @@ TODO: is add all therest 0 PlcTask Inputs 0 - 85262336 + 85458944 PRG_AL1K4_L2SI.fbAL1K4.fbYStage.fbDriveVirtual.MasterAxis.NcToPlc 2048 @@ -60767,7 +61132,7 @@ TODO: is add all therest Input - 657686784 + 657686976 PRG_SP1K4.fbMotionFoilX.fbDriveVirtual.MasterAxis.NcToPlc @@ -60779,7 +61144,7 @@ TODO: is add all therest Input - 657984704 + 657984896 PRG_SP1K4.fbMotionZPX.fbDriveVirtual.MasterAxis.NcToPlc @@ -60791,7 +61156,7 @@ TODO: is add all therest Input - 658282624 + 658282816 PRG_SP1K4.fbMotionZPY.fbDriveVirtual.MasterAxis.NcToPlc @@ -60803,7 +61168,7 @@ TODO: is add all therest Input - 658580544 + 658580736 PRG_SP1K4.fbMotionZPZ.fbDriveVirtual.MasterAxis.NcToPlc @@ -60815,7 +61180,7 @@ TODO: is add all therest Input - 658878464 + 658878656 PRG_SP1K4.fbMotionYAGX.fbDriveVirtual.MasterAxis.NcToPlc @@ -60827,7 +61192,7 @@ TODO: is add all therest Input - 659176384 + 659176576 PRG_SP1K4.fbMotionYAGY.fbDriveVirtual.MasterAxis.NcToPlc @@ -60839,7 +61204,7 @@ TODO: is add all therest Input - 659474304 + 659474496 PRG_SP1K4.fbMotionYAGZ.fbDriveVirtual.MasterAxis.NcToPlc @@ -60851,7 +61216,7 @@ TODO: is add all therest Input - 659772224 + 659772416 PRG_SP1K4.fbMotionYAGR.fbDriveVirtual.MasterAxis.NcToPlc @@ -60863,7 +61228,7 @@ TODO: is add all therest Input - 660070144 + 660070336 PRG_SP1K4.fbMotionTL1.fbDriveVirtual.MasterAxis.NcToPlc @@ -60875,7 +61240,7 @@ TODO: is add all therest Input - 660368064 + 660368256 PRG_SP1K4.fbMotionTL2.fbDriveVirtual.MasterAxis.NcToPlc @@ -60887,7 +61252,7 @@ TODO: is add all therest Input - 660665984 + 660666176 PRG_SP1K4.fbMotionTLX.fbDriveVirtual.MasterAxis.NcToPlc @@ -60899,7 +61264,7 @@ TODO: is add all therest Input - 660963904 + 660964096 PRG_SP1K4.fbMotionFoilY.fbDriveVirtual.MasterAxis.NcToPlc @@ -60911,7 +61276,7 @@ TODO: is add all therest Input - 661261824 + 661262016 PRG_SP1K4.fbZPStates.astMotionStageMax[1].Axis.NcToPlc @@ -60923,7 +61288,7 @@ TODO: is add all therest Input - 662825024 + 662825216 PRG_SP1K4.fbZPStates.astMotionStageMax[1].bLimitForwardEnable @@ -60946,7 +61311,7 @@ TODO: is add all therest Input - 662832960 + 662833152 PRG_SP1K4.fbZPStates.astMotionStageMax[1].bLimitBackwardEnable @@ -60969,7 +61334,7 @@ TODO: is add all therest Input - 662832968 + 662833160 PRG_SP1K4.fbZPStates.astMotionStageMax[1].bHome @@ -60992,7 +61357,7 @@ TODO: is add all therest Input - 662832976 + 662833168 PRG_SP1K4.fbZPStates.astMotionStageMax[1].bHardwareEnable @@ -61015,7 +61380,7 @@ TODO: is add all therest Input - 662832992 + 662833184 PRG_SP1K4.fbZPStates.astMotionStageMax[1].nRawEncoderULINT @@ -61028,7 +61393,7 @@ TODO: is add all therest Input - 662833024 + 662833216 PRG_SP1K4.fbZPStates.astMotionStageMax[1].nRawEncoderUINT @@ -61041,7 +61406,7 @@ TODO: is add all therest Input - 662833088 + 662833280 PRG_SP1K4.fbZPStates.astMotionStageMax[1].nRawEncoderINT @@ -61054,7 +61419,7 @@ TODO: is add all therest Input - 662833104 + 662833296 PRG_SP1K4.fbZPStates.astMotionStageMax[2].Axis.NcToPlc @@ -61066,7 +61431,7 @@ TODO: is add all therest Input - 662850240 + 662850432 PRG_SP1K4.fbZPStates.astMotionStageMax[2].bLimitForwardEnable @@ -61089,7 +61454,7 @@ TODO: is add all therest Input - 662858176 + 662858368 PRG_SP1K4.fbZPStates.astMotionStageMax[2].bLimitBackwardEnable @@ -61112,7 +61477,7 @@ TODO: is add all therest Input - 662858184 + 662858376 PRG_SP1K4.fbZPStates.astMotionStageMax[2].bHome @@ -61135,7 +61500,7 @@ TODO: is add all therest Input - 662858192 + 662858384 PRG_SP1K4.fbZPStates.astMotionStageMax[2].bHardwareEnable @@ -61158,7 +61523,7 @@ TODO: is add all therest Input - 662858208 + 662858400 PRG_SP1K4.fbZPStates.astMotionStageMax[2].nRawEncoderULINT @@ -61171,7 +61536,7 @@ TODO: is add all therest Input - 662858240 + 662858432 PRG_SP1K4.fbZPStates.astMotionStageMax[2].nRawEncoderUINT @@ -61184,7 +61549,7 @@ TODO: is add all therest Input - 662858304 + 662858496 PRG_SP1K4.fbZPStates.astMotionStageMax[2].nRawEncoderINT @@ -61197,7 +61562,7 @@ TODO: is add all therest Input - 662858320 + 662858512 PRG_SP1K4.fbZPStates.astMotionStageMax[3].Axis.NcToPlc @@ -61209,7 +61574,7 @@ TODO: is add all therest Input - 662875456 + 662875648 PRG_SP1K4.fbZPStates.astMotionStageMax[3].bLimitForwardEnable @@ -61232,7 +61597,7 @@ TODO: is add all therest Input - 662883392 + 662883584 PRG_SP1K4.fbZPStates.astMotionStageMax[3].bLimitBackwardEnable @@ -61255,7 +61620,7 @@ TODO: is add all therest Input - 662883400 + 662883592 PRG_SP1K4.fbZPStates.astMotionStageMax[3].bHome @@ -61278,7 +61643,7 @@ TODO: is add all therest Input - 662883408 + 662883600 PRG_SP1K4.fbZPStates.astMotionStageMax[3].bHardwareEnable @@ -61301,7 +61666,7 @@ TODO: is add all therest Input - 662883424 + 662883616 PRG_SP1K4.fbZPStates.astMotionStageMax[3].nRawEncoderULINT @@ -61314,7 +61679,7 @@ TODO: is add all therest Input - 662883456 + 662883648 PRG_SP1K4.fbZPStates.astMotionStageMax[3].nRawEncoderUINT @@ -61327,7 +61692,7 @@ TODO: is add all therest Input - 662883520 + 662883712 PRG_SP1K4.fbZPStates.astMotionStageMax[3].nRawEncoderINT @@ -61340,7 +61705,436 @@ TODO: is add all therest Input - 662883536 + 662883728 + + + PRG_SP1K4.fbATTStates.astMotionStageMax[1].Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 664587264 + + + PRG_SP1K4.fbATTStates.astMotionStageMax[1].bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + + pv: PLC:bLimitForwardEnable + io: i + field: ZNAM FALSE + field: ONAM TRUE + field: DESC FALSE if forward limit hit + + + + TcAddressType + Input + + + 664595200 + + + PRG_SP1K4.fbATTStates.astMotionStageMax[1].bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + + pv: PLC:bLimitBackwardEnable + io: i + field: ZNAM FALSE + field: ONAM TRUE + field: DESC FALSE if reverse limit hit + + + + TcAddressType + Input + + + 664595208 + + + PRG_SP1K4.fbATTStates.astMotionStageMax[1].bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + + pv: PLC:bHome + io: i + field: ZNAM FALSE + field: ONAM TRUE + field: DESC TRUE if at homing switch + + + + TcAddressType + Input + + + 664595216 + + + PRG_SP1K4.fbATTStates.astMotionStageMax[1].bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + + pv: PLC:bHardwareEnable + io: i + field: ZNAM FALSE + field: ONAM TRUE + field: DESC TRUE if STO not hit + + + + TcAddressType + Input + + + 664595232 + + + PRG_SP1K4.fbATTStates.astMotionStageMax[1].nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 664595264 + + + PRG_SP1K4.fbATTStates.astMotionStageMax[1].nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 664595328 + + + PRG_SP1K4.fbATTStates.astMotionStageMax[1].nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 664595344 + + + PRG_SP1K4.fbATTStates.astMotionStageMax[2].Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 664612480 + + + PRG_SP1K4.fbATTStates.astMotionStageMax[2].bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + + pv: PLC:bLimitForwardEnable + io: i + field: ZNAM FALSE + field: ONAM TRUE + field: DESC FALSE if forward limit hit + + + + TcAddressType + Input + + + 664620416 + + + PRG_SP1K4.fbATTStates.astMotionStageMax[2].bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + + pv: PLC:bLimitBackwardEnable + io: i + field: ZNAM FALSE + field: ONAM TRUE + field: DESC FALSE if reverse limit hit + + + + TcAddressType + Input + + + 664620424 + + + PRG_SP1K4.fbATTStates.astMotionStageMax[2].bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + + pv: PLC:bHome + io: i + field: ZNAM FALSE + field: ONAM TRUE + field: DESC TRUE if at homing switch + + + + TcAddressType + Input + + + 664620432 + + + PRG_SP1K4.fbATTStates.astMotionStageMax[2].bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + + pv: PLC:bHardwareEnable + io: i + field: ZNAM FALSE + field: ONAM TRUE + field: DESC TRUE if STO not hit + + + + TcAddressType + Input + + + 664620448 + + + PRG_SP1K4.fbATTStates.astMotionStageMax[2].nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 664620480 + + + PRG_SP1K4.fbATTStates.astMotionStageMax[2].nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 664620544 + + + PRG_SP1K4.fbATTStates.astMotionStageMax[2].nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 664620560 + + + PRG_SP1K4.fbATTStates.astMotionStageMax[3].Axis.NcToPlc + 2048 + NCTOPLC_AXIS_REF + + + TcAddressType + Input + + + 664637696 + + + PRG_SP1K4.fbATTStates.astMotionStageMax[3].bLimitForwardEnable + NC Forward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + + pv: PLC:bLimitForwardEnable + io: i + field: ZNAM FALSE + field: ONAM TRUE + field: DESC FALSE if forward limit hit + + + + TcAddressType + Input + + + 664645632 + + + PRG_SP1K4.fbATTStates.astMotionStageMax[3].bLimitBackwardEnable + NC Backward Limit Switch: TRUE if ok to move + 8 + BOOL + + + pytmc + + pv: PLC:bLimitBackwardEnable + io: i + field: ZNAM FALSE + field: ONAM TRUE + field: DESC FALSE if reverse limit hit + + + + TcAddressType + Input + + + 664645640 + + + PRG_SP1K4.fbATTStates.astMotionStageMax[3].bHome + NO Home Switch: TRUE if at home + 8 + BOOL + + + pytmc + + pv: PLC:bHome + io: i + field: ZNAM FALSE + field: ONAM TRUE + field: DESC TRUE if at homing switch + + + + TcAddressType + Input + + + 664645648 + + + PRG_SP1K4.fbATTStates.astMotionStageMax[3].bHardwareEnable + NC STO Input: TRUE if ok to move + 8 + BOOL + + + pytmc + + pv: PLC:bHardwareEnable + io: i + field: ZNAM FALSE + field: ONAM TRUE + field: DESC TRUE if STO not hit + + + + TcAddressType + Input + + + 664645664 + + + PRG_SP1K4.fbATTStates.astMotionStageMax[3].nRawEncoderULINT + Raw encoder IO for ULINT (Biss-C) + 64 + ULINT + + + TcAddressType + Input + + + 664645696 + + + PRG_SP1K4.fbATTStates.astMotionStageMax[3].nRawEncoderUINT + Raw encoder IO for UINT (Relative Encoders) + 16 + UINT + + + TcAddressType + Input + + + 664645760 + + + PRG_SP1K4.fbATTStates.astMotionStageMax[3].nRawEncoderINT + Raw encoder IO for INT (LVDT) + 16 + INT + + + TcAddressType + Input + + + 664645776 PRG_3_PMPS_POST.fbArbiterIO.i_stCurrentBP @@ -61356,7 +62150,7 @@ TODO: is add all therest Input - 663320864 + 665028320 PRG_3_PMPS_POST.fbArbiterIO.xTxPDO_toggle @@ -61377,7 +62171,7 @@ TODO: is add all therest Input - 663324384 + 665031840 PRG_3_PMPS_POST.fbArbiterIO.xTxPDO_state @@ -61398,7 +62192,7 @@ TODO: is add all therest Input - 663324385 + 665031841 Main.M1.Axis.NcToPlc @@ -61410,7 +62204,7 @@ TODO: is add all therest Input - 673522752 + 675230272 Main.M1.bLimitForwardEnable @@ -61433,7 +62227,7 @@ TODO: is add all therest Input - 673530688 + 675238208 Main.M1.bLimitBackwardEnable @@ -61456,7 +62250,7 @@ TODO: is add all therest Input - 673530696 + 675238216 Main.M1.bHome @@ -61479,7 +62273,7 @@ TODO: is add all therest Input - 673530704 + 675238224 Main.M1.bHardwareEnable @@ -61502,7 +62296,7 @@ TODO: is add all therest Input - 673530720 + 675238240 Main.M1.nRawEncoderULINT @@ -61515,7 +62309,7 @@ TODO: is add all therest Input - 673530752 + 675238272 Main.M1.nRawEncoderUINT @@ -61528,7 +62322,7 @@ TODO: is add all therest Input - 673530816 + 675238336 Main.M1.nRawEncoderINT @@ -61541,7 +62335,7 @@ TODO: is add all therest Input - 673530832 + 675238352 Main.M2.Axis.NcToPlc @@ -61553,7 +62347,7 @@ TODO: is add all therest Input - 673547968 + 675255488 Main.M2.bLimitForwardEnable @@ -61576,7 +62370,7 @@ TODO: is add all therest Input - 673555904 + 675263424 Main.M2.bLimitBackwardEnable @@ -61599,7 +62393,7 @@ TODO: is add all therest Input - 673555912 + 675263432 Main.M2.bHome @@ -61622,7 +62416,7 @@ TODO: is add all therest Input - 673555920 + 675263440 Main.M2.bHardwareEnable @@ -61645,7 +62439,7 @@ TODO: is add all therest Input - 673555936 + 675263456 Main.M2.nRawEncoderULINT @@ -61658,7 +62452,7 @@ TODO: is add all therest Input - 673555968 + 675263488 Main.M2.nRawEncoderUINT @@ -61671,7 +62465,7 @@ TODO: is add all therest Input - 673556032 + 675263552 Main.M2.nRawEncoderINT @@ -61684,7 +62478,7 @@ TODO: is add all therest Input - 673556048 + 675263568 Main.M3.Axis.NcToPlc @@ -61696,7 +62490,7 @@ TODO: is add all therest Input - 673573184 + 675280704 Main.M3.bLimitForwardEnable @@ -61719,7 +62513,7 @@ TODO: is add all therest Input - 673581120 + 675288640 Main.M3.bLimitBackwardEnable @@ -61742,7 +62536,7 @@ TODO: is add all therest Input - 673581128 + 675288648 Main.M3.bHome @@ -61765,7 +62559,7 @@ TODO: is add all therest Input - 673581136 + 675288656 Main.M3.bHardwareEnable @@ -61788,7 +62582,7 @@ TODO: is add all therest Input - 673581152 + 675288672 Main.M3.nRawEncoderULINT @@ -61801,7 +62595,7 @@ TODO: is add all therest Input - 673581184 + 675288704 Main.M3.nRawEncoderUINT @@ -61814,7 +62608,7 @@ TODO: is add all therest Input - 673581248 + 675288768 Main.M3.nRawEncoderINT @@ -61827,7 +62621,7 @@ TODO: is add all therest Input - 673581264 + 675288784 Main.M4.Axis.NcToPlc @@ -61839,7 +62633,7 @@ TODO: is add all therest Input - 673598400 + 675305920 Main.M4.bLimitForwardEnable @@ -61862,7 +62656,7 @@ TODO: is add all therest Input - 673606336 + 675313856 Main.M4.bLimitBackwardEnable @@ -61885,7 +62679,7 @@ TODO: is add all therest Input - 673606344 + 675313864 Main.M4.bHome @@ -61908,7 +62702,7 @@ TODO: is add all therest Input - 673606352 + 675313872 Main.M4.bHardwareEnable @@ -61931,7 +62725,7 @@ TODO: is add all therest Input - 673606368 + 675313888 Main.M4.nRawEncoderULINT @@ -61944,7 +62738,7 @@ TODO: is add all therest Input - 673606400 + 675313920 Main.M4.nRawEncoderUINT @@ -61957,7 +62751,7 @@ TODO: is add all therest Input - 673606464 + 675313984 Main.M4.nRawEncoderINT @@ -61970,7 +62764,7 @@ TODO: is add all therest Input - 673606480 + 675314000 Main.M5.Axis.NcToPlc @@ -61982,7 +62776,7 @@ TODO: is add all therest Input - 673623616 + 675331136 Main.M5.bLimitForwardEnable @@ -62005,7 +62799,7 @@ TODO: is add all therest Input - 673631552 + 675339072 Main.M5.bLimitBackwardEnable @@ -62028,7 +62822,7 @@ TODO: is add all therest Input - 673631560 + 675339080 Main.M5.bHome @@ -62051,7 +62845,7 @@ TODO: is add all therest Input - 673631568 + 675339088 Main.M5.bHardwareEnable @@ -62074,7 +62868,7 @@ TODO: is add all therest Input - 673631584 + 675339104 Main.M5.nRawEncoderULINT @@ -62087,7 +62881,7 @@ TODO: is add all therest Input - 673631616 + 675339136 Main.M5.nRawEncoderUINT @@ -62100,7 +62894,7 @@ TODO: is add all therest Input - 673631680 + 675339200 Main.M5.nRawEncoderINT @@ -62113,7 +62907,7 @@ TODO: is add all therest Input - 673631696 + 675339216 Main.M6.Axis.NcToPlc @@ -62125,7 +62919,7 @@ TODO: is add all therest Input - 673648832 + 675356352 Main.M6.bLimitForwardEnable @@ -62148,7 +62942,7 @@ TODO: is add all therest Input - 673656768 + 675364288 Main.M6.bLimitBackwardEnable @@ -62171,7 +62965,7 @@ TODO: is add all therest Input - 673656776 + 675364296 Main.M6.bHome @@ -62194,7 +62988,7 @@ TODO: is add all therest Input - 673656784 + 675364304 Main.M6.bHardwareEnable @@ -62217,7 +63011,7 @@ TODO: is add all therest Input - 673656800 + 675364320 Main.M6.nRawEncoderULINT @@ -62230,7 +63024,7 @@ TODO: is add all therest Input - 673656832 + 675364352 Main.M6.nRawEncoderUINT @@ -62243,7 +63037,7 @@ TODO: is add all therest Input - 673656896 + 675364416 Main.M6.nRawEncoderINT @@ -62256,7 +63050,7 @@ TODO: is add all therest Input - 673656912 + 675364432 Main.M7.Axis.NcToPlc @@ -62268,7 +63062,7 @@ TODO: is add all therest Input - 673674048 + 675381568 Main.M7.bLimitForwardEnable @@ -62291,7 +63085,7 @@ TODO: is add all therest Input - 673681984 + 675389504 Main.M7.bLimitBackwardEnable @@ -62314,7 +63108,7 @@ TODO: is add all therest Input - 673681992 + 675389512 Main.M7.bHome @@ -62337,7 +63131,7 @@ TODO: is add all therest Input - 673682000 + 675389520 Main.M7.bHardwareEnable @@ -62360,7 +63154,7 @@ TODO: is add all therest Input - 673682016 + 675389536 Main.M7.nRawEncoderULINT @@ -62373,7 +63167,7 @@ TODO: is add all therest Input - 673682048 + 675389568 Main.M7.nRawEncoderUINT @@ -62386,7 +63180,7 @@ TODO: is add all therest Input - 673682112 + 675389632 Main.M7.nRawEncoderINT @@ -62399,7 +63193,7 @@ TODO: is add all therest Input - 673682128 + 675389648 Main.M8.Axis.NcToPlc @@ -62411,7 +63205,7 @@ TODO: is add all therest Input - 673699264 + 675406784 Main.M8.bLimitForwardEnable @@ -62434,7 +63228,7 @@ TODO: is add all therest Input - 673707200 + 675414720 Main.M8.bLimitBackwardEnable @@ -62457,7 +63251,7 @@ TODO: is add all therest Input - 673707208 + 675414728 Main.M8.bHome @@ -62480,7 +63274,7 @@ TODO: is add all therest Input - 673707216 + 675414736 Main.M8.bHardwareEnable @@ -62503,7 +63297,7 @@ TODO: is add all therest Input - 673707232 + 675414752 Main.M8.nRawEncoderULINT @@ -62516,7 +63310,7 @@ TODO: is add all therest Input - 673707264 + 675414784 Main.M8.nRawEncoderUINT @@ -62529,7 +63323,7 @@ TODO: is add all therest Input - 673707328 + 675414848 Main.M8.nRawEncoderINT @@ -62542,7 +63336,7 @@ TODO: is add all therest Input - 673707344 + 675414864 Main.M9.Axis.NcToPlc @@ -62554,7 +63348,7 @@ TODO: is add all therest Input - 673724480 + 675432000 Main.M9.bLimitForwardEnable @@ -62577,7 +63371,7 @@ TODO: is add all therest Input - 673732416 + 675439936 Main.M9.bLimitBackwardEnable @@ -62600,7 +63394,7 @@ TODO: is add all therest Input - 673732424 + 675439944 Main.M9.bHome @@ -62623,7 +63417,7 @@ TODO: is add all therest Input - 673732432 + 675439952 Main.M9.bHardwareEnable @@ -62646,7 +63440,7 @@ TODO: is add all therest Input - 673732448 + 675439968 Main.M9.nRawEncoderULINT @@ -62659,7 +63453,7 @@ TODO: is add all therest Input - 673732480 + 675440000 Main.M9.nRawEncoderUINT @@ -62672,7 +63466,7 @@ TODO: is add all therest Input - 673732544 + 675440064 Main.M9.nRawEncoderINT @@ -62685,7 +63479,7 @@ TODO: is add all therest Input - 673732560 + 675440080 Main.M10.Axis.NcToPlc @@ -62697,7 +63491,7 @@ TODO: is add all therest Input - 673749696 + 675457216 Main.M10.bLimitForwardEnable @@ -62720,7 +63514,7 @@ TODO: is add all therest Input - 673757632 + 675465152 Main.M10.bLimitBackwardEnable @@ -62743,7 +63537,7 @@ TODO: is add all therest Input - 673757640 + 675465160 Main.M10.bHome @@ -62766,7 +63560,7 @@ TODO: is add all therest Input - 673757648 + 675465168 Main.M10.bHardwareEnable @@ -62789,7 +63583,7 @@ TODO: is add all therest Input - 673757664 + 675465184 Main.M10.nRawEncoderULINT @@ -62802,7 +63596,7 @@ TODO: is add all therest Input - 673757696 + 675465216 Main.M10.nRawEncoderUINT @@ -62815,7 +63609,7 @@ TODO: is add all therest Input - 673757760 + 675465280 Main.M10.nRawEncoderINT @@ -62828,7 +63622,7 @@ TODO: is add all therest Input - 673757776 + 675465296 Main.M11.Axis.NcToPlc @@ -62840,7 +63634,7 @@ TODO: is add all therest Input - 673774912 + 675482432 Main.M11.bLimitForwardEnable @@ -62863,7 +63657,7 @@ TODO: is add all therest Input - 673782848 + 675490368 Main.M11.bLimitBackwardEnable @@ -62886,7 +63680,7 @@ TODO: is add all therest Input - 673782856 + 675490376 Main.M11.bHome @@ -62909,7 +63703,7 @@ TODO: is add all therest Input - 673782864 + 675490384 Main.M11.bHardwareEnable @@ -62932,7 +63726,7 @@ TODO: is add all therest Input - 673782880 + 675490400 Main.M11.nRawEncoderULINT @@ -62945,7 +63739,7 @@ TODO: is add all therest Input - 673782912 + 675490432 Main.M11.nRawEncoderUINT @@ -62958,7 +63752,7 @@ TODO: is add all therest Input - 673782976 + 675490496 Main.M11.nRawEncoderINT @@ -62971,7 +63765,7 @@ TODO: is add all therest Input - 673782992 + 675490512 Main.M12.Axis.NcToPlc @@ -62983,7 +63777,7 @@ TODO: is add all therest Input - 673800128 + 675507648 Main.M12.bLimitForwardEnable @@ -63006,7 +63800,7 @@ TODO: is add all therest Input - 673808064 + 675515584 Main.M12.bLimitBackwardEnable @@ -63029,7 +63823,7 @@ TODO: is add all therest Input - 673808072 + 675515592 Main.M12.bHome @@ -63052,7 +63846,7 @@ TODO: is add all therest Input - 673808080 + 675515600 Main.M12.bHardwareEnable @@ -63075,7 +63869,7 @@ TODO: is add all therest Input - 673808096 + 675515616 Main.M12.nRawEncoderULINT @@ -63088,7 +63882,7 @@ TODO: is add all therest Input - 673808128 + 675515648 Main.M12.nRawEncoderUINT @@ -63101,7 +63895,7 @@ TODO: is add all therest Input - 673808192 + 675515712 Main.M12.nRawEncoderINT @@ -63114,7 +63908,7 @@ TODO: is add all therest Input - 673808208 + 675515728 Main.M13.Axis.NcToPlc @@ -63126,7 +63920,7 @@ TODO: is add all therest Input - 673825344 + 675532864 Main.M13.bLimitForwardEnable @@ -63149,7 +63943,7 @@ TODO: is add all therest Input - 673833280 + 675540800 Main.M13.bLimitBackwardEnable @@ -63172,7 +63966,7 @@ TODO: is add all therest Input - 673833288 + 675540808 Main.M13.bHome @@ -63195,7 +63989,7 @@ TODO: is add all therest Input - 673833296 + 675540816 Main.M13.bHardwareEnable @@ -63218,7 +64012,7 @@ TODO: is add all therest Input - 673833312 + 675540832 Main.M13.nRawEncoderULINT @@ -63231,7 +64025,7 @@ TODO: is add all therest Input - 673833344 + 675540864 Main.M13.nRawEncoderUINT @@ -63244,7 +64038,7 @@ TODO: is add all therest Input - 673833408 + 675540928 Main.M13.nRawEncoderINT @@ -63257,7 +64051,7 @@ TODO: is add all therest Input - 673833424 + 675540944 Main.M14.Axis.NcToPlc @@ -63269,7 +64063,7 @@ TODO: is add all therest Input - 673850560 + 675558080 Main.M14.bLimitForwardEnable @@ -63292,7 +64086,7 @@ TODO: is add all therest Input - 673858496 + 675566016 Main.M14.bLimitBackwardEnable @@ -63315,7 +64109,7 @@ TODO: is add all therest Input - 673858504 + 675566024 Main.M14.bHome @@ -63338,7 +64132,7 @@ TODO: is add all therest Input - 673858512 + 675566032 Main.M14.bHardwareEnable @@ -63361,7 +64155,7 @@ TODO: is add all therest Input - 673858528 + 675566048 Main.M14.nRawEncoderULINT @@ -63374,7 +64168,7 @@ TODO: is add all therest Input - 673858560 + 675566080 Main.M14.nRawEncoderUINT @@ -63387,7 +64181,7 @@ TODO: is add all therest Input - 673858624 + 675566144 Main.M14.nRawEncoderINT @@ -63400,7 +64194,7 @@ TODO: is add all therest Input - 673858640 + 675566160 Main.M15.Axis.NcToPlc @@ -63412,7 +64206,7 @@ TODO: is add all therest Input - 673875776 + 675583296 Main.M15.bLimitForwardEnable @@ -63435,7 +64229,7 @@ TODO: is add all therest Input - 673883712 + 675591232 Main.M15.bLimitBackwardEnable @@ -63458,7 +64252,7 @@ TODO: is add all therest Input - 673883720 + 675591240 Main.M15.bHome @@ -63481,7 +64275,7 @@ TODO: is add all therest Input - 673883728 + 675591248 Main.M15.bHardwareEnable @@ -63504,7 +64298,7 @@ TODO: is add all therest Input - 673883744 + 675591264 Main.M15.nRawEncoderULINT @@ -63517,7 +64311,7 @@ TODO: is add all therest Input - 673883776 + 675591296 Main.M15.nRawEncoderUINT @@ -63530,7 +64324,7 @@ TODO: is add all therest Input - 673883840 + 675591360 Main.M15.nRawEncoderINT @@ -63543,7 +64337,7 @@ TODO: is add all therest Input - 673883856 + 675591376 Main.M16.Axis.NcToPlc @@ -63555,7 +64349,7 @@ TODO: is add all therest Input - 673900992 + 675608512 Main.M16.bLimitForwardEnable @@ -63578,7 +64372,7 @@ TODO: is add all therest Input - 673908928 + 675616448 Main.M16.bLimitBackwardEnable @@ -63601,7 +64395,7 @@ TODO: is add all therest Input - 673908936 + 675616456 Main.M16.bHome @@ -63624,7 +64418,7 @@ TODO: is add all therest Input - 673908944 + 675616464 Main.M16.bHardwareEnable @@ -63647,7 +64441,7 @@ TODO: is add all therest Input - 673908960 + 675616480 Main.M16.nRawEncoderULINT @@ -63660,7 +64454,7 @@ TODO: is add all therest Input - 673908992 + 675616512 Main.M16.nRawEncoderUINT @@ -63673,7 +64467,7 @@ TODO: is add all therest Input - 673909056 + 675616576 Main.M16.nRawEncoderINT @@ -63686,7 +64480,7 @@ TODO: is add all therest Input - 673909072 + 675616592 Main.M17.Axis.NcToPlc @@ -63698,7 +64492,7 @@ TODO: is add all therest Input - 673926208 + 675633728 Main.M17.bLimitForwardEnable @@ -63721,7 +64515,7 @@ TODO: is add all therest Input - 673934144 + 675641664 Main.M17.bLimitBackwardEnable @@ -63744,7 +64538,7 @@ TODO: is add all therest Input - 673934152 + 675641672 Main.M17.bHome @@ -63767,7 +64561,7 @@ TODO: is add all therest Input - 673934160 + 675641680 Main.M17.bHardwareEnable @@ -63790,7 +64584,7 @@ TODO: is add all therest Input - 673934176 + 675641696 Main.M17.nRawEncoderULINT @@ -63803,7 +64597,7 @@ TODO: is add all therest Input - 673934208 + 675641728 Main.M17.nRawEncoderUINT @@ -63816,7 +64610,7 @@ TODO: is add all therest Input - 673934272 + 675641792 Main.M17.nRawEncoderINT @@ -63829,7 +64623,7 @@ TODO: is add all therest Input - 673934288 + 675641808 Main.M18.Axis.NcToPlc @@ -63841,7 +64635,7 @@ TODO: is add all therest Input - 673951424 + 675658944 Main.M18.bLimitForwardEnable @@ -63864,7 +64658,7 @@ TODO: is add all therest Input - 673959360 + 675666880 Main.M18.bLimitBackwardEnable @@ -63887,7 +64681,7 @@ TODO: is add all therest Input - 673959368 + 675666888 Main.M18.bHome @@ -63910,7 +64704,7 @@ TODO: is add all therest Input - 673959376 + 675666896 Main.M18.bHardwareEnable @@ -63933,7 +64727,7 @@ TODO: is add all therest Input - 673959392 + 675666912 Main.M18.nRawEncoderULINT @@ -63946,7 +64740,7 @@ TODO: is add all therest Input - 673959424 + 675666944 Main.M18.nRawEncoderUINT @@ -63959,7 +64753,7 @@ TODO: is add all therest Input - 673959488 + 675667008 Main.M18.nRawEncoderINT @@ -63972,7 +64766,7 @@ TODO: is add all therest Input - 673959504 + 675667024 Main.M19.Axis.NcToPlc @@ -63984,7 +64778,7 @@ TODO: is add all therest Input - 673976640 + 675684160 Main.M19.bLimitForwardEnable @@ -64007,7 +64801,7 @@ TODO: is add all therest Input - 673984576 + 675692096 Main.M19.bLimitBackwardEnable @@ -64030,7 +64824,7 @@ TODO: is add all therest Input - 673984584 + 675692104 Main.M19.bHome @@ -64053,7 +64847,7 @@ TODO: is add all therest Input - 673984592 + 675692112 Main.M19.bHardwareEnable @@ -64076,7 +64870,7 @@ TODO: is add all therest Input - 673984608 + 675692128 Main.M19.nRawEncoderULINT @@ -64089,7 +64883,7 @@ TODO: is add all therest Input - 673984640 + 675692160 Main.M19.nRawEncoderUINT @@ -64102,7 +64896,7 @@ TODO: is add all therest Input - 673984704 + 675692224 Main.M19.nRawEncoderINT @@ -64115,7 +64909,7 @@ TODO: is add all therest Input - 673984720 + 675692240 Main.M20.Axis.NcToPlc @@ -64127,7 +64921,7 @@ TODO: is add all therest Input - 674001856 + 675709376 Main.M20.bLimitForwardEnable @@ -64150,7 +64944,7 @@ TODO: is add all therest Input - 674009792 + 675717312 Main.M20.bLimitBackwardEnable @@ -64173,7 +64967,7 @@ TODO: is add all therest Input - 674009800 + 675717320 Main.M20.bHome @@ -64196,7 +64990,7 @@ TODO: is add all therest Input - 674009808 + 675717328 Main.M20.bHardwareEnable @@ -64219,7 +65013,7 @@ TODO: is add all therest Input - 674009824 + 675717344 Main.M20.nRawEncoderULINT @@ -64232,7 +65026,7 @@ TODO: is add all therest Input - 674009856 + 675717376 Main.M20.nRawEncoderUINT @@ -64245,7 +65039,7 @@ TODO: is add all therest Input - 674009920 + 675717440 Main.M20.nRawEncoderINT @@ -64258,7 +65052,7 @@ TODO: is add all therest Input - 674009936 + 675717456 Main.M21.Axis.NcToPlc @@ -64270,7 +65064,7 @@ TODO: is add all therest Input - 674027072 + 675734592 Main.M21.bLimitForwardEnable @@ -64293,7 +65087,7 @@ TODO: is add all therest Input - 674035008 + 675742528 Main.M21.bLimitBackwardEnable @@ -64316,7 +65110,7 @@ TODO: is add all therest Input - 674035016 + 675742536 Main.M21.bHome @@ -64339,7 +65133,7 @@ TODO: is add all therest Input - 674035024 + 675742544 Main.M21.bHardwareEnable @@ -64362,7 +65156,7 @@ TODO: is add all therest Input - 674035040 + 675742560 Main.M21.nRawEncoderULINT @@ -64375,7 +65169,7 @@ TODO: is add all therest Input - 674035072 + 675742592 Main.M21.nRawEncoderUINT @@ -64388,7 +65182,7 @@ TODO: is add all therest Input - 674035136 + 675742656 Main.M21.nRawEncoderINT @@ -64401,7 +65195,7 @@ TODO: is add all therest Input - 674035152 + 675742672 Main.M22.Axis.NcToPlc @@ -64413,7 +65207,7 @@ TODO: is add all therest Input - 674052288 + 675759808 Main.M22.bLimitForwardEnable @@ -64436,7 +65230,7 @@ TODO: is add all therest Input - 674060224 + 675767744 Main.M22.bLimitBackwardEnable @@ -64459,7 +65253,7 @@ TODO: is add all therest Input - 674060232 + 675767752 Main.M22.bHome @@ -64482,7 +65276,7 @@ TODO: is add all therest Input - 674060240 + 675767760 Main.M22.bHardwareEnable @@ -64505,7 +65299,7 @@ TODO: is add all therest Input - 674060256 + 675767776 Main.M22.nRawEncoderULINT @@ -64518,7 +65312,7 @@ TODO: is add all therest Input - 674060288 + 675767808 Main.M22.nRawEncoderUINT @@ -64531,7 +65325,7 @@ TODO: is add all therest Input - 674060352 + 675767872 Main.M22.nRawEncoderINT @@ -64544,7 +65338,7 @@ TODO: is add all therest Input - 674060368 + 675767888 Main.M23.Axis.NcToPlc @@ -64556,7 +65350,7 @@ TODO: is add all therest Input - 674077504 + 675785024 Main.M23.bLimitForwardEnable @@ -64579,7 +65373,7 @@ TODO: is add all therest Input - 674085440 + 675792960 Main.M23.bLimitBackwardEnable @@ -64602,7 +65396,7 @@ TODO: is add all therest Input - 674085448 + 675792968 Main.M23.bHome @@ -64625,7 +65419,7 @@ TODO: is add all therest Input - 674085456 + 675792976 Main.M23.bHardwareEnable @@ -64648,7 +65442,7 @@ TODO: is add all therest Input - 674085472 + 675792992 Main.M23.nRawEncoderULINT @@ -64661,7 +65455,7 @@ TODO: is add all therest Input - 674085504 + 675793024 Main.M23.nRawEncoderUINT @@ -64674,7 +65468,7 @@ TODO: is add all therest Input - 674085568 + 675793088 Main.M23.nRawEncoderINT @@ -64687,7 +65481,7 @@ TODO: is add all therest Input - 674085584 + 675793104 Main.M24.Axis.NcToPlc @@ -64699,7 +65493,7 @@ TODO: is add all therest Input - 674102720 + 675810240 Main.M24.bLimitForwardEnable @@ -64722,7 +65516,7 @@ TODO: is add all therest Input - 674110656 + 675818176 Main.M24.bLimitBackwardEnable @@ -64745,7 +65539,7 @@ TODO: is add all therest Input - 674110664 + 675818184 Main.M24.bHome @@ -64768,7 +65562,7 @@ TODO: is add all therest Input - 674110672 + 675818192 Main.M24.bHardwareEnable @@ -64791,7 +65585,7 @@ TODO: is add all therest Input - 674110688 + 675818208 Main.M24.nRawEncoderULINT @@ -64804,7 +65598,7 @@ TODO: is add all therest Input - 674110720 + 675818240 Main.M24.nRawEncoderUINT @@ -64817,7 +65611,7 @@ TODO: is add all therest Input - 674110784 + 675818304 Main.M24.nRawEncoderINT @@ -64830,7 +65624,7 @@ TODO: is add all therest Input - 674110800 + 675818320 Main.M25.Axis.NcToPlc @@ -64842,7 +65636,7 @@ TODO: is add all therest Input - 674127936 + 675835456 Main.M25.bLimitForwardEnable @@ -64865,7 +65659,7 @@ TODO: is add all therest Input - 674135872 + 675843392 Main.M25.bLimitBackwardEnable @@ -64888,7 +65682,7 @@ TODO: is add all therest Input - 674135880 + 675843400 Main.M25.bHome @@ -64911,7 +65705,7 @@ TODO: is add all therest Input - 674135888 + 675843408 Main.M25.bHardwareEnable @@ -64934,7 +65728,7 @@ TODO: is add all therest Input - 674135904 + 675843424 Main.M25.nRawEncoderULINT @@ -64947,7 +65741,7 @@ TODO: is add all therest Input - 674135936 + 675843456 Main.M25.nRawEncoderUINT @@ -64960,7 +65754,7 @@ TODO: is add all therest Input - 674136000 + 675843520 Main.M25.nRawEncoderINT @@ -64973,7 +65767,7 @@ TODO: is add all therest Input - 674136016 + 675843536 Main.M26.Axis.NcToPlc @@ -64985,7 +65779,7 @@ TODO: is add all therest Input - 674153152 + 675860672 Main.M26.bLimitForwardEnable @@ -65008,7 +65802,7 @@ TODO: is add all therest Input - 674161088 + 675868608 Main.M26.bLimitBackwardEnable @@ -65031,7 +65825,7 @@ TODO: is add all therest Input - 674161096 + 675868616 Main.M26.bHome @@ -65054,7 +65848,7 @@ TODO: is add all therest Input - 674161104 + 675868624 Main.M26.bHardwareEnable @@ -65077,7 +65871,7 @@ TODO: is add all therest Input - 674161120 + 675868640 Main.M26.nRawEncoderULINT @@ -65090,7 +65884,7 @@ TODO: is add all therest Input - 674161152 + 675868672 Main.M26.nRawEncoderUINT @@ -65103,7 +65897,7 @@ TODO: is add all therest Input - 674161216 + 675868736 Main.M26.nRawEncoderINT @@ -65116,7 +65910,7 @@ TODO: is add all therest Input - 674161232 + 675868752 Main.M27.Axis.NcToPlc @@ -65128,7 +65922,7 @@ TODO: is add all therest Input - 674178368 + 675885888 Main.M27.bLimitForwardEnable @@ -65151,7 +65945,7 @@ TODO: is add all therest Input - 674186304 + 675893824 Main.M27.bLimitBackwardEnable @@ -65174,7 +65968,7 @@ TODO: is add all therest Input - 674186312 + 675893832 Main.M27.bHome @@ -65197,7 +65991,7 @@ TODO: is add all therest Input - 674186320 + 675893840 Main.M27.bHardwareEnable @@ -65220,7 +66014,7 @@ TODO: is add all therest Input - 674186336 + 675893856 Main.M27.nRawEncoderULINT @@ -65233,7 +66027,7 @@ TODO: is add all therest Input - 674186368 + 675893888 Main.M27.nRawEncoderUINT @@ -65246,7 +66040,7 @@ TODO: is add all therest Input - 674186432 + 675893952 Main.M27.nRawEncoderINT @@ -65259,7 +66053,7 @@ TODO: is add all therest Input - 674186448 + 675893968 Main.M28.Axis.NcToPlc @@ -65271,7 +66065,7 @@ TODO: is add all therest Input - 674203584 + 675911104 Main.M28.bLimitForwardEnable @@ -65294,7 +66088,7 @@ TODO: is add all therest Input - 674211520 + 675919040 Main.M28.bLimitBackwardEnable @@ -65317,7 +66111,7 @@ TODO: is add all therest Input - 674211528 + 675919048 Main.M28.bHome @@ -65340,7 +66134,7 @@ TODO: is add all therest Input - 674211536 + 675919056 Main.M28.bHardwareEnable @@ -65363,7 +66157,7 @@ TODO: is add all therest Input - 674211552 + 675919072 Main.M28.nRawEncoderULINT @@ -65376,7 +66170,7 @@ TODO: is add all therest Input - 674211584 + 675919104 Main.M28.nRawEncoderUINT @@ -65389,7 +66183,7 @@ TODO: is add all therest Input - 674211648 + 675919168 Main.M28.nRawEncoderINT @@ -65402,7 +66196,7 @@ TODO: is add all therest Input - 674211664 + 675919184 Main.M29.Axis.NcToPlc @@ -65414,7 +66208,7 @@ TODO: is add all therest Input - 674228800 + 675936320 Main.M29.bLimitForwardEnable @@ -65437,7 +66231,7 @@ TODO: is add all therest Input - 674236736 + 675944256 Main.M29.bLimitBackwardEnable @@ -65460,7 +66254,7 @@ TODO: is add all therest Input - 674236744 + 675944264 Main.M29.bHome @@ -65483,7 +66277,7 @@ TODO: is add all therest Input - 674236752 + 675944272 Main.M29.bHardwareEnable @@ -65506,7 +66300,7 @@ TODO: is add all therest Input - 674236768 + 675944288 Main.M29.nRawEncoderULINT @@ -65519,7 +66313,7 @@ TODO: is add all therest Input - 674236800 + 675944320 Main.M29.nRawEncoderUINT @@ -65532,7 +66326,7 @@ TODO: is add all therest Input - 674236864 + 675944384 Main.M29.nRawEncoderINT @@ -65545,7 +66339,7 @@ TODO: is add all therest Input - 674236880 + 675944400 Main.M30.Axis.NcToPlc @@ -65557,7 +66351,7 @@ TODO: is add all therest Input - 674254016 + 675961536 Main.M30.bLimitForwardEnable @@ -65580,7 +66374,7 @@ TODO: is add all therest Input - 674261952 + 675969472 Main.M30.bLimitBackwardEnable @@ -65603,7 +66397,7 @@ TODO: is add all therest Input - 674261960 + 675969480 Main.M30.bHome @@ -65626,7 +66420,7 @@ TODO: is add all therest Input - 674261968 + 675969488 Main.M30.bHardwareEnable @@ -65649,7 +66443,7 @@ TODO: is add all therest Input - 674261984 + 675969504 Main.M30.nRawEncoderULINT @@ -65662,7 +66456,7 @@ TODO: is add all therest Input - 674262016 + 675969536 Main.M30.nRawEncoderUINT @@ -65675,7 +66469,7 @@ TODO: is add all therest Input - 674262080 + 675969600 Main.M30.nRawEncoderINT @@ -65688,7 +66482,7 @@ TODO: is add all therest Input - 674262096 + 675969616 Main.M31.Axis.NcToPlc @@ -65700,7 +66494,7 @@ TODO: is add all therest Input - 674279232 + 675986752 Main.M31.bLimitForwardEnable @@ -65723,7 +66517,7 @@ TODO: is add all therest Input - 674287168 + 675994688 Main.M31.bLimitBackwardEnable @@ -65746,7 +66540,7 @@ TODO: is add all therest Input - 674287176 + 675994696 Main.M31.bHome @@ -65769,7 +66563,7 @@ TODO: is add all therest Input - 674287184 + 675994704 Main.M31.bHardwareEnable @@ -65792,7 +66586,7 @@ TODO: is add all therest Input - 674287200 + 675994720 Main.M31.nRawEncoderULINT @@ -65805,7 +66599,7 @@ TODO: is add all therest Input - 674287232 + 675994752 Main.M31.nRawEncoderUINT @@ -65818,7 +66612,7 @@ TODO: is add all therest Input - 674287296 + 675994816 Main.M31.nRawEncoderINT @@ -65831,7 +66625,7 @@ TODO: is add all therest Input - 674287312 + 675994832 Main.M32.Axis.NcToPlc @@ -65843,7 +66637,7 @@ TODO: is add all therest Input - 674304448 + 676011968 Main.M32.bLimitForwardEnable @@ -65866,7 +66660,7 @@ TODO: is add all therest Input - 674312384 + 676019904 Main.M32.bLimitBackwardEnable @@ -65889,7 +66683,7 @@ TODO: is add all therest Input - 674312392 + 676019912 Main.M32.bHome @@ -65912,7 +66706,7 @@ TODO: is add all therest Input - 674312400 + 676019920 Main.M32.bHardwareEnable @@ -65935,7 +66729,7 @@ TODO: is add all therest Input - 674312416 + 676019936 Main.M32.nRawEncoderULINT @@ -65948,7 +66742,7 @@ TODO: is add all therest Input - 674312448 + 676019968 Main.M32.nRawEncoderUINT @@ -65961,7 +66755,7 @@ TODO: is add all therest Input - 674312512 + 676020032 Main.M32.nRawEncoderINT @@ -65974,7 +66768,7 @@ TODO: is add all therest Input - 674312528 + 676020048 Main.M33.Axis.NcToPlc @@ -65986,7 +66780,7 @@ TODO: is add all therest Input - 674329664 + 676037184 Main.M33.bLimitForwardEnable @@ -66009,7 +66803,7 @@ TODO: is add all therest Input - 674337600 + 676045120 Main.M33.bLimitBackwardEnable @@ -66032,7 +66826,7 @@ TODO: is add all therest Input - 674337608 + 676045128 Main.M33.bHome @@ -66055,7 +66849,7 @@ TODO: is add all therest Input - 674337616 + 676045136 Main.M33.bHardwareEnable @@ -66078,7 +66872,7 @@ TODO: is add all therest Input - 674337632 + 676045152 Main.M33.nRawEncoderULINT @@ -66091,7 +66885,7 @@ TODO: is add all therest Input - 674337664 + 676045184 Main.M33.nRawEncoderUINT @@ -66104,7 +66898,7 @@ TODO: is add all therest Input - 674337728 + 676045248 Main.M33.nRawEncoderINT @@ -66117,7 +66911,7 @@ TODO: is add all therest Input - 674337744 + 676045264 Main.M34.Axis.NcToPlc @@ -66129,7 +66923,7 @@ TODO: is add all therest Input - 674354880 + 676062400 Main.M34.bLimitForwardEnable @@ -66152,7 +66946,7 @@ TODO: is add all therest Input - 674362816 + 676070336 Main.M34.bLimitBackwardEnable @@ -66175,7 +66969,7 @@ TODO: is add all therest Input - 674362824 + 676070344 Main.M34.bHome @@ -66198,7 +66992,7 @@ TODO: is add all therest Input - 674362832 + 676070352 Main.M34.bHardwareEnable @@ -66221,7 +67015,7 @@ TODO: is add all therest Input - 674362848 + 676070368 Main.M34.nRawEncoderULINT @@ -66234,7 +67028,7 @@ TODO: is add all therest Input - 674362880 + 676070400 Main.M34.nRawEncoderUINT @@ -66247,7 +67041,7 @@ TODO: is add all therest Input - 674362944 + 676070464 Main.M34.nRawEncoderINT @@ -66260,7 +67054,7 @@ TODO: is add all therest Input - 674362960 + 676070480 Main.M35.Axis.NcToPlc @@ -66272,7 +67066,7 @@ TODO: is add all therest Input - 674380096 + 676087616 Main.M35.bLimitForwardEnable @@ -66295,7 +67089,7 @@ TODO: is add all therest Input - 674388032 + 676095552 Main.M35.bLimitBackwardEnable @@ -66318,7 +67112,7 @@ TODO: is add all therest Input - 674388040 + 676095560 Main.M35.bHome @@ -66341,7 +67135,7 @@ TODO: is add all therest Input - 674388048 + 676095568 Main.M35.bHardwareEnable @@ -66364,7 +67158,7 @@ TODO: is add all therest Input - 674388064 + 676095584 Main.M35.nRawEncoderULINT @@ -66377,7 +67171,7 @@ TODO: is add all therest Input - 674388096 + 676095616 Main.M35.nRawEncoderUINT @@ -66390,7 +67184,7 @@ TODO: is add all therest Input - 674388160 + 676095680 Main.M35.nRawEncoderINT @@ -66403,7 +67197,7 @@ TODO: is add all therest Input - 674388176 + 676095696 Main.M36.Axis.NcToPlc @@ -66415,7 +67209,7 @@ TODO: is add all therest Input - 674405312 + 676112832 Main.M36.bLimitForwardEnable @@ -66438,7 +67232,7 @@ TODO: is add all therest Input - 674413248 + 676120768 Main.M36.bLimitBackwardEnable @@ -66461,7 +67255,7 @@ TODO: is add all therest Input - 674413256 + 676120776 Main.M36.bHome @@ -66484,7 +67278,7 @@ TODO: is add all therest Input - 674413264 + 676120784 Main.M36.bHardwareEnable @@ -66507,7 +67301,7 @@ TODO: is add all therest Input - 674413280 + 676120800 Main.M36.nRawEncoderULINT @@ -66520,7 +67314,7 @@ TODO: is add all therest Input - 674413312 + 676120832 Main.M36.nRawEncoderUINT @@ -66533,7 +67327,7 @@ TODO: is add all therest Input - 674413376 + 676120896 Main.M36.nRawEncoderINT @@ -66546,7 +67340,7 @@ TODO: is add all therest Input - 674413392 + 676120912 Main.M37.Axis.NcToPlc @@ -66558,7 +67352,7 @@ TODO: is add all therest Input - 674430528 + 676138048 Main.M37.bLimitForwardEnable @@ -66581,7 +67375,7 @@ TODO: is add all therest Input - 674438464 + 676145984 Main.M37.bLimitBackwardEnable @@ -66604,7 +67398,7 @@ TODO: is add all therest Input - 674438472 + 676145992 Main.M37.bHome @@ -66627,7 +67421,7 @@ TODO: is add all therest Input - 674438480 + 676146000 Main.M37.bHardwareEnable @@ -66650,7 +67444,7 @@ TODO: is add all therest Input - 674438496 + 676146016 Main.M37.nRawEncoderULINT @@ -66663,7 +67457,7 @@ TODO: is add all therest Input - 674438528 + 676146048 Main.M37.nRawEncoderUINT @@ -66676,7 +67470,7 @@ TODO: is add all therest Input - 674438592 + 676146112 Main.M37.nRawEncoderINT @@ -66689,7 +67483,7 @@ TODO: is add all therest Input - 674438608 + 676146128 Main.M38.Axis.NcToPlc @@ -66701,7 +67495,7 @@ TODO: is add all therest Input - 674455744 + 676163264 Main.M38.bLimitForwardEnable @@ -66724,7 +67518,7 @@ TODO: is add all therest Input - 674463680 + 676171200 Main.M38.bLimitBackwardEnable @@ -66747,7 +67541,7 @@ TODO: is add all therest Input - 674463688 + 676171208 Main.M38.bHome @@ -66770,7 +67564,7 @@ TODO: is add all therest Input - 674463696 + 676171216 Main.M38.bHardwareEnable @@ -66793,7 +67587,7 @@ TODO: is add all therest Input - 674463712 + 676171232 Main.M38.nRawEncoderULINT @@ -66806,7 +67600,7 @@ TODO: is add all therest Input - 674463744 + 676171264 Main.M38.nRawEncoderUINT @@ -66819,7 +67613,7 @@ TODO: is add all therest Input - 674463808 + 676171328 Main.M38.nRawEncoderINT @@ -66832,7 +67626,7 @@ TODO: is add all therest Input - 674463824 + 676171344 Main.M39.Axis.NcToPlc @@ -66844,7 +67638,7 @@ TODO: is add all therest Input - 674480960 + 676188480 Main.M39.bLimitForwardEnable @@ -66867,7 +67661,7 @@ TODO: is add all therest Input - 674488896 + 676196416 Main.M39.bLimitBackwardEnable @@ -66890,7 +67684,7 @@ TODO: is add all therest Input - 674488904 + 676196424 Main.M39.bHome @@ -66913,7 +67707,7 @@ TODO: is add all therest Input - 674488912 + 676196432 Main.M39.bHardwareEnable @@ -66936,7 +67730,7 @@ TODO: is add all therest Input - 674488928 + 676196448 Main.M39.nRawEncoderULINT @@ -66949,7 +67743,7 @@ TODO: is add all therest Input - 674488960 + 676196480 Main.M39.nRawEncoderUINT @@ -66962,7 +67756,7 @@ TODO: is add all therest Input - 674489024 + 676196544 Main.M39.nRawEncoderINT @@ -66975,7 +67769,7 @@ TODO: is add all therest Input - 674489040 + 676196560 Main.M40.Axis.NcToPlc @@ -66987,7 +67781,7 @@ TODO: is add all therest Input - 674506176 + 676213696 Main.M40.bLimitForwardEnable @@ -67010,7 +67804,7 @@ TODO: is add all therest Input - 674514112 + 676221632 Main.M40.bLimitBackwardEnable @@ -67033,7 +67827,7 @@ TODO: is add all therest Input - 674514120 + 676221640 Main.M40.bHome @@ -67056,7 +67850,7 @@ TODO: is add all therest Input - 674514128 + 676221648 Main.M40.bHardwareEnable @@ -67079,7 +67873,7 @@ TODO: is add all therest Input - 674514144 + 676221664 Main.M40.nRawEncoderULINT @@ -67092,7 +67886,7 @@ TODO: is add all therest Input - 674514176 + 676221696 Main.M40.nRawEncoderUINT @@ -67105,7 +67899,7 @@ TODO: is add all therest Input - 674514240 + 676221760 Main.M40.nRawEncoderINT @@ -67118,7 +67912,7 @@ TODO: is add all therest Input - 674514256 + 676221776 Main.M41.Axis.NcToPlc @@ -67130,7 +67924,7 @@ TODO: is add all therest Input - 674531392 + 676238912 Main.M41.bLimitForwardEnable @@ -67153,7 +67947,7 @@ TODO: is add all therest Input - 674539328 + 676246848 Main.M41.bLimitBackwardEnable @@ -67176,7 +67970,7 @@ TODO: is add all therest Input - 674539336 + 676246856 Main.M41.bHome @@ -67199,7 +67993,7 @@ TODO: is add all therest Input - 674539344 + 676246864 Main.M41.bHardwareEnable @@ -67222,7 +68016,7 @@ TODO: is add all therest Input - 674539360 + 676246880 Main.M41.nRawEncoderULINT @@ -67235,7 +68029,7 @@ TODO: is add all therest Input - 674539392 + 676246912 Main.M41.nRawEncoderUINT @@ -67248,7 +68042,7 @@ TODO: is add all therest Input - 674539456 + 676246976 Main.M41.nRawEncoderINT @@ -67261,7 +68055,7 @@ TODO: is add all therest Input - 674539472 + 676246992 Main.M42.Axis.NcToPlc @@ -67273,7 +68067,7 @@ TODO: is add all therest Input - 674556608 + 676264128 Main.M42.bLimitForwardEnable @@ -67296,7 +68090,7 @@ TODO: is add all therest Input - 674564544 + 676272064 Main.M42.bLimitBackwardEnable @@ -67319,7 +68113,7 @@ TODO: is add all therest Input - 674564552 + 676272072 Main.M42.bHome @@ -67342,7 +68136,7 @@ TODO: is add all therest Input - 674564560 + 676272080 Main.M42.bHardwareEnable @@ -67365,7 +68159,7 @@ TODO: is add all therest Input - 674564576 + 676272096 Main.M42.nRawEncoderULINT @@ -67378,7 +68172,7 @@ TODO: is add all therest Input - 674564608 + 676272128 Main.M42.nRawEncoderUINT @@ -67391,7 +68185,7 @@ TODO: is add all therest Input - 674564672 + 676272192 Main.M42.nRawEncoderINT @@ -67404,7 +68198,7 @@ TODO: is add all therest Input - 674564688 + 676272208 Main.M43.Axis.NcToPlc @@ -67416,7 +68210,7 @@ TODO: is add all therest Input - 674581824 + 676289344 Main.M43.bLimitForwardEnable @@ -67439,7 +68233,7 @@ TODO: is add all therest Input - 674589760 + 676297280 Main.M43.bLimitBackwardEnable @@ -67462,7 +68256,7 @@ TODO: is add all therest Input - 674589768 + 676297288 Main.M43.bHome @@ -67485,7 +68279,7 @@ TODO: is add all therest Input - 674589776 + 676297296 Main.M43.bHardwareEnable @@ -67508,7 +68302,7 @@ TODO: is add all therest Input - 674589792 + 676297312 Main.M43.nRawEncoderULINT @@ -67521,7 +68315,7 @@ TODO: is add all therest Input - 674589824 + 676297344 Main.M43.nRawEncoderUINT @@ -67534,7 +68328,7 @@ TODO: is add all therest Input - 674589888 + 676297408 Main.M43.nRawEncoderINT @@ -67547,7 +68341,7 @@ TODO: is add all therest Input - 674589904 + 676297424 Main.M44.Axis.NcToPlc @@ -67559,7 +68353,7 @@ TODO: is add all therest Input - 674607040 + 676314560 Main.M44.bLimitForwardEnable @@ -67582,7 +68376,7 @@ TODO: is add all therest Input - 674614976 + 676322496 Main.M44.bLimitBackwardEnable @@ -67605,7 +68399,7 @@ TODO: is add all therest Input - 674614984 + 676322504 Main.M44.bHome @@ -67628,7 +68422,7 @@ TODO: is add all therest Input - 674614992 + 676322512 Main.M44.bHardwareEnable @@ -67651,7 +68445,7 @@ TODO: is add all therest Input - 674615008 + 676322528 Main.M44.nRawEncoderULINT @@ -67664,7 +68458,7 @@ TODO: is add all therest Input - 674615040 + 676322560 Main.M44.nRawEncoderUINT @@ -67677,7 +68471,7 @@ TODO: is add all therest Input - 674615104 + 676322624 Main.M44.nRawEncoderINT @@ -67690,14 +68484,14 @@ TODO: is add all therest Input - 674615120 + 676322640 1 PlcTask Outputs 0 - 85262336 + 85458944 PRG_AL1K4_L2SI.fbAL1K4.fbYStage.fbDriveVirtual.MasterAxis.PlcToNc 1024 @@ -68294,7 +69088,7 @@ TODO: is add all therest Output - 657685760 + 657685952 PRG_SP1K4.fbMotionFoilX.fbDriveVirtual.MasterAxis.PlcToNc @@ -68306,7 +69100,7 @@ TODO: is add all therest Output - 657983680 + 657983872 PRG_SP1K4.fbMotionZPX.fbDriveVirtual.MasterAxis.PlcToNc @@ -68318,7 +69112,7 @@ TODO: is add all therest Output - 658281600 + 658281792 PRG_SP1K4.fbMotionZPY.fbDriveVirtual.MasterAxis.PlcToNc @@ -68330,7 +69124,7 @@ TODO: is add all therest Output - 658579520 + 658579712 PRG_SP1K4.fbMotionZPZ.fbDriveVirtual.MasterAxis.PlcToNc @@ -68342,7 +69136,7 @@ TODO: is add all therest Output - 658877440 + 658877632 PRG_SP1K4.fbMotionYAGX.fbDriveVirtual.MasterAxis.PlcToNc @@ -68354,7 +69148,7 @@ TODO: is add all therest Output - 659175360 + 659175552 PRG_SP1K4.fbMotionYAGY.fbDriveVirtual.MasterAxis.PlcToNc @@ -68366,7 +69160,7 @@ TODO: is add all therest Output - 659473280 + 659473472 PRG_SP1K4.fbMotionYAGZ.fbDriveVirtual.MasterAxis.PlcToNc @@ -68378,7 +69172,7 @@ TODO: is add all therest Output - 659771200 + 659771392 PRG_SP1K4.fbMotionYAGR.fbDriveVirtual.MasterAxis.PlcToNc @@ -68390,7 +69184,7 @@ TODO: is add all therest Output - 660069120 + 660069312 PRG_SP1K4.fbMotionTL1.fbDriveVirtual.MasterAxis.PlcToNc @@ -68402,7 +69196,7 @@ TODO: is add all therest Output - 660367040 + 660367232 PRG_SP1K4.fbMotionTL2.fbDriveVirtual.MasterAxis.PlcToNc @@ -68414,7 +69208,7 @@ TODO: is add all therest Output - 660664960 + 660665152 PRG_SP1K4.fbMotionTLX.fbDriveVirtual.MasterAxis.PlcToNc @@ -68426,7 +69220,7 @@ TODO: is add all therest Output - 660962880 + 660963072 PRG_SP1K4.fbMotionFoilY.fbDriveVirtual.MasterAxis.PlcToNc @@ -68438,7 +69232,7 @@ TODO: is add all therest Output - 661260800 + 661260992 PRG_SP1K4.fbZPStates.astMotionStageMax[1].Axis.PlcToNc @@ -68450,7 +69244,7 @@ TODO: is add all therest Output - 662824000 + 662824192 PRG_SP1K4.fbZPStates.astMotionStageMax[1].bBrakeRelease @@ -68473,10 +69267,80 @@ TODO: is add all therest Output - 662832984 + 662833176 + + + PRG_SP1K4.fbZPStates.astMotionStageMax[2].Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 662849408 + + + PRG_SP1K4.fbZPStates.astMotionStageMax[2].bBrakeRelease + NC Brake Output: TRUE to release brake + 8 + BOOL + + + pytmc + + pv: PLC:bBrakeRelease + io: i + field: ZNAM FALSE + field: ONAM TRUE + field: DESC TRUE if brake released + + + + TcAddressType + Output + + + 662858392 + + + PRG_SP1K4.fbZPStates.astMotionStageMax[3].Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 662874624 + + + PRG_SP1K4.fbZPStates.astMotionStageMax[3].bBrakeRelease + NC Brake Output: TRUE to release brake + 8 + BOOL + + + pytmc + + pv: PLC:bBrakeRelease + io: i + field: ZNAM FALSE + field: ONAM TRUE + field: DESC TRUE if brake released + + + + TcAddressType + Output + + + 662883608 - PRG_SP1K4.fbZPStates.astMotionStageMax[2].Axis.PlcToNc + PRG_SP1K4.fbATTStates.astMotionStageMax[1].Axis.PlcToNc 1024 PLCTONC_AXIS_REF @@ -68485,10 +69349,10 @@ TODO: is add all therest Output - 662849216 + 664586240 - PRG_SP1K4.fbZPStates.astMotionStageMax[2].bBrakeRelease + PRG_SP1K4.fbATTStates.astMotionStageMax[1].bBrakeRelease NC Brake Output: TRUE to release brake 8 BOOL @@ -68508,10 +69372,10 @@ TODO: is add all therest Output - 662858200 + 664595224 - PRG_SP1K4.fbZPStates.astMotionStageMax[3].Axis.PlcToNc + PRG_SP1K4.fbATTStates.astMotionStageMax[2].Axis.PlcToNc 1024 PLCTONC_AXIS_REF @@ -68520,10 +69384,10 @@ TODO: is add all therest Output - 662874432 + 664611456 - PRG_SP1K4.fbZPStates.astMotionStageMax[3].bBrakeRelease + PRG_SP1K4.fbATTStates.astMotionStageMax[2].bBrakeRelease NC Brake Output: TRUE to release brake 8 BOOL @@ -68543,35 +69407,51 @@ TODO: is add all therest Output - 662883416 + 664620440 - GVL_PMPS.PMPS_ST4K4_IN + PRG_SP1K4.fbATTStates.astMotionStageMax[3].Axis.PlcToNc + 1024 + PLCTONC_AXIS_REF + + + TcAddressType + Output + + + 664636672 + + + PRG_SP1K4.fbATTStates.astMotionStageMax[3].bBrakeRelease + NC Brake Output: TRUE to release brake 8 BOOL - TcLinkTo - TIIB[PMPS_PRE]^IO Outputs^bST4K4_IN + pytmc + + pv: PLC:bBrakeRelease + io: i + field: ZNAM FALSE + field: ONAM TRUE + field: DESC TRUE if brake released + TcAddressType Output - - TcVarGlobal - - 663063800 + 664645656 - GVL_PMPS.PMPS_ST4K4_OUT + GVL_PMPS.PMPS_ST4K4_IN 8 BOOL TcLinkTo - TIIB[PMPS_PRE]^IO Outputs^bST4K4_OUT + TIIB[PMPS_PRE]^IO Outputs^bST4K4_IN TcAddressType @@ -68581,7 +69461,7 @@ TODO: is add all therest TcVarGlobal - 663320032 + 665027512 PRG_3_PMPS_POST.fbArbiterIO.q_stRequestedBP @@ -68597,7 +69477,7 @@ TODO: is add all therest Output - 663322624 + 665030080 GVL_PMPS.fbFastFaultOutput1.q_xFastFaultOut @@ -68617,7 +69497,7 @@ TODO: is add all therest Output - 670228104 + 671935560 GVL_PMPS.fbFastFaultOutput2.q_xFastFaultOut @@ -68637,7 +69517,26 @@ TODO: is add all therest Output - 671875016 + 673582472 + + + GVL_PMPS.PMPS_ST4K4_OUT + 8 + BOOL + + + TcLinkTo + TIIB[PMPS_PRE]^IO Outputs^bST4K4_OUT + + + TcAddressType + Output + + + TcVarGlobal + + + 675229120 Main.M1.Axis.PlcToNc @@ -68649,7 +69548,7 @@ TODO: is add all therest Output - 673521728 + 675229248 Main.M1.bBrakeRelease @@ -68672,7 +69571,7 @@ TODO: is add all therest Output - 673530712 + 675238232 Main.M2.Axis.PlcToNc @@ -68684,7 +69583,7 @@ TODO: is add all therest Output - 673546944 + 675254464 Main.M2.bBrakeRelease @@ -68707,7 +69606,7 @@ TODO: is add all therest Output - 673555928 + 675263448 Main.M3.Axis.PlcToNc @@ -68719,7 +69618,7 @@ TODO: is add all therest Output - 673572160 + 675279680 Main.M3.bBrakeRelease @@ -68742,7 +69641,7 @@ TODO: is add all therest Output - 673581144 + 675288664 Main.M4.Axis.PlcToNc @@ -68754,7 +69653,7 @@ TODO: is add all therest Output - 673597376 + 675304896 Main.M4.bBrakeRelease @@ -68777,7 +69676,7 @@ TODO: is add all therest Output - 673606360 + 675313880 Main.M5.Axis.PlcToNc @@ -68789,7 +69688,7 @@ TODO: is add all therest Output - 673622592 + 675330112 Main.M5.bBrakeRelease @@ -68812,7 +69711,7 @@ TODO: is add all therest Output - 673631576 + 675339096 Main.M6.Axis.PlcToNc @@ -68824,7 +69723,7 @@ TODO: is add all therest Output - 673647808 + 675355328 Main.M6.bBrakeRelease @@ -68847,7 +69746,7 @@ TODO: is add all therest Output - 673656792 + 675364312 Main.M7.Axis.PlcToNc @@ -68859,7 +69758,7 @@ TODO: is add all therest Output - 673673024 + 675380544 Main.M7.bBrakeRelease @@ -68882,7 +69781,7 @@ TODO: is add all therest Output - 673682008 + 675389528 Main.M8.Axis.PlcToNc @@ -68894,7 +69793,7 @@ TODO: is add all therest Output - 673698240 + 675405760 Main.M8.bBrakeRelease @@ -68917,7 +69816,7 @@ TODO: is add all therest Output - 673707224 + 675414744 Main.M9.Axis.PlcToNc @@ -68929,7 +69828,7 @@ TODO: is add all therest Output - 673723456 + 675430976 Main.M9.bBrakeRelease @@ -68952,7 +69851,7 @@ TODO: is add all therest Output - 673732440 + 675439960 Main.M10.Axis.PlcToNc @@ -68964,7 +69863,7 @@ TODO: is add all therest Output - 673748672 + 675456192 Main.M10.bBrakeRelease @@ -68987,7 +69886,7 @@ TODO: is add all therest Output - 673757656 + 675465176 Main.M11.Axis.PlcToNc @@ -68999,7 +69898,7 @@ TODO: is add all therest Output - 673773888 + 675481408 Main.M11.bBrakeRelease @@ -69022,7 +69921,7 @@ TODO: is add all therest Output - 673782872 + 675490392 Main.M12.Axis.PlcToNc @@ -69034,7 +69933,7 @@ TODO: is add all therest Output - 673799104 + 675506624 Main.M12.bBrakeRelease @@ -69057,7 +69956,7 @@ TODO: is add all therest Output - 673808088 + 675515608 Main.M13.Axis.PlcToNc @@ -69069,7 +69968,7 @@ TODO: is add all therest Output - 673824320 + 675531840 Main.M13.bBrakeRelease @@ -69092,7 +69991,7 @@ TODO: is add all therest Output - 673833304 + 675540824 Main.M14.Axis.PlcToNc @@ -69104,7 +70003,7 @@ TODO: is add all therest Output - 673849536 + 675557056 Main.M14.bBrakeRelease @@ -69127,7 +70026,7 @@ TODO: is add all therest Output - 673858520 + 675566040 Main.M15.Axis.PlcToNc @@ -69139,7 +70038,7 @@ TODO: is add all therest Output - 673874752 + 675582272 Main.M15.bBrakeRelease @@ -69162,7 +70061,7 @@ TODO: is add all therest Output - 673883736 + 675591256 Main.M16.Axis.PlcToNc @@ -69174,7 +70073,7 @@ TODO: is add all therest Output - 673899968 + 675607488 Main.M16.bBrakeRelease @@ -69197,7 +70096,7 @@ TODO: is add all therest Output - 673908952 + 675616472 Main.M17.Axis.PlcToNc @@ -69209,7 +70108,7 @@ TODO: is add all therest Output - 673925184 + 675632704 Main.M17.bBrakeRelease @@ -69232,7 +70131,7 @@ TODO: is add all therest Output - 673934168 + 675641688 Main.M18.Axis.PlcToNc @@ -69244,7 +70143,7 @@ TODO: is add all therest Output - 673950400 + 675657920 Main.M18.bBrakeRelease @@ -69267,7 +70166,7 @@ TODO: is add all therest Output - 673959384 + 675666904 Main.M19.Axis.PlcToNc @@ -69279,7 +70178,7 @@ TODO: is add all therest Output - 673975616 + 675683136 Main.M19.bBrakeRelease @@ -69302,7 +70201,7 @@ TODO: is add all therest Output - 673984600 + 675692120 Main.M20.Axis.PlcToNc @@ -69314,7 +70213,7 @@ TODO: is add all therest Output - 674000832 + 675708352 Main.M20.bBrakeRelease @@ -69337,7 +70236,7 @@ TODO: is add all therest Output - 674009816 + 675717336 Main.M21.Axis.PlcToNc @@ -69349,7 +70248,7 @@ TODO: is add all therest Output - 674026048 + 675733568 Main.M21.bBrakeRelease @@ -69372,7 +70271,7 @@ TODO: is add all therest Output - 674035032 + 675742552 Main.M22.Axis.PlcToNc @@ -69384,7 +70283,7 @@ TODO: is add all therest Output - 674051264 + 675758784 Main.M22.bBrakeRelease @@ -69407,7 +70306,7 @@ TODO: is add all therest Output - 674060248 + 675767768 Main.M23.Axis.PlcToNc @@ -69419,7 +70318,7 @@ TODO: is add all therest Output - 674076480 + 675784000 Main.M23.bBrakeRelease @@ -69442,7 +70341,7 @@ TODO: is add all therest Output - 674085464 + 675792984 Main.M24.Axis.PlcToNc @@ -69454,7 +70353,7 @@ TODO: is add all therest Output - 674101696 + 675809216 Main.M24.bBrakeRelease @@ -69477,7 +70376,7 @@ TODO: is add all therest Output - 674110680 + 675818200 Main.M25.Axis.PlcToNc @@ -69489,7 +70388,7 @@ TODO: is add all therest Output - 674126912 + 675834432 Main.M25.bBrakeRelease @@ -69512,7 +70411,7 @@ TODO: is add all therest Output - 674135896 + 675843416 Main.M26.Axis.PlcToNc @@ -69524,7 +70423,7 @@ TODO: is add all therest Output - 674152128 + 675859648 Main.M26.bBrakeRelease @@ -69547,7 +70446,7 @@ TODO: is add all therest Output - 674161112 + 675868632 Main.M27.Axis.PlcToNc @@ -69559,7 +70458,7 @@ TODO: is add all therest Output - 674177344 + 675884864 Main.M27.bBrakeRelease @@ -69582,7 +70481,7 @@ TODO: is add all therest Output - 674186328 + 675893848 Main.M28.Axis.PlcToNc @@ -69594,7 +70493,7 @@ TODO: is add all therest Output - 674202560 + 675910080 Main.M28.bBrakeRelease @@ -69617,7 +70516,7 @@ TODO: is add all therest Output - 674211544 + 675919064 Main.M29.Axis.PlcToNc @@ -69629,7 +70528,7 @@ TODO: is add all therest Output - 674227776 + 675935296 Main.M29.bBrakeRelease @@ -69652,7 +70551,7 @@ TODO: is add all therest Output - 674236760 + 675944280 Main.M30.Axis.PlcToNc @@ -69664,7 +70563,7 @@ TODO: is add all therest Output - 674252992 + 675960512 Main.M30.bBrakeRelease @@ -69687,7 +70586,7 @@ TODO: is add all therest Output - 674261976 + 675969496 Main.M31.Axis.PlcToNc @@ -69699,7 +70598,7 @@ TODO: is add all therest Output - 674278208 + 675985728 Main.M31.bBrakeRelease @@ -69722,7 +70621,7 @@ TODO: is add all therest Output - 674287192 + 675994712 Main.M32.Axis.PlcToNc @@ -69734,7 +70633,7 @@ TODO: is add all therest Output - 674303424 + 676010944 Main.M32.bBrakeRelease @@ -69757,7 +70656,7 @@ TODO: is add all therest Output - 674312408 + 676019928 Main.M33.Axis.PlcToNc @@ -69769,7 +70668,7 @@ TODO: is add all therest Output - 674328640 + 676036160 Main.M33.bBrakeRelease @@ -69792,7 +70691,7 @@ TODO: is add all therest Output - 674337624 + 676045144 Main.M34.Axis.PlcToNc @@ -69804,7 +70703,7 @@ TODO: is add all therest Output - 674353856 + 676061376 Main.M34.bBrakeRelease @@ -69827,7 +70726,7 @@ TODO: is add all therest Output - 674362840 + 676070360 Main.M35.Axis.PlcToNc @@ -69839,7 +70738,7 @@ TODO: is add all therest Output - 674379072 + 676086592 Main.M35.bBrakeRelease @@ -69862,7 +70761,7 @@ TODO: is add all therest Output - 674388056 + 676095576 Main.M36.Axis.PlcToNc @@ -69874,7 +70773,7 @@ TODO: is add all therest Output - 674404288 + 676111808 Main.M36.bBrakeRelease @@ -69897,7 +70796,7 @@ TODO: is add all therest Output - 674413272 + 676120792 Main.M37.Axis.PlcToNc @@ -69909,7 +70808,7 @@ TODO: is add all therest Output - 674429504 + 676137024 Main.M37.bBrakeRelease @@ -69932,7 +70831,7 @@ TODO: is add all therest Output - 674438488 + 676146008 Main.M38.Axis.PlcToNc @@ -69944,7 +70843,7 @@ TODO: is add all therest Output - 674454720 + 676162240 Main.M38.bBrakeRelease @@ -69967,7 +70866,7 @@ TODO: is add all therest Output - 674463704 + 676171224 Main.M39.Axis.PlcToNc @@ -69979,7 +70878,7 @@ TODO: is add all therest Output - 674479936 + 676187456 Main.M39.bBrakeRelease @@ -70002,7 +70901,7 @@ TODO: is add all therest Output - 674488920 + 676196440 Main.M40.Axis.PlcToNc @@ -70014,7 +70913,7 @@ TODO: is add all therest Output - 674505152 + 676212672 Main.M40.bBrakeRelease @@ -70037,7 +70936,7 @@ TODO: is add all therest Output - 674514136 + 676221656 Main.M41.Axis.PlcToNc @@ -70049,7 +70948,7 @@ TODO: is add all therest Output - 674530368 + 676237888 Main.M41.bBrakeRelease @@ -70072,7 +70971,7 @@ TODO: is add all therest Output - 674539352 + 676246872 Main.M42.Axis.PlcToNc @@ -70084,7 +70983,7 @@ TODO: is add all therest Output - 674555584 + 676263104 Main.M42.bBrakeRelease @@ -70107,7 +71006,7 @@ TODO: is add all therest Output - 674564568 + 676272088 Main.M43.Axis.PlcToNc @@ -70119,7 +71018,7 @@ TODO: is add all therest Output - 674580800 + 676288320 Main.M43.bBrakeRelease @@ -70142,7 +71041,7 @@ TODO: is add all therest Output - 674589784 + 676297304 Main.M44.Axis.PlcToNc @@ -70154,7 +71053,7 @@ TODO: is add all therest Output - 674606016 + 676313536 Main.M44.bBrakeRelease @@ -70177,14 +71076,14 @@ TODO: is add all therest Output - 674615000 + 676322520 3 PlcTask Internal 0 - 85262336 + 85458944 DefaultGlobals.stSys Included for you @@ -77289,91 +78188,91 @@ TODO: is add all therest PRG_SP1K4.fbMotionLensX 297920 FB_MotionStage - 657684288 + 657684480 PRG_SP1K4.fbMotionFoilX 297920 FB_MotionStage - 657982208 + 657982400 PRG_SP1K4.fbMotionZPX 297920 FB_MotionStage - 658280128 + 658280320 PRG_SP1K4.fbMotionZPY 297920 FB_MotionStage - 658578048 + 658578240 PRG_SP1K4.fbMotionZPZ 297920 FB_MotionStage - 658875968 + 658876160 PRG_SP1K4.fbMotionYAGX 297920 FB_MotionStage - 659173888 + 659174080 PRG_SP1K4.fbMotionYAGY 297920 FB_MotionStage - 659471808 + 659472000 PRG_SP1K4.fbMotionYAGZ 297920 FB_MotionStage - 659769728 + 659769920 PRG_SP1K4.fbMotionYAGR 297920 FB_MotionStage - 660067648 + 660067840 PRG_SP1K4.fbMotionTL1 297920 FB_MotionStage - 660365568 + 660365760 PRG_SP1K4.fbMotionTL2 297920 FB_MotionStage - 660663488 + 660663680 PRG_SP1K4.fbMotionTLX 297920 FB_MotionStage - 660961408 + 660961600 PRG_SP1K4.fbMotionFoilY 297920 FB_MotionStage - 661259328 + 661259520 PRG_SP1K4.nTL2HighCycles 16 UINT - 661557248 + 661557440 PRG_SP1K4.nTL2LowCycles 16 UINT - 661557264 + 661557456 PRG_SP1K4.nNumCyclesNeeded @@ -77382,7 +78281,7 @@ TODO: is add all therest 100 - 661557280 + 661557472 PRG_SP1K4.bInit @@ -77391,14 +78290,14 @@ TODO: is add all therest 1 - 661557296 + 661557488 PRG_SP1K4.bAttIn Placeholder, later this should be TRUE if the attenuator is in and FALSE otherwise 8 BOOL - 661557304 + 661557496 PRG_SP1K4.fbZPStates @@ -77413,7 +78312,7 @@ TODO: is add all therest - 661557312 + 661557504 PRG_SP1K4.zp_enumSet @@ -77428,7 +78327,7 @@ TODO: is add all therest - 663063744 + 663063936 PRG_SP1K4.zp_enumGet @@ -77443,31 +78342,43 @@ TODO: is add all therest - 663063760 - - - PRG_3_PMPS_POST.bST3K4_Veto - 8 - BOOL - 663063776 + 663063952 - PRG_3_PMPS_POST.bM1K1Veto - 8 - BOOL - 663063784 + PRG_SP1K4.att_enumSet + 16 + ENUM_SolidAttenuator_Staes + + + pytmc + + pv: SP1K4:ATT:STATE:SET + io: io + + + + 663063968 - PRG_3_PMPS_POST.bST4K4_Veto - 8 - BOOL - 663063792 + PRG_SP1K4.att_enumGet + 16 + ENUM_SolidAttenuator_Staes + + + pytmc + + pv: SP1K4:ATT:STATE:GET + io: io + + + + 663063984 PRG_SP1K4.fbZPSetup 87808 FB_StateSetupHelper - 663063808 + 663064000 PRG_SP1K4.fbZPDefault @@ -77491,7 +78402,7 @@ TODO: is add all therest 1 - 663151616 + 663151808 PRG_SP1K4.aZPXStates @@ -77501,7 +78412,7 @@ TODO: is add all therest 1 15 - 663155264 + 663155456 PRG_SP1K4.aZPYStates @@ -77511,7 +78422,7 @@ TODO: is add all therest 1 15 - 663209984 + 663210176 PRG_SP1K4.aZPZStates @@ -77521,55 +78432,108 @@ TODO: is add all therest 1 15 - 663264704 + 663264896 - Constants.bLittleEndian - Does the target support an FPU - 8 - BOOL - - 1 - + PRG_SP1K4.fbATTStates + /Solid-ATT states start + 1506368 + FB_PositionStatePMPS2D - TcVarGlobal + pytmc + + pv: SP1K4:ATT + - 663320048 + 663319616 - Constants.bSimulationMode - Does the target support an FPU - 8 - BOOL + PRG_SP1K4.fbATTSetup + 87808 + FB_StateSetupHelper + 664825984 + + + PRG_SP1K4.fbATTDefault + 3648 + ST_PositionState - 0 + + .fDelta + 0.5 + + + .fVelocity + 1 + + + .bMoveOk + 1 + + + .bValid + 1 + - - - TcVarGlobal - - - 663320056 + 664913792 + + + PRG_SP1K4.aATTXStates + 54720 + ST_PositionState + + 1 + 15 + + 664917440 + + + PRG_SP1K4.aATTYStates + 54720 + ST_PositionState + + 1 + 15 + + 664972160 + + + PRG_3_PMPS_POST.bST3K4_Veto + 8 + BOOL + 665027488 + + + PRG_3_PMPS_POST.bM1K1Veto + 8 + BOOL + 665027496 + + + PRG_3_PMPS_POST.bST4K4_Veto + 8 + BOOL + 665027504 PRG_3_PMPS_POST.fbArbiterIO 138368 FB_SubSysToArbiter_IO - 663320064 + 665027520 PRG_3_PMPS_POST.fb_vetoArbiter 27168 FB_VetoArbiter - 663458432 + 665165888 PRG_4_LOG.fbLogHandler 5788736 FB_LogHandler - 663489280 + 665196736 GVL_PMPS.fbArbiter @@ -77588,7 +78552,7 @@ TODO: is add all therest TcVarGlobal - 669280896 + 670988352 GVL_PMPS.fbArbiter2 @@ -77607,7 +78571,7 @@ TODO: is add all therest TcVarGlobal - 669754368 + 671461824 GVL_PMPS.fbFastFaultOutput1 @@ -77637,7 +78601,7 @@ TODO: is add all therest TcVarGlobal - 670227840 + 671935296 GVL_PMPS.fbFastFaultOutput2 @@ -77667,7 +78631,67 @@ TODO: is add all therest TcVarGlobal - 671874752 + 673582208 + + + Constants.bLittleEndian + Does the target support an FPU + 8 + BOOL + + 1 + + + + TcVarGlobal + + + 675229136 + + + Constants.bSimulationMode + Does the target support an FPU + 8 + BOOL + + 0 + + + + TcVarGlobal + + + 675229144 + + + Constants.nRegisterSize + Does the target support an FPU + 16 + WORD + + 32 + + + + TcVarGlobal + + + 675229152 + + + Constants.nPackMode + Does the target support an FPU + 16 + UINT + + 8 + + + + TcVarGlobal + + + 675229168 Main.M1 @@ -77696,7 +78720,7 @@ TODO: is add all therest TcVarGlobal - 673521664 + 675229184 Main.M2 @@ -77708,7 +78732,7 @@ TODO: is add all therest TcVarGlobal - 673546880 + 675254400 Main.M3 @@ -77719,7 +78743,7 @@ TODO: is add all therest TcVarGlobal - 673572096 + 675279616 Main.M4 @@ -77730,7 +78754,7 @@ TODO: is add all therest TcVarGlobal - 673597312 + 675304832 Main.M5 @@ -77741,7 +78765,7 @@ TODO: is add all therest TcVarGlobal - 673622528 + 675330048 Main.M6 @@ -77752,7 +78776,7 @@ TODO: is add all therest TcVarGlobal - 673647744 + 675355264 Main.M7 @@ -77763,7 +78787,7 @@ TODO: is add all therest TcVarGlobal - 673672960 + 675380480 Main.M8 @@ -77774,7 +78798,7 @@ TODO: is add all therest TcVarGlobal - 673698176 + 675405696 Main.M9 @@ -77803,7 +78827,7 @@ TODO: is add all therest TcVarGlobal - 673723392 + 675430912 Main.M10 @@ -77831,7 +78855,7 @@ TODO: is add all therest TcVarGlobal - 673748608 + 675456128 Main.M11 @@ -77858,7 +78882,7 @@ TODO: is add all therest TcVarGlobal - 673773824 + 675481344 Main.M12 @@ -77885,7 +78909,7 @@ TODO: is add all therest TcVarGlobal - 673799040 + 675506560 Main.M13 @@ -77912,7 +78936,7 @@ TODO: is add all therest TcVarGlobal - 673824256 + 675531776 Main.M14 @@ -77924,7 +78948,7 @@ TODO: is add all therest TcVarGlobal - 673849472 + 675556992 Main.M15 @@ -77953,7 +78977,7 @@ TODO: is add all therest TcVarGlobal - 673874688 + 675582208 Main.M16 @@ -77982,7 +79006,7 @@ TODO: is add all therest TcVarGlobal - 673899904 + 675607424 Main.M17 @@ -78011,7 +79035,7 @@ TODO: is add all therest TcVarGlobal - 673925120 + 675632640 Main.M18 @@ -78040,7 +79064,7 @@ TODO: is add all therest TcVarGlobal - 673950336 + 675657856 Main.M19 @@ -78065,7 +79089,7 @@ TODO: is add all therest TcVarGlobal - 673975552 + 675683072 Main.M20 @@ -78094,7 +79118,7 @@ TODO: is add all therest TcVarGlobal - 674000768 + 675708288 Main.M21 @@ -78123,7 +79147,7 @@ TODO: is add all therest TcVarGlobal - 674025984 + 675733504 Main.M22 @@ -78148,7 +79172,7 @@ TODO: is add all therest TcVarGlobal - 674051200 + 675758720 Main.M23 @@ -78176,7 +79200,7 @@ TODO: is add all therest TcVarGlobal - 674076416 + 675783936 Main.M24 @@ -78203,7 +79227,7 @@ TODO: is add all therest TcVarGlobal - 674101632 + 675809152 Main.M25 @@ -78230,7 +79254,7 @@ TODO: is add all therest TcVarGlobal - 674126848 + 675834368 Main.M26 @@ -78257,7 +79281,7 @@ TODO: is add all therest TcVarGlobal - 674152064 + 675859584 Main.M27 @@ -78286,7 +79310,7 @@ TODO: is add all therest TcVarGlobal - 674177280 + 675884800 Main.M28 @@ -78315,7 +79339,7 @@ TODO: is add all therest TcVarGlobal - 674202496 + 675910016 Main.M29 @@ -78340,7 +79364,7 @@ TODO: is add all therest TcVarGlobal - 674227712 + 675935232 Main.M30 @@ -78369,7 +79393,7 @@ TODO: is add all therest TcVarGlobal - 674252928 + 675960448 Main.M31 @@ -78394,7 +79418,7 @@ TODO: is add all therest TcVarGlobal - 674278144 + 675985664 Main.M32 @@ -78431,7 +79455,7 @@ TODO: is add all therest TcVarGlobal - 674303360 + 676010880 Main.M33 @@ -78476,7 +79500,7 @@ TODO: is add all therest TcVarGlobal - 674328576 + 676036096 Main.M34 @@ -78517,7 +79541,7 @@ TODO: is add all therest TcVarGlobal - 674353792 + 676061312 Main.M35 @@ -78558,7 +79582,7 @@ TODO: is add all therest TcVarGlobal - 674379008 + 676086528 Main.M36 @@ -78599,7 +79623,7 @@ TODO: is add all therest TcVarGlobal - 674404224 + 676111744 Main.M37 @@ -78640,7 +79664,7 @@ TODO: is add all therest TcVarGlobal - 674429440 + 676136960 Main.M38 @@ -78681,7 +79705,7 @@ TODO: is add all therest TcVarGlobal - 674454656 + 676162176 Main.M39 @@ -78722,7 +79746,7 @@ TODO: is add all therest TcVarGlobal - 674479872 + 676187392 Main.M40 @@ -78763,7 +79787,7 @@ TODO: is add all therest TcVarGlobal - 674505088 + 676212608 Main.M41 @@ -78799,7 +79823,7 @@ TODO: is add all therest TcVarGlobal - 674530304 + 676237824 Main.M42 @@ -78835,7 +79859,7 @@ TODO: is add all therest TcVarGlobal - 674555520 + 676263040 Main.M43 @@ -78871,7 +79895,7 @@ TODO: is add all therest TcVarGlobal - 674580736 + 676288256 Main.M44 @@ -78916,7 +79940,7 @@ TODO: is add all therest TcVarGlobal - 674605952 + 676313472 Constants.RuntimeVersion @@ -78946,7 +79970,7 @@ TODO: is add all therest TcVarGlobal - 674631168 + 676338688 Constants.CompilerVersion @@ -78976,37 +80000,7 @@ TODO: is add all therest TcVarGlobal - 674631232 - - - Constants.nRegisterSize - Does the target support an FPU - 16 - WORD - - 32 - - - - TcVarGlobal - - - 674631296 - - - Constants.nPackMode - Does the target support an FPU - 16 - UINT - - 8 - - - - TcVarGlobal - - - 674631312 + 676338752 Constants.bFPUSupport @@ -79020,7 +80014,7 @@ TODO: is add all therest TcVarGlobal - 674631328 + 676338816 Constants.RuntimeVersionNumeric @@ -79034,7 +80028,7 @@ TODO: is add all therest TcVarGlobal - 674631360 + 676338848 Constants.CompilerVersionNumeric @@ -79048,7 +80042,7 @@ TODO: is add all therest TcVarGlobal - 674631392 + 676338880 TwinCAT_SystemInfoVarList._AppInfo @@ -79062,16 +80056,12 @@ TODO: is add all therest TcVarGlobal - 674631424 + 676338912 - TwinCAT_SystemInfoVarList._TaskInfo - 1024 - PlcTaskSystemInfo - - 1 - 1 - + TwinCAT_SystemInfoVarList._TaskPouOid_PlcTask + 32 + OTCID no_init @@ -79080,12 +80070,16 @@ TODO: is add all therest TcVarGlobal - 674633472 + 676340960 - TwinCAT_SystemInfoVarList._TaskPouOid_PlcTask - 32 - OTCID + TwinCAT_SystemInfoVarList._TaskInfo + 1024 + PlcTaskSystemInfo + + 1 + 1 + no_init @@ -79094,7 +80088,7 @@ TODO: is add all therest TcVarGlobal - 674634496 + 676340992 TwinCAT_SystemInfoVarList._TaskOid_PlcTask @@ -79108,7 +80102,7 @@ TODO: is add all therest TcVarGlobal - 674634528 + 676342016 TwinCAT_SystemInfoVarList.__PlcTask @@ -79129,7 +80123,7 @@ TODO: is add all therest TcVarGlobal - 674634560 + 676342048 TC_EVENT_CLASSES.TcSystemEventClass @@ -79198,7 +80192,7 @@ TODO: is add all therest TcVarGlobal - 674647936 + 676355424 TC_EVENT_CLASSES.TcGeneralAdsEventClass @@ -79267,7 +80261,7 @@ TODO: is add all therest TcVarGlobal - 674648064 + 676355552 TC_EVENT_CLASSES.TcRouterEventClass @@ -79336,7 +80330,7 @@ TODO: is add all therest TcVarGlobal - 674648192 + 676355680 TC_EVENT_CLASSES.TcRTimeEventClass @@ -79405,7 +80399,7 @@ TODO: is add all therest TcVarGlobal - 674648320 + 676355808 TC_EVENT_CLASSES.Win32EventClass @@ -79474,7 +80468,7 @@ TODO: is add all therest TcVarGlobal - 674648448 + 676355936 TC_EVENT_CLASSES.LCLSGeneralEventClass @@ -79543,7 +80537,7 @@ TODO: is add all therest TcVarGlobal - 674648576 + 676356064 TC_EVENTS.LCLSGeneralEventClass @@ -79566,14 +80560,14 @@ TODO: is add all therest TcVarGlobal - 674678912 + 676386400 4 PlcTask Retains 0 - 85262336 + 85458944 PMPS_GVL.SuccessfulPreemption Any time BPTM applies a new BP request which is confirmed @@ -79653,15 +80647,15 @@ TODO: is add all therest ChangeDate - 2023-08-08T16:09:23 + 2023-08-10T14:32:44 GeneratedCodeSize - 851968 + 856064 GlobalDataSize - 83918848 + 84131840 From 7f6aeea2a52e61a1e125cdedf8d09d0b8b3bdc36 Mon Sep 17 00:00:00 2001 From: tongju12 Date: Mon, 14 Aug 2023 10:24:25 -0700 Subject: [PATCH 2/2] adding sp1k4-att pmps database --- ...cDUT => ENUM_SolidAttenuator_States.TcDUT} | 4 +- .../tmo_motion/POUs/PRG_SP1K4.TcPOU | 40 +++++++++++-------- plc-tmo-motion/tmo_motion/tmo_motion.plcproj | 2 +- plc-tmo-motion/tmo_motion/tmo_motion.tmc | 20 +++++----- 4 files changed, 37 insertions(+), 29 deletions(-) rename plc-tmo-motion/tmo_motion/DUTs/{ENUM_SolidAttenuator_Staes.TcDUT => ENUM_SolidAttenuator_States.TcDUT} (74%) diff --git a/plc-tmo-motion/tmo_motion/DUTs/ENUM_SolidAttenuator_Staes.TcDUT b/plc-tmo-motion/tmo_motion/DUTs/ENUM_SolidAttenuator_States.TcDUT similarity index 74% rename from plc-tmo-motion/tmo_motion/DUTs/ENUM_SolidAttenuator_Staes.TcDUT rename to plc-tmo-motion/tmo_motion/DUTs/ENUM_SolidAttenuator_States.TcDUT index 01e8a28..b748317 100644 --- a/plc-tmo-motion/tmo_motion/DUTs/ENUM_SolidAttenuator_Staes.TcDUT +++ b/plc-tmo-motion/tmo_motion/DUTs/ENUM_SolidAttenuator_States.TcDUT @@ -1,9 +1,9 @@  - + ENUM_SolidAttenuator_Staes.OUT AND att_enumGet <> ENUM_SolidAttenuator_Staes.Unknown; +bAttIn := att_enumGet <> ENUM_SolidAttenuator_States.OUT AND att_enumGet <> ENUM_SolidAttenuator_States.Unknown; IF bAttIn THEN // Attenuator is in, pick the ATT_IN states @@ -214,6 +214,7 @@ ELSE aZPXStates[ENUM_ZonePlate_States.FZP290_2].stPMPS.sPmpsState := 'SP1K4:FZP-290-C2_ATT_OUT'; END_IF + fbZPStates( stMotionStage1:=Main.M34, stMotionStage2:=Main.M35, @@ -250,26 +251,33 @@ fbMotionTLX(stMotionStage:=Main.M43); //FOIL Y (Solid-ATT-Y) fbMotionFoilY(stMotionStage:=Main.M44); - +// SP1K4-SOLID-ATT PMPS fbATTSetup(stPositionState:=fbATTDefault, bSetDefault:=TRUE); -fbATTSetup(stPositionState:=aATTXStates[ENUM_SolidAttenuator_Staes.OUT], sName:='OUT', fPosition:=0); -fbATTSetup(stPositionState:=aATTYStates[ENUM_SolidAttenuator_Staes.OUT], sName:='OUT', fPosition:=0); +fbATTSetup(stPositionState:=aATTXStates[ENUM_SolidAttenuator_States.OUT], sName:='OUT', fPosition:=0); +fbATTSetup(stPositionState:=aATTYStates[ENUM_SolidAttenuator_States.OUT], sName:='OUT', fPosition:=0); + +fbATTSetup(stPositionState:=aATTXStates[ENUM_SolidAttenuator_States.Target1], sName:='TARGET1', fPosition:=0); +fbATTSetup(stPositionState:=aATTYStates[ENUM_SolidAttenuator_States.Target1], sName:='TARGET1', fPosition:=0); -fbATTSetup(stPositionState:=aATTXStates[ENUM_SolidAttenuator_Staes.Target1], sName:='TARGET1', fPosition:=0); -fbATTSetup(stPositionState:=aATTYStates[ENUM_SolidAttenuator_Staes.Target1], sName:='TARGET1', fPosition:=0); +fbATTSetup(stPositionState:=aATTXStates[ENUM_SolidAttenuator_States.Target2], sName:='TARGET2', fPosition:=0); +fbATTSetup(stPositionState:=aATTYStates[ENUM_SolidAttenuator_States.Target2], sName:='TARGET2', fPosition:=0); -fbATTSetup(stPositionState:=aATTXStates[ENUM_SolidAttenuator_Staes.Target2], sName:='TARGET2', fPosition:=0); -fbATTSetup(stPositionState:=aATTYStates[ENUM_SolidAttenuator_Staes.Target2], sName:='TARGET2', fPosition:=0); +fbATTSetup(stPositionState:=aATTXStates[ENUM_SolidAttenuator_States.Target3], sName:='TARGET3', fPosition:=0); +fbATTSetup(stPositionState:=aATTYStates[ENUM_SolidAttenuator_States.Target3], sName:='TARGET3', fPosition:=0); -fbATTSetup(stPositionState:=aATTXStates[ENUM_SolidAttenuator_Staes.Target3], sName:='TARGET3', fPosition:=0); -fbATTSetup(stPositionState:=aATTYStates[ENUM_SolidAttenuator_Staes.Target3], sName:='TARGET3', fPosition:=0); +fbATTSetup(stPositionState:=aATTXStates[ENUM_SolidAttenuator_States.Target4], sName:='TARGET4', fPosition:=0); +fbATTSetup(stPositionState:=aATTYStates[ENUM_SolidAttenuator_States.Target4], sName:='TARGET4', fPosition:=0); -fbATTSetup(stPositionState:=aATTXStates[ENUM_SolidAttenuator_Staes.Target4], sName:='TARGET4', fPosition:=0); -fbATTSetup(stPositionState:=aATTYStates[ENUM_SolidAttenuator_Staes.Target4], sName:='TARGET4', fPosition:=0); +fbATTSetup(stPositionState:=aATTXStates[ENUM_SolidAttenuator_States.Target5], sName:='TARGET5', fPosition:=0); +fbATTSetup(stPositionState:=aATTYStates[ENUM_SolidAttenuator_States.Target5], sName:='TARGET5', fPosition:=0); -fbATTSetup(stPositionState:=aATTXStates[ENUM_SolidAttenuator_Staes.Target5], sName:='TARGET5', fPosition:=0); -fbATTSetup(stPositionState:=aATTYStates[ENUM_SolidAttenuator_Staes.Target5], sName:='TARGET5', fPosition:=0); +aATTXStates[ENUM_SolidAttenuator_States.OUT].stPMPS.sPmpsState := 'SP1K4:ATT-OUT'; +aATTXStates[ENUM_SolidAttenuator_States.Target1].stPMPS.sPmpsState := 'SP1K4:ATT-TARGET1'; +aATTXStates[ENUM_SolidAttenuator_States.Target2].stPMPS.sPmpsState := 'SP1K4:ATT-TARGET2'; +aATTXStates[ENUM_SolidAttenuator_States.Target3].stPMPS.sPmpsState := 'SP1K4:ATT-TARGET3'; +aATTXStates[ENUM_SolidAttenuator_States.Target4].stPMPS.sPmpsState := 'SP1K4:ATT-TARGET4'; +aATTXStates[ENUM_SolidAttenuator_States.Target5].stPMPS.sPmpsState := 'SP1K4:ATT-TARGET5'; fbATTStates( stMotionStage1:=Main.M33, diff --git a/plc-tmo-motion/tmo_motion/tmo_motion.plcproj b/plc-tmo-motion/tmo_motion/tmo_motion.plcproj index 1014d13..65d9d92 100644 --- a/plc-tmo-motion/tmo_motion/tmo_motion.plcproj +++ b/plc-tmo-motion/tmo_motion/tmo_motion.plcproj @@ -21,7 +21,7 @@ K - + Code diff --git a/plc-tmo-motion/tmo_motion/tmo_motion.tmc b/plc-tmo-motion/tmo_motion/tmo_motion.tmc index 9fe7fd0..7148443 100644 --- a/plc-tmo-motion/tmo_motion/tmo_motion.tmc +++ b/plc-tmo-motion/tmo_motion/tmo_motion.tmc @@ -1,5 +1,5 @@ - + ST_System @@ -52688,11 +52688,11 @@ Digital outputs FZP290_2 15 C2 - FZP250_1 := 16 //w1 + FZP250_1 := 16 //w1 - ENUM_SolidAttenuator_Staes + ENUM_SolidAttenuator_States 16 UINT @@ -59492,7 +59492,7 @@ Digital outputs 0 PlcTask Inputs 0 - 85458944 + 85524480 PRG_AL1K4_L2SI.fbAL1K4.fbYStage.fbDriveVirtual.MasterAxis.NcToPlc 2048 @@ -68491,7 +68491,7 @@ Digital outputs 1 PlcTask Outputs 0 - 85458944 + 85524480 PRG_AL1K4_L2SI.fbAL1K4.fbYStage.fbDriveVirtual.MasterAxis.PlcToNc 1024 @@ -71083,7 +71083,7 @@ Digital outputs 3 PlcTask Internal 0 - 85458944 + 85524480 DefaultGlobals.stSys Included for you @@ -78347,7 +78347,7 @@ Digital outputs PRG_SP1K4.att_enumSet 16 - ENUM_SolidAttenuator_Staes + ENUM_SolidAttenuator_States pytmc @@ -78362,7 +78362,7 @@ Digital outputs PRG_SP1K4.att_enumGet 16 - ENUM_SolidAttenuator_Staes + ENUM_SolidAttenuator_States pytmc @@ -80567,7 +80567,7 @@ Digital outputs 4 PlcTask Retains 0 - 85458944 + 85524480 PMPS_GVL.SuccessfulPreemption Any time BPTM applies a new BP request which is confirmed @@ -80647,7 +80647,7 @@ Digital outputs ChangeDate - 2023-08-10T14:32:44 + 2023-08-14T10:14:06 GeneratedCodeSize