BMove 方法
描述
在选定的本地坐标系中执行线性内插相对运动。
语法
Sub BMove (PointNumber As Integer)
Sub BMove (Point As SpelPoint)
Sub BMove (Point As SpelPoint, AttribExpr As String)
Sub BMove (PointExpr As String)
参数
每个语法具有一个指定机械臂在 BGo 动作期间所移至端点的参数。此参数为线性内插动作结束时的最终位置。
- PointNumber
从保存在控制器的当前机器人的点内存,使用之前示教过的点编号来指定端点。 - Point
通过使用 SpelPoint 数据类型指定端点。 - AttribExpr
通过使用字符串表达式指定端点属性。
可以使用ROT, CP, SYNC, Till, Find检索式以及并行处理语句。 - PointExpr
通过使用字符串表达式指定端点。
可以使用ROT, CP, SYNC, Till, Find检索式以及并行处理语句。
备注
如果发生错误,并且 SpelException 的 ErrorNumber 属性为3101,请参阅 SetPoint 方法的描述。
参阅
AccelR 方法, AccelS 方法, SpeedR 方法, SpeedS 方法, Arc 方法, Arc3 方法, CVMove 方法, Go 方法, Jump 方法, Jump3 方法, Jump3CP 方法, Move 方法, BGo 方法, TGo 方法, TMove 方法, Find 方法, Till 方法, SetPoint 方法
Move 示例
VB 例:
' 使用点编号指定
m_spel.Tool(1)
m_spel.BMove(100)
' 使用 SpelPoint 指定
Dim pt As SpelPoint
pt = m_spel.GetPoint("P*")
pt.X = 125.5
m_spel.BMove(pt)
' 使用点表达式指定
m_spel.BMove("P0 /L /2 ROT")
m_spel.BMove("P1 :Z(-20)")
' 使用并行处理
m_spel.BMove("P1 \!D50; On 1; D90; Off 1\!")
' 在点标签中指定
m_spel.BMove("pick")
C# 例:
// 使用点编号指定
m_spel.Tool(1);
m_spel.BMove(100);
// 使用 SpelPoint 指定
SpelPoint pt;
pt = m_spel.GetPoint("P*");
pt.X = 125.5;
m_spel.BMove(pt);
// 使用点表达式指定
m_spel.BMove("P0 /L /2");
// 使用并行处理
m_spel.BMove("P1 \!D50; On 1; D90; Off 1\!");
// 在点标签中指定
m_spel.BMove("pick");