Das Open-Control-Projekt - Die Alternative zur C-Control-I


Das Forum zur C-Control-1
Welche C-Control-Varianten existieren?
Übersicht - Suchen - Neueste 50 Beiträge - Neuer Beitrag - Login - Registrieren
INFO - FAQ - CC2-Forum - CCPro-Forum 

 Re: RN-Motor an I2C-Bus Kategorie: C-Control I V1.2/2.0 (von Windt H.J. - 4.07.2005 14:39)
 Als Antwort auf Re: RN-Motor an I2C-Bus von Gaston - 4.07.2005 13:59
try putting the motors in continuous mode, then stopping the motors and then getting a reading otherwise i will have to try something else,
Greeting,
H.J. Windt


> Hello,
>
> stopping the motor is not the solution. Reading is still High word= -1 and Low word = -1.
> I incremented the number of readout bytes in my programm to 8 to see if RN-MOTOR
> gives out more information, but all bytes are 255???
>
> Greetings
> Gaston
>
>
>
> > Hello,
> > This is strange!?, my i2c write and read subroutines have worked perfectly on other micro controller based i2c slaves, I have followed the RN-MOTOR pdf file exactly for reading the steps, try stopping the motors before you take a reading, maybe this will work.
> > Greetings,
> > H.J. Windt
> >
> >
> > > Hello again,
> > >
> > > I have tested the programm and its works fine but when reading the motor steps the display is always
> > > High word= -1 and Low word = -1
> > >
> > > I have tested the readout routine in my own programm and found that all 4 bytes are 255, so I think there is a little problem with the readout routine.
> > >
> > > Greetings
> > > Gaston
> > >
> > >
> >
>

 Antwort schreiben

Bisherige Antworten:

Re: RN-Motor an I2C-Bus (von Gaston - 4.07.2005 14:48)
    Re: RN-Motor an I2C-Bus (von Windt H.J. - 4.07.2005 15:00)
        Re: RN-Motor an I2C-Bus (von Gaston - 4.07.2005 15:12)
            Re: RN-Motor an I2C-Bus (von Windt H.J. - 4.07.2005 18:24)
                Re: RN-Motor an I2C-Bus (von Gaston - 5.07.2005 10:59)
                    Re: RN-Motor an I2C-Bus (von Windt H.J. - 5.07.2005 14:10)
                       Re: RN-Motor an I2C-Bus (von Gaston - 5.07.2005 17:48)
                          Re: RN-Motor an I2C-Bus (von Windt H.J. - 5.07.2005 19:00)
                             Re: RN-Motor an I2C-Bus (von Gaston - 7.07.2005 16:00)