⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 基于can总线分布控制系统智能节点的设计.htm

📁 canopen 通信协议
💻 HTM
📖 第 1 页 / 共 2 页
字号:
                  #TXB;           
                  发送缓存的首址 <BR>STB 
                  AL,[BX]+;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                  传送两个字节的标识符 <BR>LDB AL,#ID0 <BR>STB AL,[BX]+ <BR>LDB AL,#ID1 
                  <BR>STB AL,[BX]+ <BR>LDB 
                  COUT,#08H;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                  8个字节数据 <BR>TDATA: LDB AL,[DATA]+&nbsp;&nbsp; CPU内的发送数据缓存区首址 
                  <BR>STB AL,[BX]+; <BR>DJNZ 
                  COUT,TDATA;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8个字节发完否? 
                  <BR>LDB AL,#01H; <BR>STB 
                  AL,CMR;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                  发送 <BR>RET</FONT></TD></TR></TBODY></TABLE>
            <TABLE width="47%" border=1>
              <TBODY>
              <TR>
                <TD><FONT color=#0000ff 
                  size=2>RECEIVE:&nbsp;&nbsp;&nbsp;&nbsp; ; 接收中断程序 
                  <BR>PUSHF;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                  保护现场 <BR>LDB AL,IR <BR>JBC AL,0,OTHER; 接收中断否? <BR>LD 
                  BX,#RXB;&nbsp;&nbsp;&nbsp;&nbsp; 接收缓存器首址 <BR>LDB AL,[BX]+ 
                  <BR>JBC AL,6,RCDATA;标识符的RTR=1? <BR>LDB 
                  AL,#04H;&nbsp;&nbsp;&nbsp; 是远程帧,释放接收缓存区 <BR>STB AL,CMR;&nbsp; 
                  <BR>LCALL TRANSMIT; 相应远程帧,发送相应数据 <BR>SJMP BACK <BR>RCDATA: 
                  <BR>ANDB AL,#0FH;&nbsp;&nbsp; 取低四位数据长度 <BR>ADDB AL,#03H; 
                  <BR>STB AL,R1;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 该报文含有的字节数 <BR>LD 
                  BX,#RXB;&nbsp;&nbsp;&nbsp;&nbsp; 接收缓存器的首地址 <BR>LD 
                  CX,#CRBF;&nbsp;&nbsp;&nbsp; CPU内的接收数据缓存区首址 <BR>RECE: <BR>LDB 
                  AL,[BX]+ <BR>STB AL,[CX]+ <BR>INCB R1 <BR>DJNZ 
                  R1,RECE;&nbsp;&nbsp; 接收完否? <BR>LDB AL,#04H <BR>STB 
                  AL,CMR;&nbsp;&nbsp;&nbsp;&nbsp; 释放接收缓存区 <BR>BACK; <BR>POPF 
                  <BR>RET</FONT></TD></TR></TBODY></TABLE>
            <P><B><FONT color=#0000ff size=3>结语</FONT></B> 
            </P>&nbsp;&nbsp;&nbsp; <FONT color=#0000ff 
            size=2>CAN总线已被公认为是最有前途的几种现场总线之一。因其高性能价格比、实现简单等突出优点深得越来越多的研发人员的青睐。文中的智能节点来源于一电源组集散控制系统,其硬、软件电路的设计方法同样适合于其他基于CAN总线的分布式控制系统的节点设计。</FONT> 

            <P 
            align=center>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
            <FONT color=#0000ff size=2>摘编自《电子产品世界》2002.10A</FONT> 
            <P> </P></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV>
<TABLE height=52 width=767 border=0>
  <TBODY>
  <TR>
    <TD width=300><IMG height=61 src="基于CAN总线分布控制系统智能节点的设计.files/NAME0.jpg" 
      width=300></TD>
    <TD width=457>
      <DIV align=center><IMG height=60 src="基于CAN总线分布控制系统智能节点的设计.files/DD11.jpg" 
      width=435></DIV></TD></TR></TBODY></TABLE>
