<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Timer</title>
	<atom:link href="https://www.aitaocui.cn/tag/200114/feed" rel="self" type="application/rss+xml" />
	<link>https://www.aitaocui.cn</link>
	<description>翡翠玉石爱好者聚集地</description>
	<lastBuildDate>Thu, 24 Nov 2022 05:24:34 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.1</generator>

<image>
	<url>https://www.aitaocui.cn/wp-content/uploads/2022/11/taocui.png</url>
	<title>Timer</title>
	<link>https://www.aitaocui.cn</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Timer(计时工具)</title>
		<link>https://www.aitaocui.cn/article/309805.html</link>
					<comments>https://www.aitaocui.cn/article/309805.html#respond</comments>
		
		<dc:creator><![CDATA[福康安]]></dc:creator>
		<pubDate>Thu, 24 Nov 2022 05:24:34 +0000</pubDate>
				<category><![CDATA[百科]]></category>
		<category><![CDATA[Timer]]></category>
		<guid isPermaLink="false">https://www.aitaocui.cn/?p=309805</guid>

					<description><![CDATA[Timer,定时器，功能是在指定的时间间隔内反复触发指定窗口的定时器事件。可以使用MFC的CWnd类提供的成员函数SetTimer实现定时器功能。 语法 语法Timer(inter...]]></description>
										<content:encoded><![CDATA[</p>
<article>
<p>Timer,定时器，功能是在指定的时间间隔内反复触发指定窗口的定时器事件。可以使用MFC的CWnd类提供的成员函数SetTimer实现定时器功能。</p>
</article>
<article>
<h1>语法</h1>
<p>语法Timer(interval{,windowname})</p>
<h1>参数</h1>
<p>指定两次触发Timer事件之间的时间间隔，有效值在0到65之间。如果该参数的值指定为0，那么关闭定时器，不再触发指定窗口的Timer事件。</p>
<p>应用程序都可以完成一些周期性的工作，比如绘制简单动画等。将Timer()的interval参数设置为非0值时启动定时器并开始计时；将该函数的interval参数设置为0时关闭定时器，终止计时任务。需要注意的是，在MicrosoftWindows系统中，该函数能够计时的最小时间间隔为0.055秒（约1/18秒），如果把interval参数的值设置小于0.055，那么该定时器将每隔0.055秒触发一次窗口的Timer事件。</p>
<p>MicrosoftWindows3.x最多只支持系统中同时启动16个定时器。</p>
<h1>种类</h1>
<p>接通延时型定时器：接通延时型定时器是各种PLC中最常见最基本的定时器，这种定时器在SIEMENS的PLC中，称为SD型定时器。</p>
<p>断开延时型定时器：这种定时器是当输入条件00000为ON时无延时作用，只有在输入条件00000为OFF时产生延时作用。在SIEMENS的PLC中，称为SF型定时器。</p>
<p>保持型接通延时定时器：这种定时器是当输入条件00000为ON后，即产生锁存功能，即使输入条件00000又变为OFF，仍视输入条件为ON，当定时器的当前值等于设定值时，定时器动作，这种定时器在SIEMENS的PLC中，称为SS型定时器。</p>
<p>脉冲型定时器：这种定时器是当输入条件00000为ON后，定时器即时动作，但经过定时器所设定的时间后，即使输入条件00000仍为ON，定时器却变为OFF状态。这种定时器在SIEMENS的PLC中，称为SP型定时器。</p>
<p>扩张型脉冲定时器：这种定时器与脉冲型定时器的区别是，只要输入条件00000出现了ON状态，不管其持续时间多长，均可使定时器为ON的维持的时间与定时器的设定值一致。这种定时器在SIEMENS的PLC中，称为SE型定时器。</p>
</article>
<div class="mt-3 mb-3" style="max-width: 770px;height: auto;">
                                    </div>
<div class="mt-3 mb-3" style="max-width: 770px;height: auto;">
                                    </div>
<div class="mt-3 mb-3" style="max-width: 770px;height: auto;">
                                    </div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.aitaocui.cn/article/309805.html/feed</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
