该错误是代表轴未做好准备,还不能进行运动。一般是由于未选电机、重要参数没有设置或者驱动器报错导致的。
“Drive not ready for operation” The drive is not ready for operation. The following are possible causes: - the drive is in failure state (hardware fault) - the drive is in the starting-up stage (e.g. following an axis reset preceded by a hardware fault) - the drive has not been enabled Remark: The time required for “booting” a drive after a hardware fault can amount to several seconds.
以配置松下伺服为例:
松下伺服型号:MADHT1505BA3
-
将该伺服相应的XML文件放到用来做配置的PC的C:\TwinCAT\Io\EtherCAT路径下,把硬件扫描上来。
-
在伺服驱动器的‘Startup’下点右键添加0x6060 Modes of operation和0x3011 Number of output pulses per motor revolution这两项,如下图所示