<TABLE borderColor=#000000 height=20 cellSpacing=0 cellPadding=0 width=739 
border=0>
  <TBODY>
  <TR vAlign=center align=middle>
    <TD width=18 background=基于CAN总线分布控制系统智能节点的设计.files/bar_bg0.gif 
    height=20></TD>
    <TD width=58 background=基于CAN总线分布控制系统智能节点的设计.files/bar_bg1.gif>
      <DIV align=center><SPAN lang=zh-cn style="FONT-SIZE: 9pt"><FONT 
      color=#0000ff><A href="http://www.bol-system.com/Index.html" 
      target=_self>首 页</A></FONT></SPAN></DIV></TD>
    <TD width=16 background=基于CAN总线分布控制系统智能节点的设计.files/bar_bg2.gif> </TD>
    <TD width=66 background=基于CAN总线分布控制系统智能节点的设计.files/bar_bg1.gif><FONT 
      color=#0066ff size=2><A 
      href="http://www.bol-system.com/ABOUTBOL.HTM">实验室简介</A></FONT></TD>
    <TD width=18 background=基于CAN总线分布控制系统智能节点的设计.files/bar_bg2.gif> </TD>
    <TD width=62 background=基于CAN总线分布控制系统智能节点的设计.files/bar_bg1.gif>
      <DIV align=center><SPAN lang=zh-cn style="FONT-SIZE: 9pt"><FONT 
      color=#0033ff><A href="http://www.bol-system.com/&cedil;&acute;&Ouml;&AElig;&Oacute;&Uacute;%20NEWS/jjfa.htm" 
      target=_blank></A></FONT><FONT color=#0033cc><A 
      href="http://www.bol-system.com/products.HTM" target=_blank><FONT 
      color=#0000cc>产品与服务</FONT></A></FONT></SPAN></DIV></TD>
    <TD width=18 background=基于CAN总线分布控制系统智能节点的设计.files/bar_bg2.gif> </TD>
    <TD width=58 background=基于CAN总线分布控制系统智能节点的设计.files/bar_bg1.gif><SPAN 
      lang=zh-cn style="FONT-SIZE: 9pt"><FONT color=#0033ff><A 
      href="http://www.bol-system.com/&cedil;&acute;&Ouml;&AElig;&Oacute;&Uacute;%20NEWS/hzhb.htm" 
      target=_blank></A><A href="http://www.bol-system.com/Solution.HTM" 
      target=_blank><FONT color=#0000ff>解决方案</FONT></A></FONT></SPAN></TD>
    <TD width=18 background=基于CAN总线分布控制系统智能节点的设计.files/bar_bg2.gif> </TD>
    <TD width=55 background=基于CAN总线分布控制系统智能节点的设计.files/bar_bg1.gif><FONT 
      style="FONT-SIZE: 9pt" color=#0033ff><SPAN lang=zh-cn 
      style="FONT-SIZE: 9pt"><FONT color=#0033ff><A 
      href="http://www.bol-system.com/Tools.HTM">开发<FONT 
      color=#0066ff>平台</FONT></A></FONT></SPAN></FONT></TD>
    <TD width=21 background=基于CAN总线分布控制系统智能节点的设计.files/bar_bg2.gif></TD>
    <TD width=65 background=基于CAN总线分布控制系统智能节点的设计.files/bar_bg1.gif><SPAN 
      lang=zh-cn style="FONT-SIZE: 9pt"><FONT color=#0066ff><A 
      href="http://www.bol-system.com/news.HTM">热点新闻</A></FONT></SPAN></TD>
    <TD width=10 background=基于CAN总线分布控制系统智能节点的设计.files/bar_bg2.gif></TD>
    <TD width=59 background=基于CAN总线分布控制系统智能节点的设计.files/bar_bg1.gif><SPAN 
      lang=zh-cn style="FONT-SIZE: 9pt"><FONT color=#0066ff><A 
      href="http://www.bol-system.com/support.HTM" 
      target=_blank>技术支持</A></FONT></SPAN></TD>
    <TD width=18 background=基于CAN总线分布控制系统智能节点的设计.files/bar_bg2.gif></TD>
    <TD width=58 background=基于CAN总线分布控制系统智能节点的设计.files/bar_bg1.gif><FONT 
      style="FONT-SIZE: 9pt" color=#0066ff></FONT><FONT style="FONT-SIZE: 9pt" 
      color=#0033ff><SPAN lang=zh-cn style="FONT-SIZE: 9pt"><FONT 
      color=#0033ff><A href="http://www.bol-system.com/PARTNER.HTM" 
      target=_blank><FONT 
      color=#0000ff>合作伙伴</FONT></A></FONT></SPAN></FONT><FONT 
      style="FONT-SIZE: 9pt" color=#0066ff><SPAN lang=zh-cn></SPAN></FONT></TD>
    <TD width=18 background=基于CAN总线分布控制系统智能节点的设计.files/bar_bg2.gif></TD>
    <TD width=58 background=基于CAN总线分布控制系统智能节点的设计.files/bar_bg1.gif><SPAN 
      style="FONT-SIZE: 9pt"><FONT color=#0066ff><A 
      href="http://www.bol-system.com/CONTACT.HTM" 
      target=_blank>联系我们</A></FONT></SPAN></TD>
    <TD width=45 background=基于CAN总线分布控制系统智能节点的设计.files/bar_bg3.gif colSpan=3 
    height=20> </TD></TR></TBODY></TABLE>
<P>&nbsp;</P></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -