-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NEW-FEATURE]AimTti library for QL power supply (#638)
* 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
1 parent
39969c8
commit f7c843e
Showing
176 changed files
with
63,941 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
src/TcoAbbRobotics/src/Robot/RAPID/TASK1/PROGMOD/Actuators.mod
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.