Hi Andy,
I am also surprised because HALSCOPE shows the correct period values with T-ON
= 2ms for every frequency( 100HZ-150Hz ) but the oscilloscope shows only for
100 Hz and 150 Hz.
BRAdit
From: andy pugh <[email protected]>
To: adit bhargava <[email protected]>
Cc: Enhanced Machine Controller (EMC) <[email protected]>
Sent: Wednesday, May 18, 2016 7:14 PM
Subject: Re: [Emc-users] How to assign values to pwmgen parameters(duty-cycle,
frequency, etc, ) from GUI ?
On 18 May 2016 at 10:10, adit bhargava <[email protected]> wrote:
.
> Please suggest me an example how to generate pulses with T-On = 2ms and
> T-off = 4.7 ms (as an example)
You can't define T-on, T-off _and_ frequency at the same time. Each is
a consequence of the two others.
> Is it suitable for variable frequencies(changing frequencies at run time )
> and variable duty cycle?
If you really do need to change duty-cycle _and_ frequency then PWMgen
probably is the way to do it.
Normally PWM uses fixed frequency and variable duty cycle.
Normally Stepgen uses fixed pulse length and variable frequency.
Both allow you to change the other parameters, but they are not
necessarily coded with the assumption that that is what will happen.
You might have to look at the code and see if you can see a reason
that PWMgen won't give you the frequency resolution you need. You
results surprise me.
--
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users