Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

confiigure motor without MAX in C++

hi there.

 

I would like to configure motors (i,e. servo/ stepper) without using MAX. How should I do it in C++?

I tried to use some following commands:

flex_config_axis(MC1, NIMC_AXIS1 + i, (NIMC_ENCODER1 + i), 0, (NIMC_STEP_OUTPUT1 + i), 0);

flex_set_stepper_loop_mode(MC1, NIMC_AXIS1 + i, 1);  

 

but they do not work. So I am clueless of what to do now...

 

Any help is greatly appreciated!

 

Best regards,

 

Phong Pham

0 Kudos
Message 1 of 2
(5,731 Views)

no replies... ouch Smiley Frustrated

0 Kudos
Message 2 of 2
(5,724 Views)