Skip to content

Commit

Permalink
[NEW-FEATURE]AimTti library for QL power supply (#638)
Browse files Browse the repository at this point in the history
* Create draft PR for #635

* +TcoAbbRobotic Irc5 robot program
+TcoAimTTI library for power supply QL series in develop stage
+TcoMitsubishiRobotics library  to solution in develop stage

* - remove not required library

* +TcQlSeries  supply components
+ examples in sandbox

* + readme docu

---------

Co-authored-by: peterbarancek <peterbarancek@users.noreply.github.com>
Co-authored-by: Peter Barancek <peter.barancek@mts.sk>
  • Loading branch information
3 people authored Sep 21, 2023
1 parent 39969c8 commit f7c843e
Show file tree
Hide file tree
Showing 176 changed files with 63,941 additions and 72 deletions.
5 changes: 4 additions & 1 deletion TcOpen.XAEs.slnf
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
"src\\TcoAbbRobotics\\src\\XaeTcoAbbRobotics\\XaeTcoAbbRobotics.tsproj",
"src\\TcoUtilities\\src\\XAE\\XAE\\XAETcoUtilities.tsproj",
"src\\TcoCognexVision\\src\\XAE\\XAE\\XAETcoCognexVision.tsproj",
"src\\TcoRexrothPress\\src\\XAE\\XAE\\XAETcoRexrothPress.tsproj"
"src\\TcoRexrothPress\\src\\XAE\\XAE\\XAETcoRexrothPress.tsproj",
"src\\TcoMitsubishiRobotics\src\\XaeTcoMitsubishiRobotics\\XaeTcoMitsubishiRobotics.tsproj",
"src\\TcoAimTtiPowerSupply\\src\\XaeTcoAimTtiPowerSupply\\XaeTcoAimTtiPowerSupply.tsproj"

]
}
}
8 changes: 8 additions & 0 deletions TcOpen.build.slnf
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,14 @@
"src\\TcoRexrothPress\\tests\\PlcUnitTests\\TcoRexrothPressUnitTests.csproj",
"src\\TcoRexrothPress\\tests\\Sandbox.TcoRexrothPress.Wpf\\Sandbox.TcoRexrothPress.Wpf.csproj",
"src\\TcoRexrothPress\\tests\\TcoRexrothPressTestsConnector\\TcoRexrothPressTestsConnector.csproj",
"src\\TcoMitsubishiRobotics\\src\\TcoMitsubishiRobotics.Wpf\\TcOpen.Inxton.TcoMitsubishiRobotics.Wpf.csproj",
"src\\TcoMitsubishiRobotics\\src\\TcoMitsubishiRoboticsConnector\\TcoMitsubishiRoboticsConnector.csproj",
"src\\TcoMitsubishiRobotics\\tests\\TcoMitsubishiRoboticsTestsConnector\\TcoMitsubishiRoboticsTestsConnector.csproj",
"src\\TcoMitsubishiRobotics\\tests\\TcoMitsubishiRoboticsUnitTests\\TcoMitsubishiRoboticsUnitTests.csproj",
"src\\TcoAimTtiPowerSupply\\src\\TcoAimTtiPowerSupply.Wpf\\TcOpen.Inxton.TcoAimTtiPowerSupply.Wpf.csproj",
"src\\TcoAimTtiPowerSupply\\src\\TcoAimTtiPowerSupplyConnector\\TcoAimTtiPowerSupplyConnector.csproj",
"src\\TcoAimTtiPowerSupply\\tests\\TcoAimTtiPowerSupplyTestsConnector\\TcoAimTtiPowerSupplyTestsConnector.csproj",
"src\\TcoAimTtiPowerSupply\\tests\\TcoAimTtiPowerSupplyUnitTests\\TcoAimTtiPowerSupplyUnitTests.csproj",
"src\\_packaging\\TcOpen.Group.Blazor\\TcOpen.Group.Blazor.csproj",
"src\\_packaging\\TcOpen.Group.Wpf\\TcOpen.Group.Wpf.csproj",
"src\\_packaging\\TcOpen.Group\\TcOpen.Group.csproj",
Expand Down
9 changes: 8 additions & 1 deletion TcOpen.plc.slnf
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,14 @@
"src\\TcoCognexVision\\tests\\TcoCognexVisionTestsConnector\\TcoCognexVisionTestsConnector.csproj",
"src\\TcoRexrothPress\\src\\TcoRexrothPressConnector\\TcoRexrothPressConnector.csproj",
"src\\TcoRexrothPress\\src\\XAE\\XAE\\XAETcoRexrothPress.tsproj",
"src\\TcoRexrothPress\\tests\\TcoRexrothPressTestsConnector\\TcoRexrothPressTestsConnector.csproj"
"src\\TcoRexrothPress\\tests\\TcoRexrothPressTestsConnector\\TcoRexrothPressTestsConnector.csproj",
"src\\TcoMitsubishiRobotics\\src\\TcoMitsubishiRoboticsConnector\\TcoMitsubishiRoboticsConnector.csproj",
"src\\TcoMitsubishiRobotics\\src\\XaeTcoMitsubishiRobotics\\XaeTcoMitsubishiRobotics.tsproj",
"src\\TcoMitsubishiRobotics\\tests\\TcoMitsubishiRoboticsTestsConnector\\TcoMitsubishiRoboticsTestsConnector.csproj",
"src\\TcoAimTtiPowerSupply\\src\\TcoAimTtiPowerSupplyConnector\\TcoAimTtiPowerSupplyConnector.csproj",
"src\\TcoAimTtiPowerSupply\\src\\XaeTcoAimTtiPowerSupply\\XaeTcoAimTtiPowerSupply.tsproj",
"src\\TcoAimTtiPowerSupply\\tests\\TcoAimTtiPowerSupplyTestsConnector\\TcoAimTtiPowerSupplyTestsConnector.csproj"

]
}
}
573 changes: 506 additions & 67 deletions TcOpen.sln

