Issuing Commands to Stepper Motor
Afficher commentaires plus anciens
Hey guys,
I want to issue serial commands to an RMS technologies R256 Stepper Motor Controller through Matlab2012a, Win 7 64-bit. I am not familiar with matlab serial interface. This is what I've tried thus far...
s = serial('COM5') <---that's the correct port
set(s, 'BaudRate', 9600)
fopen(s)
afterwards, I tried issuing commands with:
fwrite(s,'commandhere')
but I am getting no error or motor response. Here is a link to the R256 manual with commands.
Any help would be greatly appreciated.
Réponse acceptée
Plus de réponses (0)
Communautés
Plus de réponses dans Power Electronics Control
Catégories
En savoir plus sur MATLAB dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!