Quantcast
Channel: Motion Control and Motor Drives topics
Viewing all articles
Browse latest Browse all 1315

Zaber T-LSR160D engine choking

$
0
0

I'm using a zaber motor model T-LSR160D with the python code below using PyCharm. But from the third movement the motor makes, it chokes. You can see what happens by clicking on the video link: https://www.youtube.com/shorts/jjG08uUODTY

 

Could someone help me solve this problem?

 

import time
from zaber.serial import BinarySerial, BinaryDevice, BinaryCommand

port = 'COM6'
serial = BinarySerial(port)

device_address = 1

device = BinaryDevice(serial, device_address)
command2 = BinaryCommand(device_address,1)
device.send(command2)

while True:
command = BinaryCommand(device_address, 43,10)
command1 = BinaryCommand(device_address, 22,10)
command3 = BinaryCommand(device_address,21,47808)
time.sleep(1)
command4 = BinaryCommand(device_address,21,-47808)
device.send(command)
device.send(command1)
device.send(command3)
device.send(command4)

serial.close()

Viewing all articles
Browse latest Browse all 1315

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>