Motor A can run and stop normally with the NXT cable, but when I plug this Converter cable, motor A can't stop run. How can I make this motor run normally with the converter cable ? Because I want to make 2 motors run together in 1 motor port.Please your response ..

What sort of motors are you running with that cable? Looks like an NXT to RCX cable in which case the RCX motors do not have a tachometer so you can't do things like tell them to rotate 500 degrees, basically you can't use the regulated motor class with them (which is what you get from Motor.A), you should be able to use a simple RCXMotor class with it.

So I ask again. What sort of motors are you trying to run with that cable? are you trying to use three of them to attach two standard NXT motors to one motor port? If so there is no chance of this running as a regulated motor as there is no connection for the tachometers via this cable. The motor may run for a while, but there is no way that they will rotate to the requested position.

virgiawanap wrote:Ya, I did it. But now, I know that it can't work well, so I use 2 motorports with regulated cable, and use the code Motor.A.rotate(200, true); Motor.B.rotate(200, true); so it can run together..

That's still wrong. Why you ask? Because you tell leJOS to rotate Motor.A by 200 degrees. So leJOS tries. It turns on the motor and waits for feedback on how much the motor has rotated. Because the converter cable AFAIK don't allow for such feedback, leJOS will increase the power (cause the motor could be under heavy load) and since there is still no feedback from the motor, leJOS will increase the power even more. All that is called regulatation. And since you use Motor.A (instead of the RCXMotor class that Andy recommended) leJOS must assume that you have attached a type of motor that provides feedback about how much it rotated. Hence, a regulation algorithm is started in the background. However, the type of motors you seem to be using cannot and shouldn't be regulated. Basically, the regulation algorithm goes crazy because of that, and the side effects of that include that you don't really have any control over the motor and the power that the motor is fed with. You have been warned.