RomanSolonto Posted May 25, 2017 Share Posted May 25, 2017 I have plate POWER Clipper with Option 12. I use 4 servo motor with direct PWM control. Need DAC output. I write setup: Sys.WpKey = $AAAAAAAA; Clipper[0].PhaseFreq=10000; Clipper[0].PhaseClockDiv=0; Clipper[0].ServoClockDiv=3; Clipper[0].AdcAmpStrobe=$fffffc Clipper[0].Chan[2].PwmFreqMult=5 Sys.PhaseOverServoPeriod=1/( Clipper[0].ServoClockDiv+1) Sys.ServoPeriod=1000*( Clipper[0].ServoClockDiv+1)/Clipper[0].PhaseFreq Clipper[0].Chan[2].OutputMode= Clipper[0].Chan[2].OutputMode&( Clipper[0].Chan[2].OutputMode^8) I'm trying to read the value from Gate3[0].Chan[2].Pwm[3], but get 0. What am I doing wrong? Link to comment Share on other sites More sharing options...
RomanSolonto Posted May 29, 2017 Author Share Posted May 29, 2017 I am confused by the line from Power PMAC Clipper User Manual.pdf: Clipper[0].Chan[2].OutputMode = Clipper[0].Chan[2].OutputMode & ( Clipper[0].Chan[2].OutputMode ^ 8 ) You can record easier: Clipper[0].Chan[2].OutputMode &= $07 But the DAC worked need set to 1 third bit Clipper[0].Chan[2].OutputMode? Then need: Clipper[0].Chan[2].OutputMode |= $08 Link to comment Share on other sites More sharing options...
steve.milici Posted May 30, 2017 Share Posted May 30, 2017 Please contact our Technical Support Group with a complete description of your problem to support@deltatau.com. Link to comment Share on other sites More sharing options...
Recommended Posts