下载文件详细资料
  文件名称: EIO Link通讯协议
  公司名称: 京金华(北京)科技有限公司
  下载次数: 671
  文件详细说明:
  <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center" align=center><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 22pt; FONT-FAMILY: 宋体">EIO Link</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 22pt; FONT-FAMILY: 宋体">协议编程说明<SPAN lang=EN-US><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></SPAN></B></P><H2 style="MARGIN: 0cm 0cm 0pt 31.15pt; TEXT-INDENT: -31.15pt; mso-list: l3 level1 lfo4; tab-stops: list 31.15pt"><A name=_Toc175039535><SPAN lang=EN-US style="COLOR: #ff6600; mso-bidi-font-family: 宋体"><SPAN style="mso-list: Ignore"><FONT face=宋体>1、</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="COLOR: #ff6600"><FONT face=宋体>与上位机通讯方式</FONT></SPAN></A><SPAN lang=EN-US style="COLOR: #ff6600"><o:p></o:p></SPAN></H2><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">EIO</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">支持<SPAN lang=EN-US style="COLOR: blue">&lt;EIO Link Server</SPAN><SPAN style="COLOR: blue">模式<SPAN lang=EN-US>&gt;</SPAN></SPAN>和<SPAN lang=EN-US style="COLOR: blue">&lt;EIO Link Client</SPAN><SPAN style="COLOR: blue">模式<SPAN lang=EN-US>&gt;</SPAN></SPAN>两种工作模式。<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l7 level1 lfo3; tab-stops: list 21.0pt"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: Wingdings; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">&lt;EIO Link Server</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">模式<SPAN lang=EN-US>&gt;</SPAN>下,</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">EIO</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">监听<SPAN lang=EN-US>TCP/IP</SPAN>端口(默认为<SPAN lang=EN-US>5100</SPAN>),等待远程主机建立连接。<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l7 level1 lfo3; tab-stops: list 21.0pt"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: Wingdings; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">&lt;EIO Link Client</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">模式<SPAN lang=EN-US>&gt;</SPAN>下,</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">EIO</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">根据设置,主动连接指定的或通过域名解析获得的远程主机地址。<SPAN lang=EN-US> <o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">设备默认设置为<SPAN lang=EN-US style="COLOR: blue">&lt;EIO Link Server</SPAN><SPAN style="COLOR: blue">模式<SPAN lang=EN-US>&gt;</SPAN>。</SPAN><SPAN lang=EN-US> <o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt"><o:p>&nbsp;</o:p></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l1 level1 lfo1; tab-stops: list 21.0pt 63.0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-bidi-font-family: 宋体"><SPAN style="mso-list: Ignore">1)<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </SPAN></SPAN></SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">Socket TCP/IP</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">通讯方式<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">上位机软件通过<SPAN lang=EN-US style="COLOR: blue">Socket</SPAN>规范与<SPAN lang=EN-US>EIO</SPAN>直接建立<SPAN lang=EN-US>TCP/IP</SPAN>连接,在成功建立<SPAN lang=EN-US>TCP/IP</SPAN>连接后,上位机与设备就可以进行数据通讯。<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt"><o:p>&nbsp;</o:p></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l1 level1 lfo1; tab-stops: list 21.0pt 63.0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-bidi-font-family: 宋体"><SPAN style="mso-list: Ignore">2)<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </SPAN></SPAN></SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">虚拟串口通讯方式<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">EIO</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">支持<SPAN style="COLOR: blue">虚拟串口技术,</SPAN>可以将<SPAN lang=EN-US>EIO Link</SPAN>端口映射为本机的虚拟串口。上位机软件只需要按照常规的<SPAN style="COLOR: blue">串口编程方式,</SPAN>使用<SPAN lang=EN-US>EIO Link</SPAN>报文就可以与设备进行通讯,无需编写复杂的网络代码。<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt"><o:p>&nbsp;</o:p></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt"><o:p>&nbsp;</o:p></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt"><o:p>&nbsp;</o:p></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt"><o:p>&nbsp;</o:p></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt"><o:p>&nbsp;</o:p></SPAN></B></P><H2 style="MARGIN: 0cm 0cm 0pt 31.15pt; TEXT-INDENT: -31.15pt; mso-list: l3 level1 lfo4; tab-stops: list 31.15pt"><SPAN lang=EN-US style="COLOR: #ff6600; mso-bidi-font-family: 宋体"><SPAN style="mso-list: Ignore"><FONT face=宋体>2、</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="COLOR: #ff6600"><FONT face=宋体>功能描述<SPAN lang=EN-US><o:p></o:p></SPAN></FONT></SPAN></H2><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 52.15pt; TEXT-INDENT: -21pt; mso-list: l6 level1 lfo7; tab-stops: list 52.15pt"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: Wingdings; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">为<SPAN lang=EN-US>EIO</SPAN>专有协议,可以实时获得开关量输入状态。实时设置<SPAN lang=EN-US>EIO</SPAN>开关量输出状态<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 52.15pt; TEXT-INDENT: -21pt; mso-list: l6 level1 lfo7; tab-stops: list 52.15pt"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: Wingdings; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">支持<SPAN lang=EN-US>2</SPAN>个<SPAN lang=EN-US>EIO</SPAN>配对,透传开关量输入<SPAN lang=EN-US>/</SPAN>输出状态<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 52.15pt; TEXT-INDENT: -21pt; mso-list: l6 level1 lfo7; tab-stops: list 52.15pt"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: Wingdings; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">EIO Link</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">支持<SPAN lang=EN-US>TCP/IP Server</SPAN>、<SPAN lang=EN-US>Client</SPAN>两种工作方式<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 52.15pt; TEXT-INDENT: -21pt; mso-list: l6 level1 lfo7; tab-stops: list 52.15pt"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: Wingdings; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">支持开关量输入状态变化主动发送<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 52.15pt; TEXT-INDENT: -21pt; mso-list: l6 level1 lfo7; tab-stops: list 52.15pt"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: Wingdings; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">Client</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">模式下,支持动态域名解析<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 52.15pt; TEXT-INDENT: -21pt; mso-list: l6 level1 lfo7; tab-stops: list 52.15pt"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: Wingdings; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">7</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">字节定长短包传输方式<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt"><o:p>&nbsp;</o:p></SPAN></B></P><H2 style="MARGIN: 0cm 0cm 0pt 31.15pt; TEXT-INDENT: -31.15pt; mso-list: l3 level1 lfo4; tab-stops: list 31.15pt"><A name=_Toc175039536><SPAN lang=EN-US style="COLOR: #ff6600; mso-bidi-font-family: 宋体"><SPAN style="mso-list: Ignore"><FONT face=宋体>3、</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN lang=EN-US style="COLOR: #ff6600"><FONT face=宋体>EIO Link</FONT></SPAN></A><SPAN style="COLOR: #ff6600"><FONT face=宋体>协议报文<SPAN lang=EN-US><o:p></o:p></SPAN></FONT></SPAN></H2><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 42pt; TEXT-INDENT: -21pt; mso-list: l5 level1 lfo6; tab-stops: list 42.0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-bidi-font-family: 宋体"><SPAN style="mso-list: Ignore">1)<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </SPAN></SPAN></SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">报文说明<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">报文数据样本(十六进制):<SPAN lang=EN-US>00 00 FF 00 00 00 00<o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">报文结构<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><TABLE class=MsoNormalTable style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; MARGIN: auto auto auto 14.4pt; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-border-alt: solid windowtext .5pt; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext" cellSpacing=0 cellPadding=0 border=1><TBODY><TR><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 66.85pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt" vAlign=top width=89><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">命令码<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P></TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; WIDTH: 66.85pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt" vAlign=top width=89><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">状态码<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P></TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; WIDTH: 66.85pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt" vAlign=top width=89><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">数据<SPAN lang=EN-US>1<o:p></o:p></SPAN></SPAN></B></P></TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; WIDTH: 66.85pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt" vAlign=top width=89><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">数据<SPAN lang=EN-US>2<o:p></o:p></SPAN></SPAN></B></P></TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; WIDTH: 66.85pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt" vAlign=top width=89><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">数据<SPAN lang=EN-US>3<o:p></o:p></SPAN></SPAN></B></P></TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; WIDTH: 66.85pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt" vAlign=top width=89><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">数据<SPAN lang=EN-US>4<o:p></o:p></SPAN></SPAN></B></P></TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; WIDTH: 66.9pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt" vAlign=top width=89><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">数据<SPAN lang=EN-US>5<o:p></o:p></SPAN></SPAN></B></P></TD></TR><TR style="mso-yfti-lastrow: yes"><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; WIDTH: 66.85pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=89><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">00<o:p></o:p></SPAN></B></P></TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; WIDTH: 66.85pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=89><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">00<o:p></o:p></SPAN></B></P></TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; WIDTH: 66.85pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=89><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">FF<o:p></o:p></SPAN></B></P></TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; WIDTH: 66.85pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=89><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">00<o:p></o:p></SPAN></B></P></TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; WIDTH: 66.85pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=89><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">00<o:p></o:p></SPAN></B></P></TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; WIDTH: 66.85pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=89><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">00<o:p></o:p></SPAN></B></P></TD><TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; WIDTH: 66.9pt; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top width=89><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">00<o:p></o:p></SPAN></B></P></TD></TR></TBODY></TABLE><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l4 level1 lfo5; tab-stops: list 21.0pt"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: Wingdings; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">命令码<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">00</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">:</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">状态更新命令,定时发送的开关量输入状态报文。<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">01</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">:</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">实时输入状态变化命令,当开关量输入状态发生变化时,<SPAN lang=EN-US>EIO</SPAN>主动发送此命令码的报文。<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt"><o:p>&nbsp;</o:p></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l4 level1 lfo5; tab-stops: list 21.0pt"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: Wingdings; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">状态码<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">00</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">:</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">说明报文正确,否则为报文为错误状态,由此字节指出错误码。<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt"><o:p>&nbsp;</o:p></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l4 level1 lfo5; tab-stops: list 21.0pt"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: Wingdings; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">数据<SPAN lang=EN-US>1-</SPAN>数据<SPAN lang=EN-US>5<o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 42pt; TEXT-INDENT: -21pt; mso-list: l0 level1 lfo8; tab-stops: list 42.0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-bidi-font-family: 宋体"><SPAN style="mso-list: Ignore">1)<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </SPAN></SPAN></SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">EIO</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">发出报文(上位机接收时)<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">命令码为<SPAN lang=EN-US>00</SPAN>时含义<SPAN lang=EN-US>:8-40</SPAN>路开关量输入<SPAN style="COLOR: blue">同步状态数据,<SPAN lang=EN-US>EIO</SPAN>定时发送此报文。<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">命令码为<SPAN lang=EN-US>01</SPAN>时含义<SPAN lang=EN-US>: 8-40</SPAN>路开关量输入<SPAN style="COLOR: blue">变化实时数据,</SPAN><SPAN lang=EN-US>EIO</SPAN>检测到<SPAN lang=EN-US>8-40</SPAN>路开关量<SPAN style="COLOR: blue">输入任意一路发生了变化(接通或断开),将主动向上位机发送开关量输入状态数据。<SPAN lang=EN-US> <o:p></o:p></SPAN></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; COLOR: blue; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt"><o:p>&nbsp;</o:p></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">例如<SPAN lang=EN-US>EIO</SPAN>发出报文<SPAN lang=EN-US>&lt;00 01 0F 00 00 00 00&gt;</SPAN>,上位机接收并解释为<SPAN lang=EN-US>EIO</SPAN>的开关量输入发生了变化,第<SPAN lang=EN-US>1</SPAN>组<SPAN lang=EN-US>8</SPAN>路开关量输入中的<SPAN lang=EN-US>1</SPAN>、<SPAN lang=EN-US>2</SPAN>、<SPAN lang=EN-US>3</SPAN>、<SPAN lang=EN-US>4</SPAN>为接通状态,<SPAN lang=EN-US>5</SPAN>、<SPAN lang=EN-US>6</SPAN>、<SPAN lang=EN-US>7</SPAN>、<SPAN lang=EN-US>8</SPAN>为断开状态。<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt"><o:p>&nbsp;</o:p></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">例如<SPAN lang=EN-US>EIO</SPAN>发出报文<SPAN lang=EN-US>&lt;00 00 F0 00 00 00 00&gt;</SPAN>,上位机接收并解释为<SPAN lang=EN-US>EIO</SPAN>定期发送的报文状态数据,当前第<SPAN lang=EN-US>1</SPAN>组<SPAN lang=EN-US>8</SPAN>路开关量输入中的<SPAN lang=EN-US>1</SPAN>、<SPAN lang=EN-US>2</SPAN>、<SPAN lang=EN-US>3</SPAN>、<SPAN lang=EN-US>4</SPAN>为接通状态,<SPAN lang=EN-US>5</SPAN>、<SPAN lang=EN-US>6</SPAN>、<SPAN lang=EN-US>7</SPAN>、<SPAN lang=EN-US>8</SPAN>为断开状态。如果长时间(默认为超过<SPAN lang=EN-US>5</SPAN>秒)收不到此类型报文,上位机可判定网络故障或<SPAN lang=EN-US>EIO</SPAN>已经丢失。<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt"><o:p>&nbsp;</o:p></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 42pt; TEXT-INDENT: -21pt; mso-list: l0 level1 lfo8; tab-stops: list 42.0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-bidi-font-family: 宋体"><SPAN style="mso-list: Ignore">2)<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp; </SPAN></SPAN></SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">EIO</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">接收报文(上位机发送时)<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">命令码为<SPAN lang=EN-US>00</SPAN>或<SPAN lang=EN-US>01</SPAN>时均解释为:<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">8-40</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">路开关量输出控制数据,数据<SPAN lang=EN-US>1</SPAN>控制第<SPAN lang=EN-US>1</SPAN>组<SPAN lang=EN-US>8</SPAN>路开关量输出,数据<SPAN lang=EN-US>2</SPAN>控制第<SPAN lang=EN-US>2</SPAN>组<SPAN lang=EN-US>8</SPAN>路开关量输出,以此类推。<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">当数据的字节中的数据位置<SPAN lang=EN-US>1</SPAN>时,对应的开关量输出为接通,或低电平状态。<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt"><o:p>&nbsp;</o:p></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">例如<SPAN lang=EN-US>EIO</SPAN>收到报文<SPAN lang=EN-US>&lt;00 00 8F 00 00 00 00&gt;</SPAN>后,将接通第<SPAN lang=EN-US>1</SPAN>组输出中的<SPAN lang=EN-US>1</SPAN>、<SPAN lang=EN-US>2</SPAN>、<SPAN lang=EN-US>3</SPAN>、<SPAN lang=EN-US>4</SPAN>、<SPAN lang=EN-US>8</SPAN>,或设置为低电平。而将<SPAN lang=EN-US>5</SPAN>、<SPAN lang=EN-US>6</SPAN>、<SPAN lang=EN-US>7</SPAN>断开或设置成高电平。<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt"><o:p>&nbsp;</o:p></SPAN></B></P><H2 style="MARGIN: 0cm 0cm 0pt 31.15pt; TEXT-INDENT: -31.15pt; mso-list: l3 level1 lfo4; tab-stops: list 31.15pt"><SPAN lang=EN-US style="COLOR: #ff6600; mso-bidi-font-family: 宋体"><SPAN style="mso-list: Ignore"><FONT face=宋体>4、</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="COLOR: #ff6600"><FONT face=宋体>报文详解<SPAN lang=EN-US><o:p></o:p></SPAN></FONT></SPAN></H2><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l4 level1 lfo5; tab-stops: list 21.0pt"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: Wingdings; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">从<SPAN lang=EN-US>EIO</SPAN>设备接收报文<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">收到报文含义为:<SPAN style="COLOR: blue">远程<SPAN lang=EN-US>EIO</SPAN>设备的开关量输入状态。<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">数据<SPAN lang=EN-US>1</SPAN>至数据<SPAN lang=EN-US>5</SPAN>,一共<SPAN lang=EN-US>5</SPAN>个字节,每个字节<SPAN style="COLOR: blue">对应<SPAN lang=EN-US>EIO</SPAN>的<SPAN lang=EN-US>1</SPAN>组<SPAN lang=EN-US>8</SPAN>路开关量输入状态,数据<SPAN lang=EN-US>1</SPAN>对应第<SPAN lang=EN-US>1</SPAN>组<SPAN lang=EN-US>8</SPAN>个开关量输入,</SPAN>以此类推。超过<SPAN lang=EN-US>EIO</SPAN>输入路数的数据字节一直为<SPAN lang=EN-US>0</SPAN>。<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">置<SPAN lang=EN-US>1</SPAN>的位,表示该路开关量输入为<SPAN style="COLOR: blue">接通</SPAN>或<SPAN style="COLOR: blue">低电平</SPAN>状态。<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">置<SPAN lang=EN-US>0</SPAN>的位,表示该路开关量输入为<SPAN style="COLOR: blue">断开</SPAN>或<SPAN style="COLOR: blue">高电平</SPAN>状态。<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt"><o:p>&nbsp;</o:p></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">EIO</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">设备支持<SPAN style="COLOR: blue">开关量状态变化主动发送,</SPAN>在与<SPAN lang=EN-US>EIO Link</SPAN>端口(默认为<SPAN lang=EN-US>5100</SPAN>)建立<SPAN lang=EN-US>TCP/IP</SPAN>连接后,如果<SPAN lang=EN-US>EIO</SPAN>设备的<SPAN style="COLOR: blue">开关量输入状态发生改变,</SPAN><SPAN lang=EN-US>EIO</SPAN>将通过此连接,<SPAN style="COLOR: blue">主动发送实时的开关量输入状态报文(命令码为<SPAN lang=EN-US>01</SPAN>)。<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">为了增强可靠性,即使开关量输入状态没有变化,<SPAN lang=EN-US>EIO</SPAN>也会根据设置的间隔时间,一直发送当前开关量输入状态报文(命令码为<SPAN lang=EN-US>00</SPAN>)。<SPAN lang=EN-US> <o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt"><o:p>&nbsp;</o:p></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l4 level1 lfo5; tab-stops: list 21.0pt"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: Wingdings; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">向<SPAN lang=EN-US>EIO</SPAN>设备发送报文<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">发送报文含义为:<SPAN style="COLOR: blue">设置远程<SPAN lang=EN-US>EIO</SPAN>设备的开关量输出为指定状态(命令码为<SPAN lang=EN-US>00</SPAN>或<SPAN lang=EN-US>01</SPAN>)。</SPAN><SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">数据<SPAN lang=EN-US>1</SPAN>至数据<SPAN lang=EN-US>5</SPAN>,一共<SPAN lang=EN-US>5</SPAN>个字节,<SPAN style="COLOR: blue">每个数据字节的<SPAN lang=EN-US>8</SPAN>个数据位,控制<SPAN lang=EN-US>8</SPAN>路输出状态。</SPAN>超过最大输出路数的控制字节将被忽略。<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">置<SPAN lang=EN-US>1</SPAN>位,对应的输出为<SPAN style="COLOR: blue">接通</SPAN>或<SPAN style="COLOR: blue">低电平。<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">置<SPAN lang=EN-US>0</SPAN>位,对应输出为<SPAN style="COLOR: blue">断开</SPAN>或<SPAN style="COLOR: blue">高电平。</SPAN><SPAN lang=EN-US> <o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt"><o:p>&nbsp;</o:p></SPAN></B></P><H2 style="MARGIN: 0cm 0cm 0pt 31.15pt; TEXT-INDENT: -31.15pt; mso-list: l3 level1 lfo4; tab-stops: list 31.15pt"><SPAN lang=EN-US style="COLOR: #ff6600; mso-bidi-font-family: 宋体"><SPAN style="mso-list: Ignore"><FONT face=宋体>5、</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><SPAN style="COLOR: #ff6600"><FONT face=宋体>更多示例<SPAN lang=EN-US><o:p></o:p></SPAN></FONT></SPAN></H2><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l4 level1 lfo5; tab-stops: list 21.0pt"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: Wingdings; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">从<SPAN lang=EN-US>EIO</SPAN>收到报文<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">收到:<SPAN lang=EN-US style="COLOR: blue">00 00 1C 00 00 00 00<o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">说明:<SPAN lang=EN-US>EIO</SPAN>的开关量输入状态为<SPAN lang=EN-US>1C=0001 1100</SPAN>,第<SPAN lang=EN-US>1</SPAN>、<SPAN lang=EN-US>2</SPAN>、<SPAN lang=EN-US>6</SPAN>、<SPAN lang=EN-US>7</SPAN>、<SPAN lang=EN-US>8</SPAN>路输入为断开或高电平状态,第<SPAN lang=EN-US>3</SPAN>、<SPAN lang=EN-US>4</SPAN>、<SPAN lang=EN-US>5</SPAN>路为接通或低电平状态。<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt"><o:p>&nbsp;</o:p></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; TEXT-INDENT: -21pt; mso-list: l4 level1 lfo5; tab-stops: list 21.0pt"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: Wingdings; mso-bidi-font-size: 12.0pt; mso-fareast-font-family: Wingdings; mso-bidi-font-family: Wingdings"><SPAN style="mso-list: Ignore">l<SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">向<SPAN lang=EN-US>EIO</SPAN>发送报文<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">设置<SPAN lang=EN-US>EIO</SPAN>的输出状态为指定状态<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">发送:<SPAN lang=EN-US style="COLOR: blue">00 00 FF 00 00 00 00<o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><B style="mso-bidi-font-weight: normal"><SPAN style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt">说明:将<SPAN lang=EN-US>EIO</SPAN>的第<SPAN lang=EN-US>1</SPAN>组<SPAN lang=EN-US>8</SPAN>路输出设置为全部接通或低电平状态。<SPAN lang=EN-US><o:p></o:p></SPAN></SPAN></B></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 21pt; mso-para-margin-left: 2.0gd"><SPAN lang=EN-US style="COLOR: #ff6600"><o:p><FONT face="Times New Roman" size=3>&nbsp;</FONT></o:p></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="FONT-SIZE: 14pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt"><o:p>&nbsp;</o:p></SPAN></B></P>
文件下载(右键文件另存为)