Search found 37 matches
- Fri Nov 08, 2019 12:30 am
- Forum: General Discussion
- Topic: Position control by serial
- Replies: 7
- Views: 8111
Re: Position control by serial
I have used the command SpeedAccelDeccelPositionM1(). Now all is fine. Sometimes the motor driver went in error: M1 Position Error Limit. In the manual, I don't' find any explanation about it. The same for Error Limit. I just noticed that increasing Error Limit, the Position Error Limit Error decrea...
- Fri Nov 08, 2019 12:20 am
- Forum: General Discussion
- Topic: R and L setting by serial
- Replies: 15
- Views: 23022
Re: R and L setting by serial
Hi I have set the Resistance and the Inductance by BasicMicroStudio (see the picture) RL.PNG surly is in the memory of the MCP because even if I switch on all system and i restart the PC+ motor driver etc, I could read those values. I would like to read those values and write them by a serial comman...
- Wed Nov 06, 2019 11:49 pm
- Forum: General Discussion
- Topic: Position control by serial
- Replies: 7
- Views: 8111
Re: Position control by serial
I have found the error. Sometimes the motor didn't run anymore because the error "M1 Position Error Limit" came up. I didn't find any documentation about it. To avoid this error I increase the "Error Limit". I didn't find any documentation about it, either. Can you please explain...
- Wed Nov 06, 2019 11:35 pm
- Forum: General Discussion
- Topic: R and L setting by serial
- Replies: 15
- Views: 23022
Re: R and L setting by serial
import time from roboclaw_3 import Roboclaw #Windows comport name #rc = Roboclaw("COM11",115200) #Linux comport name rc = Roboclaw("/dev/ttyS0",38400) rc.Open() #Get R and L M1_RL = rc.GetM1IndRes(0x80) print("Motor 1 RL=",M1_RL) M2_RL = rc.GetM1IndRes(0x80) print(&quo...
- Tue Nov 05, 2019 11:50 am
- Forum: General Discussion
- Topic: R and L setting by serial
- Replies: 15
- Views: 23022
Re: R and L setting by serial
I did as you can see in my previous post. I added this in the python library, but I don't receive the right information. For example for GETM1LR
def ReadM1IndRes(self,address):
data = self._read_n(address,130,2)
return data
def ReadM1IndRes(self,address):
data = self._read_n(address,130,2)
return data
- Tue Nov 05, 2019 11:46 am
- Forum: General Discussion
- Topic: Position control by serial
- Replies: 7
- Views: 8111
Re: Position control by serial
Can you please specify the subject of "You need to convert the decimal values into fixed point numbers as defined in the user manual. Note that the velocity and position PID settings use different fixed point multipliers.". Where? About the distance command, I used also M1SpeedAccelDecelPo...
- Tue Nov 05, 2019 6:24 am
- Forum: General Discussion
- Topic: Position control by serial
- Replies: 7
- Views: 8111
Position control by serial
I configured the PID position control by BasicMicro. Moving the Control in the software all works, and the Motor moves in the position wished. speed_P = 5.73 speed_I = 0.697 speed_D = 0 QPPS = 5960 (3350 rpm) pos_P = 20 pos_P = 0.1 pos_P = 0 Deadzone = 50 Using the serial commands in the library (Sp...
- Mon Nov 04, 2019 11:37 pm
- Forum: General Discussion
- Topic: R and L setting by serial
- Replies: 15
- Views: 23022
R and L setting by serial
Hi On my project, I should move different model motors in current mode. So I have to set both L and R. In the Python library, there is not. As I said i tried with the following code without any success. def ReadM1IndRes(self,address): data = self._read_n(address,130,2) return data Given that it is p...
- Mon Nov 04, 2019 1:55 am
- Forum: General Discussion
- Topic: set L and R by serial - not in the Python library
- Replies: 1
- Views: 2441
set L and R by serial - not in the Python library
Hi In my project I have to control a motor in current mode, therefore I should set the resistance and the inductance of the motor and after move it by the serial command in PWM (address 6?). Unfortunately, I cannot see on the Python library the command to set the resistance and inductance. In the li...
- Tue Sep 24, 2019 12:47 am
- Forum: General Discussion
- Topic: STOP all by sotware
- Replies: 6
- Views: 5141
Re: STOP all by sotware
Sorry but I don't get how to configure it.
I have selected "Hardware" in "E-Stop Reset Method".
In the mode of a Digital input I can select only "Analog" or "Pulse". Where should I select "Latching"?
I have selected "Hardware" in "E-Stop Reset Method".
In the mode of a Digital input I can select only "Analog" or "Pulse". Where should I select "Latching"?