步进电机的三向运动

问题描述 投票:1回答:1

我正在使用Trio Motion MC405,无论我做什么,我都无法使轴移动。

WDOG = OFF

BASE(0)
ATYPE = 43 'STEPPER
SPEED = 5000
ACCEL = 100000
DECEL = 150000
SERVO = ON;

WDOG = ON
MOVE(30) AXIS(0)

有谁在使用Motion Perfect V3.3玩过,我将不胜感激。

basic
1个回答
0
投票

正在为别人做答,因为我确定Bill会解决的。

[STARTUP文件:

BASE(0) 'select first axis

DATUM(7) 'clear axis status errors

UNITS=2^15 'set units to 2^20
ACCEL=300 'set/read acceleration rate in mm/sec/sec: set to 200
DECEL=300 'set/read deceleration rate in mm/sec/sec: set to 200
SPEED=100/60 'set/read speed: set speed to 100/60
AXIS_ENABLE=1 'enable axis independently
FE_LIMIT=0.5 'following error limit
FE_RANGE=1.0 'range of following error
D_GAIN=30 'produce smoother response from axis
P_GAIN=2.5 'similiar to above

WDOG=1 'relay contact to enable external drives
SERVO=1 'run open loop

有关命令的更多帮助,文档为here

:这仅适用于第一轴。要更改其他轴,请更改BASE()号。您也许可以通过for循环轻松地完成此操作,尽管如果您为每个轴设置不同的设置,则最好为每个轴进行定义。

© www.soinside.com 2019 - 2024. All rights reserved.