On Monday 22 September 2014 11:29:40 Karlsson & Wang did opine And Gene did reply: > The PWM generation inside the micro controller for DC or three phase is > no problem. In the configuration there is one PWM signal and I have > not yet figured how to get the direction informartion. PWM is for duty > cycle in interval zero to 100 percent and direction select polarity > for a DC? > > Nicklas Karlsson > Direction signals in the true/false sense are present at the motion.0. outputs, but are generally carried by the sign of the values propagated clear into the pwmgen's. The pwmgen then toggles its direction output based on that sign.
Also, many target control devices don't behave well if the duty cycle is allowed to goto 100%. So I have a limit3.gc module in front of the pwmgen input.value path that limits the absolute maximum (and I need to set a matching minimum too, thanks for reminding me) of the value passed to the pwmgen such that in the case of a 5i25 pwmgen driving one of the Pico Systems pwm_servo amplifiers, scaled from the scale of the pwmgen so as to maintain a minumum of a 1 u-sec off time even if I type s200000 on the mdi command line. There's more but I have to run. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
