_move 指令 停止问题

已锁定

飘逸物语

  • 帖子

    68
  • 精华

    0
  • 被关注

    17

论坛等级:游侠

注册时间:2012-03-02

普通 普通 如何晋级?

_move 指令 停止问题

1290

3

2015-04-01 17:35:35

我这里有个速度/位置 轴,开始位置在75mm处,通过_pos指令走到0,之后通过_move指令正向运动,当传感器检测到信号时通过_stop指令停止轴,但是监控上该轴位置还在变化,轴.motionstate处于standstill状态
轴.motioncommond处于end_of_interpolation状态
下面我把几个指令贴出来
//------------------------------------------------------------------
var_myretdint := _move(axis :=axis1,
direction :=positive,
velocityType :=DIRECT,
velocity :=40.0,
moveTimeOutType :=WITHOUT_TIME_LIMIT,
positiveAccelType :=DIRECT,
positiveAccel :=100,
negativeAccelType :=DIRECT,
negativeAccel :=100,
positiveAccelStartJerkType :=DIRECT,
positiveAccelStartJerk :=100,
positiveAccelEndJerkType :=DIRECT,
positiveAccelEndJerk :=100,
negativeAccelStartJerkType :=DIRECT,
negativeAccelStartJerk :=100,
negativeAccelEndJerkType :=DIRECT,
negativeAccelEndJerk :=100,
mergeMode :=IMMEDIATELY,
nextCommand :=IMMEDIATELY,
commandId :=_getCommandId(),
movingMode :=POSITION_CONTROLLED);
//----------------------------------------------------------------------------------------------
Var_MyRetDint :=_stop(axis :=axis1,
stopMode :=STOP_AND_ABORT,
stopSpecification :=ALL_AXIS_MOTION,
movingMode :=CURRENT_MODE,
stopId :=_getCommandId(),
velocityProfile :=TRAPEZOIDAL,
positiveacceltype :=DIRECT,
positiveaccel :=5000.0,
negativeacceltype :=DIRECT,
negativeaccel :=5000.0,
mergeMode :=IMMEDIATELY,
nextCommand :=IMMEDIATELY,
commandId :=_getCommandId());
_move 指令 停止问题 已锁定
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SIMOTION

共有2235条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

快扫描右侧二维码晒一晒吧!

再发帖或跟帖交流2条,就能晋升VIP啦!开启更多专属权限!

  • 分享

  • 只看
    楼主

top
X 图片
您收到0封站内信:
×
×
信息提示
很抱歉!您所访问的页面不存在,或网址发生了变化,请稍后再试。