第章可编程序控制器的基础知识yy.ppt

  1. 1、本文档共113页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
KT is time relay, KM1 and KM2 are two contactors control electrical machines M1, M2 running.SB1 is startup button, SB2 is stop button with the control function as follows; press SB1, M1 start running, after 10 seconds, M2 start running; press SB2, M1,M2 stop running at the same time. 梯形图中继电器线圈是广义的 ,除了输出继电器、辅助继电器线圈外,还包括定时器、计数器、移位寄存器以及各种算术运算等。 Relay loop in trapezoid diagram consists timer, counter, shift register, various arithmetic operation as well as output relay and assistant relay loops. 梯形图的母线中无电流。No electricity in generatrix . 梯形图中只出现输入继电器的触点,而不出现输入继电器的线圈。输入继电器的触点表示相应的输入信号。 Only input relay spot appears in trapezoid diagram and the loop does not appear. The input spot denotes corresponding input signal. 输出继电器供PLC作输出控制用。 Output relay work as PLC output controller. PLC运行的顺序是“从左到右,从上到下”,逐一处理,扫描方式工作 PLC running sequence is “from left to right, from up to down”, dealing one by one, scanning manner working. 用户程序执行时,输入触点和输出线圈的状态是从I/O映象寄存器中读取的,不是执行时现场开关的实际状态。梯形图中前面程序执行的结果马上可以被后面的程序执行所利用。 As user’s program running, the state of input spot and output loop is read in from I/O mapping register rather than the actual state of local switch as executing. Results of former program in trapezoid can be used by latter program at once. §1-4-2 语句表 sentence table 是一种与汇编语言类似的助记符编程表达式 A mnemonic symbol program expression that is similar to assembly language PLC的语句:操作码 + 操作数 操作码:用来指定要执行的功能,告诉CPU该进行什么操作。 操作数:包含为执行该操作所必须的信息。告诉CPU用什么地方的数据来执行此操作。 operand:include the necessary information for operation. inform CPU the address of the data for executing the operation PLC sentence:operation code+ operand Operation code: specify function to be executed, notify CPU what operation to do 操作数的分配原则 为了让CPU区别不同的编程元件,每个独立的元件应指定一个互不重复的地址。 To make CPU differentiating various components, each of independent component should specify address that is not repeated to each other. 所指定的地址必须在该型机器允许的范围之内。超出机器允许的操作参数,PLC不响应,并以出错处理。 The specified address should be within allowable range. If

文档评论(0)

docinpfd + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:5212202040000002

1亿VIP精品文档

相关文档