hi all..
Got some commands to work using the suggested communication parameters....!
I've been able to move the motor but haven't been able to have it print back it's location.
For instance, in a terminal with puTTY I can ask the motor it's name, or position.
P = 0 # position = zero
MR 100000 # move relative x num rev
PR P # print the current position away from 0
I tried opening a connection:
ser = serial.Serial(port='/dev/ttyUSB0', baudrate=9600,timeout=3, stopbits=1,xonxoff=False, rtscts=False, dsrdtr=False)
ser.write('P = 0\r\n')
ser.wrtie('MR 10000\r\n')
ser.write('PR P\r\n')
ser.read()
but haven't gotten any output...any ideas are super helpful and thanks again...
wbg
Got some commands to work using the suggested communication parameters....!
I've been able to move the motor but haven't been able to have it print back it's location.
For instance, in a terminal with puTTY I can ask the motor it's name, or position.
P = 0 # position = zero
MR 100000 # move relative x num rev
PR P # print the current position away from 0
I tried opening a connection:
ser = serial.Serial(port='/dev/ttyUSB0', baudrate=9600,timeout=3, stopbits=1,xonxoff=False, rtscts=False, dsrdtr=False)
ser.write('P = 0\r\n')
ser.wrtie('MR 10000\r\n')
ser.write('PR P\r\n')
ser.read()
but haven't gotten any output...any ideas are super helpful and thanks again...
wbg