Be careful. RS232 is not ttl compatible. RS232 is bipolar voltage based and ttl is not.
You can get RS232 to ttl converters and converter chips. As well as RS422 to ttl converters and converter chips. Dave On 12/16/2012 4:57 AM, Viesturs Lācis wrote: > 2012/12/14 sam sokolik<sa...@empirescreen.com>: > >> what does the rs422-->rs232 convert do exactly? >> > Encoder provides differential signal, so that boards converts it to > TTL for 7i39 card. > > Yesterday I was able to make some progress and now there is one error > that I have no explanation for: > > Motor no 1 turns ok with bldc cfg=h and bldc.1.value = 0.15 > When I add cfg=qh, motor oscillates, but encoder reports that it is > turning at pretty high velocity. > If I disable pwmgen and simply turn the motor by hand to check, then > it counts all the pulses correctly - approximately 4000 pulses in each > direction, it increments or decrements rawcounts pin correctly as the > motor is turned in different directions. I tried to move it as fast as > I can with hand back and forth and then placed it approximately as it > was and the rawcounts number was approximately the same, so I could > not get any evidence that any encoder pulses would be skipped or > something else would be wrong. But the motor does not turn. I tried > smaller number for bldc.value, but the only difference is that the > amplitude of oscillation was smaller. > > Can anyone share some ideas, what else can I try? > > ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users