Large diffs are not rendered by default.

14 changes: 13 additions & 1 deletion TcOpen.slnf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"src\\TcoAbbRobotics\\src\\XaeTcoAbbRobotics\\XaeTcoAbbRobotics.tsproj",
"src\\TcoAbbRobotics\\tests\\TcoAbbRobotics.Wpf.Sandbox\\TcoAbbRobotics.Wpf.Sandbox.csproj",
"src\\TcoAbbRobotics\\tests\\TcoAbbRoboticsTestsConnector\\TcoAbbRoboticsTestsConnector.csproj",
"src\\TcoAbbRobotics\\tests\\TcoAbbRoboticsUnitTests\\TcoAbbRoboticsUnitTests.csproj"
"src\\TcoAbbRobotics\\tests\\TcoAbbRoboticsUnitTests\\TcoAbbRoboticsUnitTests.csproj",
"src\\TcoElements\\src\\TcoElementsConnector\\TcoElementsConnector.csproj",
"src\\TcoElements\\src\\Wpf\\TcoElements.Wpf\\TcoOpen.Inxton.TcoElements.Wpf.csproj",
"src\\TcoElements\\src\\XAE\\XAE\\XAETcoElements.tsproj",
Expand All @@ -71,6 +71,18 @@
"src\\TcoRexrothPress\\tests\\PlcUnitTests\\TcoRexrothPressUnitTests.csproj",
"src\\TcoRexrothPress\\tests\\Sandbox.TcoRexrothPress.Wpf\\Sandbox.TcoRexrothPress.Wpf.csproj",
"src\\TcoRexrothPress\\tests\\TcoRexrothPressTestsConnector\\TcoRexrothPressTestsConnector.csproj",
"src\\TcoMitsubishiRobotics\\src\\TcoMitsubishiRobotics.Wpf\\TcOpen.Inxton.TcoMitsubishiRobotics.Wpf.csproj",
"src\\TcoMitsubishiRobotics\\src\\TcoMitsubishiRoboticsConnector\\TcoMitsubishiRoboticsConnector.csproj",
"src\\TcoMitsubishiRobotics\\src\\XaeTcoMitsubishiRobotics\\XaeTcoMitsubishiRobotics.tsproj",
"src\\TcoMitsubishiRobotics\\tests\\TcoMitsubishiRobotics.Wpf.Sandbox\\TcoMitsubishiRobotics.Wpf.Sandbox.csproj",
"src\\TcoMitsubishiRobotics\\tests\\TcoMitsubishiRoboticsTestsConnector\\TcoMitsubishiRoboticsTestsConnector.csproj",
"src\\TcoMitsubishiRobotics\\tests\\TcoMitsubishiRoboticsUnitTests\\TcoMitsubishiRoboticsUnitTests.csproj",
"src\\TcoAimTtiPowerSupply\\src\\TcoAimTtiPowerSupply.Wpf\\TcOpen.Inxton.TcoAimTtiPowerSupply.Wpf.csproj",
"src\\TcoAimTtiPowerSupply\\src\\TcoAimTtiPowerSupplyConnector\\TcoAimTtiPowerSupplyConnector.csproj",
"src\\TcoAimTtiPowerSupply\\src\\XaeTcoAimTtiPowerSupply\\XaeTcoAimTtiPowerSupply.tsproj",
"src\\TcoAimTtiPowerSupply\\tests\\TcoAimTtiPowerSupply.Wpf.Sandbox\\TcoAimTtiPowerSupply.Wpf.Sandbox.csproj",
"src\\TcoAimTtiPowerSupply\\tests\\TcoAimTtiPowerSupplyTestsConnector\\TcoAimTtiPowerSupplyTestsConnector.csproj",
"src\\TcoAimTtiPowerSupply\\tests\\TcoAimTtiPowerSupplyUnitTests\\TcoAimTtiPowerSupplyUnitTests.csproj",
"src\\_packaging\\TcOpen.Group.Wpf\\TcOpen.Group.Wpf.csproj",
"src\\_packaging\\TcOpen.Group\\TcOpen.Group.csproj",
"src\\librarytemplate\\src\\PlcTemplateConnector\\PlcTemplateConnector.csproj",
Expand Down
6 changes: 5 additions & 1 deletion TcOpen.test.build.plc.slnf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@

