跳转至

Abs

签名: Abs()

绝对编程模式。位置 = 目标坐标。

所属:运动设置指令

说明

  • 任务的上电默认编程模式为增量,需要按绝对坐标编程时先调用 Abs()
  • 模态只影响 Linear/CW/CCW/Rapid 的端点解释;MoveAbs 恒为绝对。
  • 圆弧的圆心偏移 (I, J) 始终相对起点,不受 Abs/Inc 影响。

示例

Abs()
Linear(X, 100, F, 500)   -- 到绝对坐标 100

C# 对应

var cmds = controller.Commands[TaskId.T01];
cmds.Motion.Setup.Absolute();

相关指令

  • Inc — 增量编程模式