Skip to content

Commit

Permalink
fix at2k4 pv error
Browse files Browse the repository at this point in the history
  • Loading branch information
tongju12 committed Jul 23, 2024
1 parent b1cfe55 commit 7c2f9bd
Show file tree
Hide file tree
Showing 4 changed files with 1,858 additions and 1,857 deletions.
34 changes: 17 additions & 17 deletions plc-tmo-motion/_Config/PLC/tmo_motion.xti
Original file line number Diff line number Diff line change
Expand Up @@ -1260,7 +1260,7 @@ External Setpoint Generation:
</DataType>
</DataTypes>
<Project GUID="{9DD0BA81-4A92-4D5E-8BD9-E101C02702D4}" Name="tmo_motion" PrjFilePath="..\..\tmo_motion\tmo_motion.plcproj" TmcFilePath="..\..\tmo_motion\tmo_motion.tmc" ReloadTmc="true" AmsPort="851" FileArchiveSettings="#x000e" SymbolicMapping="true">
<Instance Id="#x08502000" TcSmClass="TComPlcObjDef" KeepUnrestoredLinks="2" TmcPath="tmo_motion\tmo_motion.tmc" TmcHash="{71D9AF80-0111-60BD-E642-58E77DBD9A91}">
<Instance Id="#x08502000" TcSmClass="TComPlcObjDef" KeepUnrestoredLinks="2" TmcPath="tmo_motion\tmo_motion.tmc" TmcHash="{3F3BEE99-C468-53EE-14E9-A7CFD12D9488}">
<Name>tmo_motion Instance</Name>
<CLSID ClassFactory="TcPlc30">{08500001-0000-0000-F000-000000000064}</CLSID>
<Vars VarGrpType="1">
Expand Down Expand Up @@ -2744,6 +2744,10 @@ External Setpoint Generation:
<Name>PRG_SL1K4_SCATTER.fbSL1K4.AptArrayReq</Name>
<Type GUID="{67AC048F-B785-4A4D-B941-B11E2213F502}">ST_PMPS_Aperture_IO</Type>
</Var>
<Var>
<Name>PRG_SP1K4.bHallInput1</Name>
<Type>BOOL</Type>
</Var>
<Var>
<Name>PRG_SL2K4_SCATTER.fbSL2K4.fbTopBlade.fbDriveVirtual.MasterAxis.NcToPlc</Name>
<Type GUID="{25521FAA-EA5F-4C7F-8864-BBCCDACD2E98}" Namespace="MC">NCTOPLC_AXIS_REF</Type>
Expand All @@ -2764,18 +2768,6 @@ External Setpoint Generation:
<Name>PRG_SL2K4_SCATTER.fbSL2K4.AptArrayReq</Name>
<Type GUID="{67AC048F-B785-4A4D-B941-B11E2213F502}">ST_PMPS_Aperture_IO</Type>
</Var>
<Var>
<Name>PRG_SP1K4.bHallInput1</Name>
<Type>BOOL</Type>
</Var>
<Var>
<Name>PRG_SP1K4.bHallInput2</Name>
<Type>BOOL</Type>
</Var>
<Var>
<Name>PRG_SP1K4.bTL1High</Name>
<Type>BOOL</Type>
</Var>
<Var>
<Name>PRG_ST4K4_TMO_TERM.ST4K4.i_xInsertedLS</Name>
<Comment><![CDATA[IO]]></Comment>
Expand Down Expand Up @@ -2895,6 +2887,14 @@ External Setpoint Generation:
<Name>PRG_SP1K4.fbMotionFoilY.fbDriveVirtual.MasterAxis.NcToPlc</Name>
<Type GUID="{25521FAA-EA5F-4C7F-8864-BBCCDACD2E98}" Namespace="MC">NCTOPLC_AXIS_REF</Type>
</Var>
<Var>
<Name>PRG_SP1K4.bHallInput2</Name>
<Type>BOOL</Type>
</Var>
<Var>
<Name>PRG_SP1K4.bTL1High</Name>
<Type>BOOL</Type>
</Var>
<Var>
<Name>PRG_SP1K4.bTL1Low</Name>
<Type>BOOL</Type>
Expand Down Expand Up @@ -5868,10 +5868,6 @@ External Setpoint Generation:
<Comment><![CDATA[ NC Brake Output: TRUE to release brake]]></Comment>
<Type>BOOL</Type>
</Var>
<Var>
<Name>PRG_3_PMPS_POST.fbArbiterIO.q_stRequestedBP</Name>
<Type GUID="{292CD354-C7C0-4A61-AAD0-1C85DD69646B}">ST_BeamParams_IO</Type>
</Var>
<Var>
<Name>GVL_PMPS.PMPS_ST4K4_IN</Name>
<Type>BOOL</Type>
Expand All @@ -5880,6 +5876,10 @@ External Setpoint Generation:
<Name>GVL_PMPS.PMPS_ST4K4_OUT</Name>
<Type>BOOL</Type>
</Var>
<Var>
<Name>PRG_3_PMPS_POST.fbArbiterIO.q_stRequestedBP</Name>
<Type GUID="{292CD354-C7C0-4A61-AAD0-1C85DD69646B}">ST_BeamParams_IO</Type>
</Var>
<Var>
<Name>GVL_PMPS.fbFastFaultOutput1.q_xFastFaultOut</Name>
<Type>BOOL</Type>
Expand Down
2 changes: 1 addition & 1 deletion plc-tmo-motion/plc-tmo-motion.tsproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<TargetSelect TargetId="2">{57BD9670-089D-434A-85CF-90A857EE0EFF}</TargetSelect>
<TargetSelect TargetId="2">{66689887-CCBD-452C-AC9A-039D997C6E66}</TargetSelect>
<TargetSelect TargetId="2">{3EBB9639-5FF3-42B6-8847-35C70DC013C8}</TargetSelect>
<TargetSelect TargetId="2">{520DE751-9DB6-47CB-8240-BD5C466E7E64}</TargetSelect>
<TargetSelect TargetId="2">{E008E3C8-6BD9-491C-B673-DC45CC7AA4F1}</TargetSelect>
<TargetSelect TargetId="2">{520DE751-9DB6-47CB-8240-BD5C466E7E64}</TargetSelect>
<LicenseDevice DongleHardwareId="2" DongleDevice="#x03020003" DongleLevel="50" DongleSystemId="{48EB253C-818D-610A-0B70-DC68309EB817}"/>
</Target>
</Licenses>
Expand Down
3 changes: 1 addition & 2 deletions plc-tmo-motion/tmo_motion/GVLs/Main.TcGVL
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,7 @@ VAR_GLOBAL
sName := 'LI2K4:IP1:MMS:X');
//AT2K4-MMS-FILT
{attribute 'pytmc' := 'pv: AT2K4:MMS:FILT'}
{attribute 'TcLinkTo' := '.bLimitForwardEnable := TIIB[AT2K4-EL7047-E4]^STM Status^Status^Digital input 1;
{attribute 'TcLinkTo' := '.bLimitForwardEnable := TIIB[AT2K4-EL7047-E4]^STM Status^Status^Digital input 1;
.bLimitBackwardEnable := TIIB[AT2K4-EL7047-E4]^STM Status^Status^Digital input 2;
.nRawEncoderULINT := TIIB[AT2K4-EL5042-E5]^FB Inputs Channel 1^Position'}
{attribute 'pytmc' := '
Expand Down
Loading

0 comments on commit 7c2f9bd

Please sign in to comment.