Jump to content
OMRON Forums

Sinewave(2dac) command control and Endat2.2 Linear encoder setting


Clark_control

Recommended Posts

Hello.

I set up the axis with Acc24E3[1].Chan[0] input to Motor[5].

But there was a problem.

PowerUMAC configuration is PowerPMAC CPU + ACC-24E3(300-604005-10x, 300-604004-10x)+ACC-24E3(300-604006-10x, 300-604003-10x).

I confirmed that the Endat2.2 encoder input status input to Motor[5] is normal.

And in the Test and Set item, the following items went well.

1.Current six step test: Test completed

2. Open loop test: Test completed

3. Measure DAC bias value: Test completed

However, an error occurred in the following items.

4. Phase reference search: error occurred

I don't know if this is the problem, but when the initial amp enable command (#5J/), the axis bounces and a following error occurs.

I think there is a problem with the settings I made.

Please check if there is a problem with the setting.

Setting history is an attached file.

Phase9.036_servo2.259 default setting_delta tau.txt

Link to comment
Share on other sites

  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

Hi Clark,

 

Has this motor's servo loop been tuned? Do you have a plot of what a step and settle move looks like for the motor after modifying some of the tuning parameters? The motor might be bouncing around and going into a fatal following error because of poor tuning.

 

Kind regards,

Shadi

Link to comment
Share on other sites

I know we have recently made major changes to the serial encoder setup wizard. It may be a good idea to update to IDE 4.4.2.3. https://automation.omron.com/en/us/products/family/PMAC%20IDE Use the "Power PMAC IDE Download" link near the top.

 

You may experience issues with IDE 4.4.2.3 crashing on docking IDE windows depending on microsoft windows updates. It would be best to avoid docking windows for now.

 

Let's not worry about Tuning yet, the motor is not being phased correctly so it is not controllable.

Link to comment
Share on other sites

I am already using IDE 4.4.2.3 version.

And since I know there is an IDE docking problem, I don't use IDE docking.

Turbo pmac normally used Endat2.2 linear encoder.

I also think phasing is not normal and I don't care about tuning.

Is the Endat2.2 linear encoder setting I set wrong?

Or is the Sinewave amplifier setting wrong?

Attach motor information and Sinewave amplifier information.

It has been confirmed by this week and should be tested.

 

I have another question.

The Korean agency said that the 2dac dedicated ACC-24E3 interface board is a separate option.

I want to know if the ACC-24E3 interface board I have is capable of 2dac control. Attach interface board information.

Gate3[0]: Digital Amplifier-Interface Mezzanine Board for 4-axis, Analog Feedback Mezzanine Board

Gate3[1]: Analog Amplifier-Interface Mezzanine Board for 4-axis, Digital Feedback Mezzanine Board

interface card option.txt

898754696_ETELMotor.thumb.png.01da0ad5a8aa53f5a079f61f5d0d05f3.png

NPApm.png.fb605401f2c31724cdc7aedf9f405b87.png

Link to comment
Share on other sites

Hello.

I have been testing the Endat2.2 linear encoder phasing problem so far.

Tested in two ways.

1.Absolute sensor/Primary serial feedback phasing method

-I think that when $$$ or PowerUMAC power is ON/OFF, Servo should be enabled immediately with #5j/ without a separate phasing operation. However, Servo is not enabled.

-When TurboUMAC and Endat2.2 were previously applied, Servo enabled and operated with #5j/ without phasing.

-In CK3M technical data, there is a reference for Endat2.2 setting as follows, so I tested it, but it is not resolved.

CK3M technical data

Sys.WpKey = $AAAAAAAA //Release write-protect

//Setting registers for Serial Encoder

Gate3[1].SerialEncCtrl = $01020003

//Setting Encoder table

EncTable[9].type = 1

EncTable[9].pEnc = Gate3[1].Chan[0].SerialEncDataA.a

EncTable[9].ScaleFactor = 1

Motor[5].ServoCtrl = 1

Motor[5].pEnc = EncTable[9].a

