亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? index.htm

?? modbus PLC 模擬程序
?? HTM
?? 第 1 頁 / 共 2 頁
字號:
<H2>Juice Plant</H2>
<p>Select the correct <A HREF="#Animation">animation settings</A> to enable the <i>Juice Plant</i>.
</p>
<p>The <i>juice plant</i> diagnostic dialog is shown below</p>
<p align="center"><IMG SRC="images\juice.GIF" ALT="?" BORDER=0>
<HR>

<!------------------------------------------------------------------------------------>
<!--------------------------------- Script Automation -------------------------------->
<a name="Script Automation"></a>
<H2>Script Automation</H2>
<p>
The simulator can be automated from a script, the simulator uses the Microsoft Script Host,
only the VB language is currently selectable. </p>
<p>The primary function of a script is to allow emulation of normal PLC activity. Activity can be based on
SCADA/HMI controls, and be in the form of a response action, or be totally autonomous. To enable the execution
of a script, type in the name of the script VBS file in the space provided in the "Training" settings dialog.
Typical to this kind of scripting, some automation functions have been provided.
</p>
<p><b><font color="#008000">Script function reference:</font></b></p>
<UL>
	<LI><b><font color="#0000FF">GetRegisterValue (REG_TYPE as long , ADDRESS as long) As int</font></b><BR>
		   Returns the current value in the modbus/AB register specified.<BR>
		   REG_TYPE = register type 0=input, 1=output,2=analog in, 3=holding reg. 4=extended reg. (For AB, this is the file #.)<BR>
		   ADDRESS = register or I/O point number (Zero always corresponds to the first item.)<BR>
		   <i>E.g.</i> 0 is similar to 40001 if REG_TYPE is 3<BR>
		   <i>E.g.</i> 63 would be 64th output coil if REG_TYPE=1<BR>

	<LI><b><font color="#0000FF">SetRegisterValue (REG_TYPE as long, ADDRESS as long, REGISTERVALUE as long) As none</b></font><BR>
		   Set the value in the modbus/AB register specified.<BR>
		   REG_TYPE = register type 0=input, 1=output,2=analog in, 3=holding reg. 4=extended reg. (For AB, this is the file #.)<BR>
		   ADDRESS = register or I/O point number (Zero always corresponds to the first item.)<BR>
		   &nbsp;&nbsp;&nbsp;<i>E.g.</i> 0 is similar to 40001 if REG_TYPE is 3<BR>
		   &nbsp;&nbsp;&nbsp;<i>E.g.</i> 63 would be 64th output coil if REG_TYPE=1<BR>
		   REGISTERVALUE = register value, permitted range (-32767 to +32767) other values are clipped, and thus undefined<BR>

	<LI><b><font color="#0000FF">DisableStation (STATIONID as int) none</b></font><BR>
	       Disable a modbus slave station. This function can be used to take the station out of the ring,
	       as if it was not present in the system/network<BR>
	       STATIONID = modbus station number (valid values 0 to 255; 0 = broadcast station)<BR>

	<LI><b><font color="#0000FF">EnableStation (STATIONID as int) None</b></font><BR>
	       Enable a modbus slave station. This function can be used to restore a station to the ring. see DisableStation<BR>
	       STATIONID = modbus station number (valid values 0 to 255; 0 = broadcast station)<BR>

	<LI><b><font color="#0000FF">DisplayAbout( ) None</b></font><BR>
	       Display the application about box, the script is suspended untill the "About" window is closed by the user.<BR>

	<LI><b><font color="#0000FF">GetLastRunTime( ) As long</b></font><BR>
	       Return the duration in milliseconds that it took for the last execution of the script. This value will be -1
	       on the first script execution, or if the scrip fails to execute to completion without errors.<BR>

	<LI><b><font color="#0000FF">StationEnabled (STATIONID as int) As long</b></font><BR>
	       Return the enable state of the station (0=disabled, 1=enabled)<BR>

	<LI><b><font color="#0000FF">TransmitRegisters (STATIONSRC as int, STATIONDEST as int, REG_TYPE as long, ADDRESS as long, REGISTERS as long) As long</b></font><BR>
		   Sends a value to the desired slave PLC (Simulation must be in and support master mode.)<BR>
		   Currently not supported on MODBUS.<BR>
		   STATIONSRC = Allen-Bradley Source station (ignored for modbus protcol).<BR>
		   STATIONDEST = Destination or target station ID register type 0=input, 1=output,2=analog in, 3=holding reg. 4=extended reg. (For AB, this is the file #)<BR>
		   REG_TYPE = register type 0=input, 1=output,2=analog in, 3=holding reg. 4=extended reg. (For AB, this is the file #)<BR>
		   ADDRESS = register or I/O point number (Zero always corresponds to the first item.)<BR>
		   &nbsp;&nbsp;&nbsp;<i>E.g.</i> 0 is similar to 40001 if REG_TYPE is 3<BR>
		   &nbsp;&nbsp;&nbsp;<i>E.g.</i> 63 would be 64th output coil if REG_TYPE=1<BR>
		   REGISTERS = Number of registers to transmit, protocol specific framing or <A HREF="#PDU">PDU</a> limits are not tested before sending.<BR>

	<LI><b><font color="#0000FF">AddDebugString (STATIONID as string) As None</b></font><BR>
	       Sends text to the communications debugger, the text will appear with a double hash ## in front of it.<BR>
	<LI><b><font color="#0000FF">TransactionBusy () As long</b></font><BR>
	       Returns TRUE if this simulation device supports master-mode, and is not busy with a transaction at this time.<BR>
</UL>

<p><b><font color="#008000">Sample script code:</font></b></p>
<!-------------------  ------------------------------->
<TABLE width="500" border=0 >
<TR>
<TD width="30">&nbsp;
</TD>
<TD width="400" bgcolor="#008080">
<!---- SAMPLE SCRIPT ----->
<PRE>
dim x
dim n
dim runtime
dim station

n=0
for n=0 to 240
   x = getregistervalue(3,n)
   SetRegisterValue 3, n, x+1
next
runtime = Getlastruntime
SetRegisterValue 3, 241, runtime

if (StationEnabled (station)) then
   Disablestation station
else
   enablestation station
end if

SetRegisterValue 3, 242, station

station = station + 1
if station > 12 then station = 0
</PRE>

</TD>
</TR>
</TABLE>

<p>The above sample illustrates how to increment a few registers, and
also turn the communication for the 1st 12 stations on and off continuously. The script runs on every
animation update.
</p>
<HR>

<!------------------------------------- TERMINOLOGY SUB-SECTION ----------------------------------->
<a name="Media Types"></a>
<H4>Media Types</H4>
<p>Media types relate to the physical layers used for any communication process. An example media type
could be a telephone line. Humans popularly use air as a media type; whales use sea-water.
computing devices typically use a copper conductor as a media.
Just in the same way that the amount of air (distance) between two participants and it's temperature etc.
affects the kind of communication that can take place, a physical media type must be clearly defined.</p>
<p>
Device manufacturers typically will refer to a copper conductor of a certain maximum length and thickness,
and then go on to describe other electrical properties of it. So the kind of wire used is important, but
the color is not directly important.<BR>
In some cases a media type variations can also be so clearly defined, that even though 2 media look the same,
they are not. Ethernet 10 base-T is a good example of this kind of case. It even defines transmission rates of
10 million and 100 million bits per second. In addition, because Ethernet is so well defined as a media type of
it's own, converters to other physical media such as fibre or radio are popular, and elevate it to the status
of a protocol. (To be true Ethernet is a protocol, but still refered to as a general media type.)<BR>
<BR>
The simulator supports 2 media types: <A HREF="#RS-232 Setup">Serial</A> and <a HREF="#Ethernet Setup">Ethernet</a>.
</p>

<a name="PDU"></a>
<H4>PDU - Protocol Data Unit</H>
<p>A protocol data unit is that part of a protocol message or frame that contains the data. Data in 99% of protocols
is not simply send without some kind of mechanism to format the data, explain what data it is, and ensure data integrity
and/or security. In total these mechanisms make up a message frame. The message frame contains the data, and since a
message frame cannot be of infinite length, so too, the data is restricted. The restriction thus becomes
the maximum amount of data transmittable in one packet, and will differ as the maximum message or frame length changes.</p>
<p>DF1 specifies a PDU of 234 , 223 bytes if over IP : for SLC5/03 or 5/04<BR>
for the SLC 5/01 or 5/02 only 82 bytes (equivalent to 41 words)</p>
<HR>


<!------------------------------------------------------------------------------------>
<!--------------------------------- More (... F.A.Q.) -------------------------------->
<a name=More>
<h2>F.A.Q. More info.</h2></a>

<ul>
  <li><b>Q:&nbsp;</b>What is a MODBUS RTU? <BR>
    <b>A:</b>&nbsp;It's a PLC, if that does not
    make sense, visit www.modicon.com.</li>
  <li><b>Q:&nbsp;</b>Where do I get the protocol? <BR>
    <b>A:</b>&nbsp;Visit www.modicon.com, and search for PI-MBUS 300.</li>
  <li><b>Q:</b>&nbsp;How do I do XYZ? <BR>
    <b>A:</b>&nbsp;Some program features are not documented at this time, look around.</li>
  <li><b>Q:</b>&nbsp;MODBUS function 5 returns the old value<BR>
  <b>A:</b>&nbsp;There is however one variation on the MODBUS documentation, for function force single coil 0x05 -the simulator
    responds with the value before modifying the actual coil, not after modifying the coil. This was wrong, but
    was easiest to implement, and there is now a setting for this. (See Emulation settings - Hotkey &lt;CTRL&gt;-M)</li>
  <li><b>Q:</b>&nbsp;Where is the help file?<BR>
  <b>A:</b>&nbsp;The help-file is all in HTML, all images and the text are stored in the program, adn placed into the current working folder. 
     Editing them will have no affect without re-compiling the simulator.</li>
  <li><b>Questions/problems :</b> mail me at <a href="mailto:conradb@adroit.co.za">conradb@adroit.co.za</a>.</li>
</ul>

<HR>
<p><font size="1">This page was developed using TextPad &quot;http://www.textpad.com/
&quot;, do not edit on fear of death.</font>
</p>
<p align="right">Z&aring;PHo&ETH;</p>

</BODY>
</HTML>

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美艳星brazzers| 黑人巨大精品欧美一区| 成av人片一区二区| 国产欧美日韩不卡| 成人免费观看视频| 国产精品福利一区二区| 色婷婷亚洲精品| 香蕉久久夜色精品国产使用方法 | 欧美成人在线直播| 国内外精品视频| 国产午夜亚洲精品不卡| 色综合色狠狠综合色| 一区二区高清视频在线观看| 欧美日韩国产高清一区二区| 日本欧洲一区二区| 国产视频在线观看一区二区三区| 成人国产一区二区三区精品| 一区二区三区在线免费视频| 88在线观看91蜜桃国自产| 国产在线精品国自产拍免费| 自拍偷自拍亚洲精品播放| 欧美美女喷水视频| 国产aⅴ综合色| 夜夜精品视频一区二区 | 欧美精品一区二区不卡 | 色老汉一区二区三区| 日韩精品乱码免费| 欧美国产一区二区| 欧美日韩1234| 懂色av一区二区三区免费看| 亚洲大片一区二区三区| 国产日韩一级二级三级| 在线一区二区视频| 国产乱码字幕精品高清av| 一区二区三区四区中文字幕| 精品久久久久久久人人人人传媒 | 久久夜色精品国产欧美乱极品| 91麻豆swag| 精品一区二区三区视频在线观看| 18欧美亚洲精品| 日韩视频123| 欧美自拍偷拍午夜视频| 国产成人av网站| 天堂av在线一区| 亚洲视频精选在线| 久久奇米777| 欧美美女bb生活片| 一道本成人在线| 国产麻豆视频精品| 午夜精彩视频在线观看不卡| 国产精品三级视频| 日韩一卡二卡三卡四卡| 在线观看免费视频综合| 国产传媒一区在线| 麻豆久久久久久久| 亚洲国产精品视频| 亚洲色图一区二区| 欧美经典一区二区三区| 欧美成人一区二区| 欧美放荡的少妇| 欧美中文字幕一区| 一本色道久久综合亚洲aⅴ蜜桃| 国产一区二区三区不卡在线观看| 午夜精品爽啪视频| 夜夜嗨av一区二区三区| 国产精品国产三级国产普通话蜜臀| 精品国产乱码91久久久久久网站| 精品视频1区2区3区| 91精彩视频在线| 色哟哟欧美精品| 色婷婷亚洲精品| 日本高清成人免费播放| 99久久精品免费| 成人app下载| 成人av电影观看| av电影一区二区| 99国产精品一区| 92国产精品观看| 91视频你懂的| 欧美中文字幕亚洲一区二区va在线 | 99精品偷自拍| 91婷婷韩国欧美一区二区| a级高清视频欧美日韩| 成人深夜福利app| 成人av动漫在线| av一区二区三区在线| 99久久99久久免费精品蜜臀| 色综合久久中文综合久久97| 色婷婷综合久久久中文字幕| 欧美最新大片在线看| 欧美无砖专区一中文字| 欧美精品自拍偷拍动漫精品| 91精品久久久久久久久99蜜臂| 日韩免费视频一区| 久久久www免费人成精品| 日本一区二区三区国色天香| ●精品国产综合乱码久久久久| 亚洲欧美日韩成人高清在线一区| 亚洲精选一二三| 视频一区在线视频| 韩国三级在线一区| 不卡区在线中文字幕| 欧美性猛交xxxx乱大交退制版| 91精品国产综合久久久久| 欧美电影免费观看高清完整版在| 精品福利在线导航| 亚洲女同女同女同女同女同69| 亚洲一区在线播放| 蜜臀va亚洲va欧美va天堂| 国产一区二区免费视频| av在线不卡观看免费观看| 欧美日韩一区二区三区不卡| 日韩精品一区二区三区中文不卡 | 中文字幕欧美日韩一区| 日韩av午夜在线观看| 国精产品一区一区三区mba桃花| 成人精品国产一区二区4080| 欧美三区免费完整视频在线观看| 日韩一本二本av| 国产精品国产三级国产aⅴ无密码| 亚洲国产成人av| 国产成人综合亚洲91猫咪| 在线观看亚洲成人| 久久综合九色综合欧美98| 亚洲激情图片小说视频| 久久国产精品第一页| 91香蕉视频污在线| 精品少妇一区二区三区| 亚洲人成精品久久久久久| 久久国产生活片100| 色国产综合视频| 久久夜色精品国产噜噜av| 亚洲成年人网站在线观看| 国产91精品久久久久久久网曝门| 欧美日韩一二区| 中文字幕制服丝袜成人av| 蜜臀a∨国产成人精品| 91视频xxxx| 久久精品视频一区二区| 日本中文字幕一区二区有限公司| 99久久er热在这里只有精品15| 精品久久久久久久人人人人传媒| 亚洲综合视频网| 99久久精品免费看| 国产清纯在线一区二区www| 免费一级片91| 欧美日韩三级一区| 亚洲美女偷拍久久| 成人av手机在线观看| 久久亚洲综合色| 免费观看久久久4p| 欧美日韩日日夜夜| 亚洲最色的网站| 99精品欧美一区二区三区小说| 国产午夜精品一区二区三区四区| 日本欧美一区二区三区| 欧美久久久久久久久| 亚洲影视在线观看| 欧美中文字幕久久| 一区二区三区不卡视频| 91一区二区三区在线观看| 国产精品女人毛片| 在线区一区二视频| 夜夜爽夜夜爽精品视频| 一本一本久久a久久精品综合麻豆| 国产精品天美传媒沈樵| 国产二区国产一区在线观看| 久久久国产午夜精品| 国产精品2024| 国产色婷婷亚洲99精品小说| 国产精品888| 国产亚洲欧美一级| 懂色av中文一区二区三区| 国产精品卡一卡二| 成人av在线资源| 专区另类欧美日韩| 色偷偷久久人人79超碰人人澡| 亚洲欧美激情插 | 五月婷婷综合网| 欧美精品在线一区二区三区| 青青草精品视频| 欧美xxxx老人做受| 国产经典欧美精品| 国产精品久久久久久久第一福利 | 久久伊人蜜桃av一区二区| 国产成人av网站| 亚洲视频一二三区| 欧美美女网站色| 久草精品在线观看| 国产日产欧产精品推荐色| fc2成人免费人成在线观看播放| 亚洲品质自拍视频网站| 欧美日韩情趣电影| 国内久久精品视频| 中文av一区特黄| 欧美三级韩国三级日本一级| 蜜臀av性久久久久蜜臀av麻豆| 国产欧美日韩不卡| 欧亚一区二区三区| 狠狠狠色丁香婷婷综合激情 |