Engineering Kit R2 - Chapter 3.5 Running a DC Motor


I am using the engineering kit R2 but can't get the dc motor to run. I've connected everything like it was shown in the pictures. The command to start the dcm worked but as soon as I want to set the speed I get the following error massage:

dcm.Speed = 0.5;
Unable to receive data from the target hardware.
For MATLAB, reconnect the target hardware, clear the hardware objects and try again.
For Simulink, reconnect the target hardware and start simulation again.

I reconnected the motor several times and tried it with both geared motors from the engineering kit. I have noticed that the LEDs on the M1 connection are off.

Does someone know how to fix this problem?

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.