<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Hydrogen-FC Ltd. &#187; Maple Systems</title>
	<atom:link href="http://www.hydrogen-fc.com/category/maple-systems/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hydrogen-fc.com</link>
	<description>Automation and Global Partnerships for Hydrogen Power</description>
	<lastBuildDate>Tue, 31 Aug 2010 00:16:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Modbus TCP Protocol between ADAM-5510KW/TCP and Maple HMI5104T</title>
		<link>http://www.hydrogen-fc.com/modbus-tcp-protocol-between-adam-5510kwtcp-and-maple-hmi5104t/</link>
		<comments>http://www.hydrogen-fc.com/modbus-tcp-protocol-between-adam-5510kwtcp-and-maple-hmi5104t/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 15:14:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Advantech ePlatform]]></category>
		<category><![CDATA[Maple Systems]]></category>
		<category><![CDATA[HMI/SCADA]]></category>
		<category><![CDATA[Modbus]]></category>
		<category><![CDATA[PLC/PAC]]></category>

		<guid isPermaLink="false">http://hydrogen-fc.com/?p=109</guid>
		<description><![CDATA[ADAM-5510KW/TCP is PAC (Programmable Automation Controller) base on IEC-61131-3 standard package. IEC-61131-3 is the third part of open international standard IEC 61131 for graphical and textual PAC programming languages. Base on IEC-61131-3, PAC should support these programming languages : Ladder Diagram (LD) Function Block Diagram (FBD) Structured Text (ST) Instruction List (IL) Sequential Function Chart [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">ADAM-5510KW/TCP is PAC (Programmable Automation Controller) base on IEC-61131-3 standard package. IEC-61131-3 is the third part of open international standard IEC 61131 for graphical and textual PAC programming languages. Base on IEC-61131-3, PAC should support these programming languages :</p>
<ul>
<li>Ladder Diagram (LD)</li>
<li>Function Block Diagram (FBD)</li>
<li> Structured Text (ST)</li>
<li> Instruction List (IL)</li>
<li>Sequential Function Chart (SFC)</li>
</ul>
<p><span id="more-109"></span></p>
<p style="text-align: justify;"><img class="alignright size-thumbnail wp-image-219" style="margin: 5px;" title="adam-5510kw-tcp" src="http://www.hydrogen-fc.com/wp-content/uploads/2009/03/adam-5510kw-tcp-250x250.gif" alt="adam-5510kw-tcp" width="250" height="250" />With the IEC-61131-3 standard package, ADAM-5510KW/TCP support for comprehensive controling distribution, processing data and have more capability than old PLC function. Moreover, ADAM-5510KW/TCP also support with modbus TCP (Server/Client) and RTU (Master/Slave) protocol.  These standard open protocol enable ADAM-5510KT/TCP to communicate with other device.</p>
<p style="text-align: justify;">For this chapter, I will show you how to move the analog data from AI module into modbus register  so it could reading online by HMI5104T via modbus TCP protocol. There are several hardware/software that need to provided :</p>
<ol>
<li>PAC ADAM-5510KW/TCP</li>
<li>HMI Touchscreen Maple HMI5104T</li>
<li>Ethernet Switch Hub</li>
<li>2 Straight ethernet cables</li>
<li>1 RS-232 cable (female to female DB9 connector) or Serial to USB converter</li>
<li>Software KW Multiprog for ADAM-5510KW/TCP</li>
<li>Software EasyBuilder5000 v1.31 for Maple HMI5104T</li>
<li>PC or Laptop</li>
</ol>
<p style="text-align: justify;">Before you could perform PAC programming via KW-Multiprog, please configure these DIP switch. There are up to 8 DIP switch, where DIP 1 to 5 used for setting the device ID of ADAM-5510KW/TCP and DIP 6 to 8 used for setting the protocol communication in COM1 and COM2.  On this chapter I will configure device ID = 1 and COM1 = RS-232 (baudrate 19200) for Multiprog Protocol. So only DIP 1 change to ON position. After that I insert the AI module into ADAM-5510KW/TCP PAC I/O slot and power on ADAM-5510KW/TCP with 24VDC power supply. Then connect COM1 ADAM-5510KW/TCP into PC or Laptop to start KW-Multiprog programming.</p>
<p style="text-align: center;"><img class="aligncenter" style="border: 1px solid black;" title="dip-switch-configuration-of-adam5510kwtcp" src="http://www.hydrogen-fc.com/wp-content/uploads/2009/03/dip-switch-configuration-of-adam5510kwtcp.PNG" alt="dip-switch-configuration-of-adam5510kwtcp" width="547" height="226" /></p>
<p style="text-align: justify;">Click the icon of KW-Multiprog on Start Menu to create New Project base on ADAM5000. After that please select the active serial COM on Resource IPC_30. <a href="http://www.hydrogen-fc.com/wp-content/uploads/2009/03/io-configuration.PNG" rel="thumbnail"><img class="size-medium wp-image-222 alignleft" style="border: 1px solid black; margin: 5px;" title="io-configuration" src="http://www.hydrogen-fc.com/wp-content/uploads/2009/03/io-configuration-500x239.PNG" alt="io-configuration" width="500" height="239" /></a>Don&#8217;t forget to configure baudrate, stopbits, databits, parity, timeout similar with you physical COM PC or Laptop.  Because All of I/O module that inserting into ADAM-5510KW/TCP slot board should defining in I/O configuration, so that you have to define the AI module in I/O Configuration. On I/O configuration, you should also set the IP address (ex: 192.168.1.1) of ADAM-5510KW/TCP to perform the next modbus TCP communication.</p>
<p style="text-align: justify;">After you have successful install add on ADAM5000 library, you will have ADAM5K_AI function block. This function block using to move analog data from AI Module into modbus register.  This is the simple configuration of ADAM5K_AI :</p>
<ul>
<li>EN : BOOL#1</li>
<li>Slot : INT#0 (depend on your AI module placed)</li>
<li>CHx : CH0_AIx, where x = 0, 1, 2, &#8230;, 7 and CH0_AI is UINT data type with I/O address start from %MW3.0</li>
</ul>
<p style="text-align: center;"><img class="aligncenter" style="border: 1px solid black;" title="adam5k_ai" src="http://www.hydrogen-fc.com/wp-content/uploads/2009/03/adam5k_ai.PNG" alt="adam5k_ai" width="379" height="348" /></p>
<p style="text-align: center;"><img class="aligncenter" style="border: 1px solid black;" title="adam5000-memory-for-modbus-register" src="http://www.hydrogen-fc.com/wp-content/uploads/2009/03/adam5000-memory-for-modbus-register.PNG" alt="adam5000-memory-for-modbus-register" width="530" height="180" /></p>
<p style="text-align: center;">
<p style="text-align: justify;">After you have finish configure ADAM5K_AI, build your own project by pressing F9 to ensure there is no error in your project. To download into ADAM-5510KW/TCP click Online -&gt; Project Control -&gt; Download -&gt; Download -&gt; Cold. To see you project in online view click Online -&gt; Debug (F10), then you will see the real analog value of AI module in Unsigned Integer (0 &#8211; 65535) representation. When you download your project into ADAM-5510KW/TCP, the IP address that have you set also download on there. It means that you could use UTP ethernet cable to perform the modbus TCP and Multiprog communication. Until this step, ADAM-5510KW/TCP success configurated and we will go to configure HMI5104T using EasyBuilder5000 v1.31.</p>
<p style="text-align: justify;"><img class="alignleft" style="border: 1px solid black; margin: 5px;" title="model-of-maple-system" src="http://www.hydrogen-fc.com/wp-content/uploads/2009/03/model-of-maple-system.PNG" alt="model-of-maple-system" width="410" height="226" />Power on HMI5014T with 24VDC to set IP address (ex: 192.168.1.2) manually. Then click EasyBuilder5000 icon on the Start Menu, then create New HMI Project (Ctrl+N) with model HMI5104x (640 x 480). On the EasyBuilder5000 v1.31 there are several model of Maple System touchscreen, as you can see on left.</p>
<p style="text-align: justify;">On the System Parameter Setting, you should define the protocol/driver communication which will used  between HMI5014T and ADAM-5510KW/TCP. For this chapter I  choose modbus TCP protocol which these configuration :</p>
<ul>
<li>Radio check box : PLC</li>
<li>PLC type : Modbus TC/IP Master</li>
<li>PLC I/F : Ethernet</li>
<li>PLC default station no : 1 (depend on modbus address of ADAM-5510KW/TCP)</li>
<li>Setting IP Address : 192.168.1.1 (depend on IP set of ADAm-5510KW/TCP)</li>
<li>Port no : 502</li>
</ul>
<p style="text-align: justify;"><img class="alignleft size-full wp-image-227" style="border: 1px solid black; margin: 5px;" title="maple-modbus" src="http://www.hydrogen-fc.com/wp-content/uploads/2009/03/maple-modbus.PNG" alt="maple-modbus" width="431" height="156" />After you have create new HMI workspace, insert Numerical Display symbol and you will see a new popup window. On the popup window, you could configure the modbus function and modbus register, custom the graphical and text display or animation. The general configuration for this chapter are :</p>
<ul>
<li>Device type : 4x (Read/Write Holding Register)</li>
<li>Address : 2001 to 2008</li>
<li>Data format : 16-bit Unsigned</li>
<li>Left of decimal Pt: 5</li>
</ul>
<p style="text-align: justify;">Please insert 8 Numerical Display symbols on the EasyBuilder5000 workspace, where each symbol used for each modbus register address. To verifying your project, click Tools -&gt; Compile. To download your project to HMI5014T, click Tools -&gt; Download. Before you download, you should have know the IP address, password of HMI5014T and connect your PC or Laptop with UTP ethernet cable. For this chapter the IP address : 192.168.1.2 and default password : 111111. After that, replace RJ45 port from your PC/Laptop into ADAM-5510KW/TCP. You will see the actual analog data of AI module in HMI5014T Touchscreen.</p>
<p style="text-align: justify;">All of configuration that I have explain is base on my experiences. So that I could ensure you the configuration could perform the modbus TCP communication between ADAM-5510KW/TCP and HMI5014T Touchscreen. But if you have any questions or technical advice, please contact me immediately.  <img src='http://www.hydrogen-fc.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':grin:' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.hydrogen-fc.com/modbus-tcp-protocol-between-adam-5510kwtcp-and-maple-hmi5104t/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
