Jump to content
OMRON Forums

Laser Pulse Control with Power PMAC DSPGATE3


Sina.Sattari

Recommended Posts

In design of Power PMAC DSPGATE3, multiple features were specifically added with Laser/PWM control applications in mind. This document briefly covers some of these features and provides sample codes for using them such as:

 

- Pulse Output with Adjustable Frequency and Duty Cycle (PWM)

- Pulse Output with Adjustable Frequency and Duty Cycle using EQU (PWM)

- Burst Pulse Output with Known Count, Frequency and Duty-Cycle

- Equidistance Pulse Output Per Traveled Distance Along the Path

Laser Pulse Control with Power PMAC DSPGATE3.pdf

Link to comment
Share on other sites

  • 10 months later...
  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

In design of Power PMAC DSPGATE3, multiple features were specifically added with Laser/PWM control applications in mind. This document briefly covers some of these features and provides sample codes for using them such as:

 

- Pulse Output with Adjustable Frequency and Duty Cycle (PWM)

- Pulse Output with Adjustable Frequency and Duty Cycle using EQU (PWM)

- Burst Pulse Output with Known Count, Frequency and Duty-Cycle

- Equidistance Pulse Output Per Traveled Distance Along the Path

 

I am looking for some one who had implemented and tested this feature. I try to implement it and get stuck on the page 9 usercode.c

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

How are you getting stuck, exactly?

 

If you want to use usrcode.c, make sure you right-click it, select Properties, and set Build Action to Compile. Otherwise, the IDE will ignore that file.

 

I get stuck at:

 

Traveled_Distance += sqrt(pow(XAxisPos - PrevXAxisPos,2)+pow(YAxisPos - PrevYAxisPos,2) +pow(ZAxisPos - PrevZAxisPos,2) +pow(BAxisPos - PrevBAxisPos,2) +pow(CAxisPos - PrevCAxisPos,2));

Link to comment
Share on other sites

  • 5 months later...

In design of Power PMAC DSPGATE3, multiple features were specifically added with Laser/PWM control applications in mind. This document briefly covers some of these features and provides sample codes for using them such as:

 

- Pulse Output with Adjustable Frequency and Duty Cycle (PWM)

- Pulse Output with Adjustable Frequency and Duty Cycle using EQU (PWM)

- Burst Pulse Output with Known Count, Frequency and Duty-Cycle

- Equidistance Pulse Output Per Traveled Distance Along the Path

 

I need to do the Equidistance Pulse output per traveled distance along a path using turbo UMAC. Any examples to follow?

Also would it work instead of using position compare on a phantom axis to use the output of an unused acc24e2a axis set up as an open loop stepper motor in follower mode? Could this achieve higher pulse rates?

I'm mostly a hardware guy.

My programming skills are modest.

Examples would help.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

×
×
  • Create New...