Reading Encoder Speed Value via MATLAB/Simulink

10 years 9 months ago #29527225 by Fırat
Hello everyone i am using AX1500 motor controller for my thesis project. I am intended to use Simulink software to drive motors and read speed values from the encoder. I have completed driving the motors using simulink blocks but i cannot receive any data while i request encoder information from controller. I am converting \'?z\' using the double command in MATLAB and it prints me back the required double values for the controller. I am also addin \'13\' number to end of the string for carriage return. I am trying to do this by using xPC target with Prometheus single board computer. If any had done this before using Simulink can you please help me? Datasheet says that response will be in hex format but there is no conversion blocks for hex to something in simulink. If anyone could help me it will be very appriciated. Thank you..

Please Log in or Create an account to join the conversation.

10 years 9 months ago #29527239 by Fırat
still no reply is there anyone has any clue to measure encoder values using simulink please i need help badly

Please Log in or Create an account to join the conversation.

Moderators: tonysantoni
Time to create page: 0.054 seconds