IEEEIHUSerres/EPOS4MATLAB

Value Range Error when selecting several modes

Opened this issue · 0 comments

JB515 commented

Hi, I'm trying to put my motor into current mode but get a "Value range error" when calling the SetOperationMode() function for CurrentMode. Minimal example below:

Motor1 = Epos4(1,0); Motor1.SetOperationMode(OperationModes.ProfileVelocityMode);

I am using the library with Matlab2019b and MinGW 19.2.0 with the MATLAB add-on. Additionally, I have found the same error when setting PositionMode and VelocityMode (ProfilePositionMode and ProfileVelocityMode both work fine).