Jump to content
OMRON Forums

DAC unworking on POWER Clipper


RomanSolonto

Recommended Posts

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

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

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

Guest
This topic is now closed to further replies.

×
×
  • Create New...