<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[REXYGEN Community Forum / Frequency Control]]></title>
	<link rel="self" href="https://www.rexygen.com/oldforum/extern.php?action=feed&amp;tid=441&amp;type=atom"/>
	<link href="http://www.rexygen.com/oldforum/viewtopic.php?id=441"/>
	<updated>2018-06-08T10:38:38Z</updated>
	<generator>FluxBB</generator>
	<id>http://www.rexygen.com/oldforum/viewtopic.php?id=441</id>
	<entry>
		<title type="html"><![CDATA[Re: Frequency Control]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1965#p1965"/>
		<content type="html"><![CDATA[<p>Hi Mike,<br />glad I could help. To be honest, I discovered several issues when preparing the PWM example. These are now fixed and the new version v2.007 of the Monarco HAT firmware has been released. See <a href="https://github.com/monarco/monarco-hat-firmware-bin" rel="nofollow">https://github.com/monarco/monarco-hat-firmware-bin</a> </p><p>I highly recommend upgrading your Monarco HAT to this version.</p><p>Kind regards,<br />Jaroslav</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2018-06-08T10:38:38Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1965#p1965</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Frequency Control]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1962#p1962"/>
		<content type="html"><![CDATA[<p>Thanks Jaroslav, works like a charm.</p>]]></content>
		<author>
			<name><![CDATA[mikeyh]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=60</uri>
		</author>
		<updated>2018-06-07T19:32:53Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1962#p1962</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Frequency Control]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1952#p1952"/>
		<content type="html"><![CDATA[<p>Yes exactly. Just keep in mind that the PWM1_Frequency is common for DOUT1, DOUT2 and DOUT3. Therefore you can only control 2 such drives using a single Monarco HAT.</p><p>Also keep in mind that the lower limit for frequency is 1 Hz. To turn off the output completely, you&#039;ll need to set duty cycle to 0.</p><p>If necessary, use the GAIN, LIN or CNDR blocks to scale the PID controller output (e.g. 0-100%) to frequency (0-150Hz).</p><p>Jaroslav</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2018-05-29T10:27:40Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1952#p1952</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Frequency Control]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1950#p1950"/>
		<content type="html"><![CDATA[<p>Hi Jaroslav,</p><p>Thanks for the reply.</p><p>So correct me if I&#039;m wrong! (MNR__PWM1_Frequency) sets the required, 0 - 150Hz and (MNR__PWM1A) will set the fixed duty cycle for the same output channel?</p><p>I assume if using a PID controller the output scale just needs to match the required frequency?</p><p>Thanks</p><p>Mike</p>]]></content>
		<author>
			<name><![CDATA[mikeyh]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=60</uri>
		</author>
		<updated>2018-05-29T09:14:59Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1950#p1950</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Frequency Control]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1949#p1949"/>
		<content type="html"><![CDATA[<p>Hi Mike,<br />thanks for your question. You should be able to connect the Monarco HAT DOUT directly to the inverter drive. The internal pull-up to 5V will do the job. As for controlling frequency, see the <a href="https://github.com/rexcontrols/REXexamples/archive/master.zip" rel="nofollow">example project 0121-05 on using Monarco HAT PWM outputs</a>. You can find it in our <a href="https://github.com/rexcontrols/REXexamples/archive/master.zip" rel="nofollow">GitHub repository of example projects</a>.</p><p>Please let me know if the example covers the topic well and if it works for you.</p><p>Kind regards,<br />Jaroslav</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2018-05-29T08:24:52Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1949#p1949</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Frequency Control]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1948#p1948"/>
		<content type="html"><![CDATA[<p>Hi All,</p><p>How do I use the Monarco Hat to frequency control an inverter drive for a motor?</p><p> - I require a fixed a duty cycle of 30 to 70%<br /> - maximum voltage of 15Vdc<br /> - minimum on state voltage of 4Vdc<br /> - maximum off state voltage of 0.7Vdc</p><p>The inverter drive uses a control frequency of 0 - 150Hz (0 - 4500 rpm)</p><p>I have used duty cycle on the Monarco before, fixed at 1Hz. How do I do variable frequency?</p><p>Thanks </p><p>Mike</p>]]></content>
		<author>
			<name><![CDATA[mikeyh]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=60</uri>
		</author>
		<updated>2018-05-29T04:51:26Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1948#p1948</id>
	</entry>
</feed>
