Skip to main content
csong
Visitor II
April 23, 2019
Question

SPC560PXX motor control use the Encoder

Hi,

We want to use PowerPC control motor with Encoder, In the example program "SPC560Pxx_RLA_Web_Motor_Control_blower" We changed the motor settings and I/O settings .

In the main program, we changed the program

#if(0)

     TestAlign = MCI_EncoderAlign(oMCI[0]);

     if(TestAlign == TRUE)

to

#if(1)

     TestAlign = MCI_EncoderAlign(oMCI[0]);

     if(TestAlign == TRUE)

when we run the program ,the motor is enabled but can not move .

How can we turn the motor up?

Best Regards

Comet

    This topic has been closed for replies.