马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
<p><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">定时器用于完成定时功能。每个定时器含有线圈、接点、计数时值寄存器,当定时器线圈“得电”(能流有效)时, </span><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">定时器开始计时,若计时值达到预设的时间值时,其接点动作,</span><span style=";font-size:13px;font-family:Arial;color:rgb(35,31,32)">a </span><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">接点(</span><span style=";font-size:13px;font-family:Arial;color:rgb(35,31,32)">NO </span><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">接点)闭合,</span><span style=";font-size:13px;font-family:Arial;color:rgb(35,31,32)">b </span><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">接点(</span><span style=";font-size:13px;font-family:Arial;color:rgb(35,31,32)">NC </span><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">接点)断开。 </span><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">若线圈“失电”(能流无效)时,定时器的接点恢复初始状态,计时值自动清除。也有部分定时器具有累计、掉电 </span><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">保持等特性,重新上电后仍维持掉电前的数值。 </span><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">定时器 </span><span style=";font-size:13px;font-family:Arial;color:rgb(35,31,32)">T </span><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">以 </span><span style=";font-size:13px;font-family:Arial;color:rgb(35,31,32)">T0</span><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">,</span><span style=";font-size:13px;font-family:Arial;color:rgb(35,31,32)">T1</span><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">……</span><span style=";font-size:13px;font-family:Arial;color:rgb(35,31,32)">T255 </span><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">等符号标识,其序号是以 </span><span style=";font-size:13px;font-family:Arial;color:rgb(35,31,32)">10 </span><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">进制方式编号。计时器有不同的计时步长,如有 </span><span style=";font-size:13px;font-family:Arial;color:rgb(35,31,32)">1ms</span><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">、 </span><span style=";font-size:13px;font-family:Arial;color:rgb(35,31,32)">10ms</span><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">、</span><span style=";font-size:13px;font-family:Arial;color:rgb(35,31,32)">100ms </span><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">等,部分具有掉电保持特性。 </span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">100ms </span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">10ms </span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">1ms </span><span style=";font-size:12px;font-family:宋体;color:rgb(35,31,32)">累计型 </span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">100ms </span><span style=";font-size:12px;font-family:宋体;color:rgb(35,31,32)">累计型 </span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">1ms </span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">T0 ~ T191 </span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">192 </span><span style=";font-size:12px;font-family:宋体;color:rgb(35,31,32)">点 ※</span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">1 </span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">T192 ~ T199 </span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">8 </span><span style=";font-size:12px;font-family:宋体;color:rgb(35,31,32)">点 ※</span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">2 </span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">T200 ~ T245 </span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">46 </span><span style=";font-size:12px;font-family:宋体;color:rgb(35,31,32)">点 ※</span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">1 </span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">T246 ~ T249 </span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">4 </span><span style=";font-size:12px;font-family:宋体;color:rgb(35,31,32)">点 ※</span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">3 </span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">T250 ~ T255 </span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">6 </span><span style=";font-size:12px;font-family:宋体;color:rgb(35,31,32)">点 ※</span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">4 </span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">T256 ~ T511 </span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">256 </span><span style=";font-size:12px;font-family:宋体;color:rgb(35,31,32)">点 ※</span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">1 </span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">• </span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">[1] </span><span style=";font-size:12px;font-family:宋体;color:rgb(35,31,32)">非停电保持区域。 </span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">• </span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">[2] </span><span style=";font-size:12px;font-family:宋体;color:rgb(35,31,32)">非停电保持区域,子程序、中断子程序用。 </span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">• </span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">[3] </span><span style=";font-size:12px;font-family:宋体;color:rgb(35,31,32)">停电保持区域,累计型。 </span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">• </span><span style=";font-size:12px;font-family:Arial;color:rgb(35,31,32)">[4] </span><span style=";font-size:12px;font-family:宋体;color:rgb(35,31,32)">停电保持区域,累计型。 </span><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">没有用作定时器使用的定时器编号,也可用作数值存储用的数据寄存器。 </span><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">定时器累计可编程控制器内的 </span><span style=";font-size:13px;font-family:Arial;color:rgb(35,31,32)">1ms</span><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">,</span><span style=";font-size:13px;font-family:Arial;color:rgb(35,31,32)">10ms </span><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">,</span><span style=";font-size:13px;font-family:Arial;color:rgb(35,31,32)">100ms </span><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">等的时钟脉冲,当计时的时间达到设定数值时,其触点只有在 </span><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">执行线圈指令或 </span><span style=";font-size:13px;font-family:Arial;color:rgb(35,31,32)">END </span><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">指令时,输出触点才能动作。 </span><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">采用程序存储器内的常数(</span><span style=";font-size:13px;font-family:Arial;color:rgb(35,31,32)">K</span><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">)作为设定值,也可用数据寄存器(</span><span style=";font-size:13px;font-family:Arial;color:rgb(35,31,32)">D</span><span style=";font-size:13px;font-family:宋体;color:rgb(35,31,32)">)的内容进行间接指定。</span></p> |