Skip to content

Instantly share code, notes, and snippets.

View clope031's full-sized avatar
🐧
Breaking something

Carlos A. Lopez clope031

🐧
Breaking something
View GitHub Profile
@clope031
clope031 / gist:89e696ed18cbea71b2c4295e1eb5dd40
Last active February 26, 2021 18:39
CAO_RC8PRovider_Python_RobotArm_Variable.py
# -*- coding:utf-8 -*-
# Send "Move" command to RC8
#b-cap Lib URL
# https://github.com/DENSORobot/orin_bcap
import pybcapclient.bcapclient as bcapclient
### set IP Address , Port number and Timeout of connected RC8
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ORiN2.interop.CAO;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ORiN2.interop.CAO;
@clope031
clope031 / Turning IO While Doing a Spline (KB Article)Sample5.pcs
Created May 5, 2020 22:33
Turning IO While Doing a Spline (KB Article)Sample5
Sub Main
TakeArm Keep = 0
Move S, 1, Next
Arrive 50 ‘wait for robot to reach 50% of the spline motion
Set IO128
End Sub
@clope031
clope031 / Turning IO While Doing a Spline (KB Article)Sample4.pcs
Created May 5, 2020 22:31
Turning IO While Doing a Spline (KB Article)Sample4
Sub Main
TakeArm Keep = 0
Move S, 1, Next
Wait Curpathpoint = 5 ‘wait for robot to reach point 5 on the spline
Set IO128
Wait Curpathpoint = 31 ‘wait for robot to reach point 31 on the spline
Reset IO128
End Sub
@clope031
clope031 / Turning IO While Doing a Spline (KB Article)Sample3.pcs
Created May 5, 2020 22:30
Turning IO While Doing a Spline (KB Article)Sample3
'!TITLE "Robot program"
Sub Main
TakeArm Keep = 0
Move S, 1, Next
Wait Curpathpoint = 5 ‘wait for robot to reach point 5 on the spline
Set IO128
Wait Curpathpoint = 26 ‘wait for robot to reach point 26 on the spline
Reset IO128
End Sub
@clope031
clope031 / Turning IO While Doing a Spline (KB Article)Sample2.pcs
Created May 5, 2020 22:28
Turning IO While Doing a Spline (KB Article)Sample2
'!TITLE "Robot program"
Sub Main
TakeArm Keep = 0
Move S, 1, Next
Wait Curpathpoint = 5 ‘wait for robot to reach point 5 on the spline
Set IO128
End Sub
@clope031
clope031 / Turning IO While Doing a Spline (KB Article)Sample1.pcs
Last active May 5, 2020 22:26
Turning IO While Doing a Spline (KB Article) (Sample1)
'!TITLE "Robot program"
Sub Main
TakeArm Keep = 0
Move S, 1
End Sub