Motor[5].pEnc2 = EncTable[9].a

//Enable Serial Encoder

Gate3[1].Chan[0].SerialEncEna = 1

//Perform delay compensation cycle and position data reading

Gate3[1].Chan[0].SerialEncCmd = $80071025

Motor[5].pAbsPos = Gate3[1].Chan[0].SerialEncDataA.a

Motor[5].AbsPosFormat = $01002500

Motor[5].AbsPosSF = 1

Motor[5].PowerOnMode = 4

 

2. Stepper phasing method

-After setting up the axis with the stepper phasing method, Servo enable was possible with the manual phasing method, and the motor could be driven after gain tuning.

#5out0

I579=1000

Motor[5].PhasePos=0

i579=0

#5k

#5j/

-The manual phasing method is used when using a general incremental encoder. I don't think it is suitable for using encoders.

 

* I should use the current axis phasing method as the Absolute sensor/Primary serial feedback phasing method, not the Stepper phasing method. Please tell me how Delta tau can solve it.

 

And I used 2 PowerPMAC CPUs to test the current axis, but I have a problem that I can't understand, so please contact us. After setting the same Stepper phasing method with two CPUs, the Current six step test was conducted in Test and Set. Depending on the CPU, the current six step test passed or an error occurred.

-460EX CPU: Passed, normal Motor[].PhasePosSf, Motor[].PhaseOffset values ​​were found, and the axis was operated normally after manual phasing.

-1020 CPU: An error occurred, and after manually inputting the Motor[].PhasePosSf value and the normal direction value of Motor[].PhaseOffset, the axis was operated normally after manual phasing.

 

* The actual CPU to be used is 1020 CPU, but it is necessary to check if it is a bug of the CPU itself. When tested with two CPUs, the ACC-24E3 interface board was in the same state. After initializing the 2 CPUs, attach the set data as a file.

 

** The conclusion is to drive the axis using the Absolute sensor/Primary serial feedback phasing method when applying a linear motor and Endat2.2 linear encoder.

I have used TurboPMAC a lot, but it hasn't been long since I experienced PowerPMAC. I need your help.

460EX Setup PowerPMAC Messages.txt

272530378_460EXcurrentsixsteptest.jpg.c54b9fd30b367efa90b71212b1e104aa.jpg

1020 Setup PowerPMAC Messages.txt

1677129071_1020currentsixsteptest.jpg.75f115c9d6766205e04c8e483bcc84b0.jpg

Link to comment
Share on other sites

  • 2 weeks later...

1. I think what's missing is a setting for Motor[x].AbsPhasePosOffset. Take a look at "ABSOLUTE SERIAL ENCODER PHASING WITH GATE3" on page 183 of the Power Brick LV ARM Manual.

 

http://forums.deltatau.com/filedepot/download.php?f=Power%20PMAC/Manuals/Hardware%20Reference%20Manual/Power%20Brick%20LV%20ARM%20User%20Manual.pdf [FILE REMOVED]

 

The power Brick has this material in it's manual because it's an all in one product, in your case you should be able to replace PowerBrick with Gate3.

Link to comment
Share on other sites

1. I think what's missing is a setting for Motor[x].AbsPhasePosOffset. Take a look at "Stepper Phasing Force Test" and the following example on page 184 of the Power Brick LV ARM Manual.

 

http://forums.deltatau.com/filedepot/download.php?f=Power%20PMAC/Manuals/Hardware%20Reference%20Manual/Power%20Brick%20LV%20ARM%20User%20Manual.pdf [FILE REMOVED]

 

The power Brick has this material in it's manual because it's an all in one product, in your case you should be able to replace PowerBrick with Gate3.

 

 

2. Methods that move the motor to phase (stepper or 4 guess) will work with a serial encoder, but an absolute read should be performed instead if possible.

Also, I am surprised you did not need to set Motor[x].PhaseFound to 1.

 

 

Different Results With Different CPUs.

What firmware version was each CPU at? The current IDE expects at least a certain firmware version to run the correct tests at test and set.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

×
×
  • Create New...