IONICUBE remote ctrl by MatLab

simplemotion

#1

Hi all,

I’m trying to remote the IONICUBE 1x through MatLab.
I have load the smV2.dll and can R/W parameters.
But how can I manage motor movement ?
How can I send Set_Point & initiate movement ?

(by the way I tried to compile & load the SimpleMotionV2lib.pro but it didn’t work … any comments on that
are welcome)


#2

You write the target setpoints to these parameters addresses:
#define SMP_INCREMENTAL_SETPOINT 550
#define SMP_ABSOLUTE_SETPOINT 551
(depending on application).

This is from https://github.com/GraniteDevices/SimpleMotionV2/blob/develop/simplemotion_defs.h

Remember to set SMP_CONTROL_MODE as you intend.

Hope this helps!


#3

My dll header file did not expose this register …
Thanks for your help.