"src\\TcoCognexVision\\src\\XAE\\XAE\\XAETcoCognexVision.tsproj",

"src\\TcoRexrothPress\\src\\XAE\\XAE\\XAETcoRexrothPress.tsproj"
"src\\TcoRexrothPress\\src\\XAE\\XAE\\XAETcoRexrothPress.tsproj",

"src\\TcoMitsubishiRobotics\\src\\XaeTcoMitsubishiRobotics\\XaeTcoMitsubishiRobotics.tsproj",

"src\\TcoAimTtiPowerSupply\\src\\XaeTcoAimTtiPowerSupply\\XaeTcoAimTtiPowerSupply.tsproj"
]
}
}
2 changes: 1 addition & 1 deletion src/TcoAbbRobotics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ _wpfContext.Run();
= new TcoAbbRoboticsTestsTwinController(Vortex.Adapters.Connector.Tc3.Adapter.Tc3ConnectorAdapter.Create(TargetAmsId, TargetAmsPort, true));
```

#### 3. Into the container added, insert the **`RenderableContentControl`** and bind its **`DataContext`** to the **` _tcoDriveSimpleTestContext : TcoDriveSimpleTestContext`**, using the **`PresentationType`** of the value **`Service`**.
#### 3. Into the container added, insert the **`RenderableContentControl`** and bind its **`DataContext`** to the **` _robot1 : TcoAbbRobotics.TcoIrc5_v_1_x_x(THIS^)`** or **` _robot2 : TcoAbbRobotics.TcoOmnicore_v_1_x_x(THIS^)`**, using the **`PresentationType`** of the value **`Service`**.
```XML
<vortex:RenderableContentControl Grid.Row="0" DataContext="{Binding MAIN._wpfContext._robot1}" PresentationType="Service"/>
<vortex:RenderableContentControl Grid.Row="0" DataContext="{Binding MAIN._wpfContext._robot2}" PresentationType="Service"/>
Expand Down
43 changes: 43 additions & 0 deletions src/TcoAbbRobotics/src/Robot/RAPID/TASK1/PROGMOD/Actuators.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
MODULE Actuators
!Module for control actuators
!chybová premenná po ubehnutí max casu na zatvorenie gripra pri odoberaní kusu
VAR bool bGrpErr;

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!gripper control!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!example
! FUNC BOOL A50Grp_OUT()
! !opening the gripper
! !SET do_A50_Grp;
! !WaitDI di_32B2_A50_OUT,1\Visualize\Header:="WAITING FOR SIGNAL: di_32B2_A50_OUT"\MsgArray:=["CHECK SENSOR -32B2"]\Icon:=iconError;
! !WaitTime\InPos,0.3;
! GripLoad load0;
! RETURN TRUE;
! ENDFUNC

!FUNC BOOL A50Grp_IN()
! closing the gripper
! RESET do_A50_Grp;
! WaitDI di_32B1_A50_IN,1\Visualize\Header:="WAITING FOR SIGNAL: di_32B1_A50_IN"\MsgArray:=["CHECK SENSOR -32B1"]\Icon:=iconError;
! GripLoad ldata1;
! RETURN TRUE;
!ENDFUNC


! FUNC BOOL VacumON()
!! Set do_Vacuum;
!! WaitDI di_IsVacuum,1\Visualize\Header:="WAITING FOR SIGNAL: di_IsVacuum"\MsgArray:=["CHECK VACUUM SENSOR"]\Icon:=iconError;
!! WaitTime\InPos,0.3;
! RETURN TRUE;
! ENDFUNC

! FUNC BOOL Exhaust()
!! Reset do_Vacuum;
! WaitTime\InPos,0.1;
! RETURN TRUE;
! ENDFUNC


ENDMODULE
Loading

0 comments on commit f7c843e

Please sign in to comment.