<?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; PLC/PAC</title>
	<atom:link href="http://www.hydrogen-fc.com/tag/plcpac/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 RTU between PLC K120S and VSD Altivar-31 &amp; iG5A</title>
		<link>http://www.hydrogen-fc.com/modbus-rturs-485-plc-k120s-to-vsd-altivar-31-ig5a/</link>
		<comments>http://www.hydrogen-fc.com/modbus-rturs-485-plc-k120s-to-vsd-altivar-31-ig5a/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 17:05:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[LS Industrial Systems]]></category>
		<category><![CDATA[Schneider Electric]]></category>
		<category><![CDATA[Modbus]]></category>
		<category><![CDATA[PLC/PAC]]></category>

		<guid isPermaLink="false">http://www.hydrogen-fc.com/?p=621</guid>
		<description><![CDATA[On these case, we build system with PLC K120S from LS Industrial Systems as Master device and VSD (Variable Speed Drive) Altivar-31 from Schneider Electric as 1st Slave device and iG5A from LS Industrial Systems as 2nd Slave Device. All communication between Master and Slave device performed by Modbus RTU protocol. PLC K120S with K7M-DR20U [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://www.hydrogen-fc.com/wp-content/uploads/2010/03/K80SK120S.jpg" rel="thumbnail"><img class="alignleft size-thumbnail wp-image-736" style="margin: 5px; border: 1px solid black;" title="K80SK120S" src="http://www.hydrogen-fc.com/wp-content/uploads/2010/03/K80SK120S-250x250.jpg" alt="" width="250" height="250" /></a>On these case, we build system with PLC K120S from <a href="http://eng.lsis.biz/" target="_blank">LS Industrial Systems</a> as Master device and VSD (Variable Speed Drive) Altivar-31 from <a href="http://www.schneider-electric.com/" target="_blank">Schneider Electric</a> as 1st Slave device and iG5A from <a href="http://eng.lsis.biz/" target="_blank">LS Industrial Systems</a> as 2nd Slave Device. All communication between Master and Slave device performed by Modbus RTU protocol.</p>
<p style="text-align: justify;">PLC K120S with K7M-DR20U type is low price PLC with powerful built-in functions, like : PID function, Modbus RTU protocol, High Speed Counter (HSC), Pulse Output. Otherwise, the disadvantage of PLC K120S is could not processing floating data. All analog data will processed using integer format.</p>
<p style="text-align: justify;">Goal target on this case is PLC K120S could set the reference frequency, acceleration, deceleration and monitor current value of output frequency, output current, output voltage and output power from each VSD.<span id="more-621"></span></p>
<p style="text-align: justify;">There is a little trick when using modbus function on PLC K120S ladder programming. That is PLC K120S could not send/receive multiple parameter from/to slave device within same time. There will be occuring error communication. Error communication also occuring when PLC K120S request data to multiple slave devices within same time. We attach below the little trick to resolve that issue.</p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="600" height="494" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/4RWEcNxD-Qg" /><embed type="application/x-shockwave-flash" width="600" height="494" src="http://www.youtube.com/v/4RWEcNxD-Qg"></embed></object></p>
<p style="text-align: justify;"><a href="http://www.hydrogen-fc.com/wp-content/uploads/2010/03/AFPX-C30.jpg" rel="thumbnail"><img class="alignleft size-thumbnail wp-image-744" style="margin: 5px; border: 1px solid black;" title="AFPX-C30" src="http://www.hydrogen-fc.com/wp-content/uploads/2010/03/AFPX-C30-250x250.jpg" alt="" width="250" height="250" /></a>We also develop similar system using PLC <a href="http://pewa.panasonic.com/acsd/" target="_blank">Panasonic</a>. Our system using PLC FPX Series from <a href="http://pewa.panasonic.com/acsd/" target="_blank">Panasonic</a> as Master device and 2 units VSD iG5A from <a href="http://eng.lsis.biz/" target="_blank">LS Industrial Systems</a> as Slave device. There is no built-in RS-485 port on PLC FPX Series, so we need add-on communication cassette AFPX-COM3 to perform Modbus RTU communication. On these system, PLC FPX Series also needed similar ladder programming method like on PLC K120S.</p>
<p style="text-align: justify;">We got last confirmation from the end-users that all above design are powerful system. Please fell free to develop your system by using our experiences.</p>
<p style="text-align: center;">
<p style="text-align: justify;">
]]></content:encoded>
			<wfw:commentRss>http://www.hydrogen-fc.com/modbus-rturs-485-plc-k120s-to-vsd-altivar-31-ig5a/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>PID &amp; Alternate Control System</title>
		<link>http://www.hydrogen-fc.com/pid-close-loop-controller/</link>
		<comments>http://www.hydrogen-fc.com/pid-close-loop-controller/#comments</comments>
		<pubDate>Sun, 13 Sep 2009 13:05:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wonderware Invensys]]></category>
		<category><![CDATA[HMI/SCADA]]></category>
		<category><![CDATA[PLC/PAC]]></category>

		<guid isPermaLink="false">http://www.hydrogen-fc.com/?p=450</guid>
		<description><![CDATA[PID (Proportional-Integral-Derivative) controller is control loop feedback mechanism that widely used in control system. PID calculating the error value that generated by difference between feedback Process Value (PV) and Set Point (SP) PID. When error value generating, PID controller adjusting output Measurement Value (MV) to minimize error near to zero value. Let us give some [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><a href="http://www.hydrogen-fc.com/wp-content/uploads/2009/09/PID_PUMP.jpg" rel="thumbnail"><img class="alignleft size-thumbnail wp-image-763" style="margin: 5px; border: 1px solid black;" title="PID_PUMP" src="http://www.hydrogen-fc.com/wp-content/uploads/2009/09/PID_PUMP-250x250.jpg" alt="" width="250" height="250" /></a><a href="http://en.wikipedia.org/wiki/PID_controller" target="_blank">PID (Proportional-Integral-Derivative) controller</a> is control loop feedback mechanism that widely used in control system. PID calculating the error value that generated by difference between feedback Process Value (PV) and Set Point (SP) PID. When error value generating, PID controller adjusting output Measurement Value (MV) to minimize error near to zero value.</p>
<p style="text-align: justify;">Let us give some example PID Controller on Booster Pump application like on the left picture. Feedback Process Value (PV) is Actual Pressure (Bar), Set Point (SP) PID is Set Pressure (Bar), and output Measurement Value (MV) is VSD Reference Frequency (Hz).  This is the mechanism. Whenever the difference between PV &amp; SP negative, PID Controller increasing output MV. Otherwise when the difference between PV &amp; SP positive, PID Controller decreasing output MV. How fast the PID Controller could execute error calculation are depend on cycle speed on each controller and type of PID function.  There are several PID function base on control actions, which are P, I, PI, PD. PI function is widely used for Booster Pump application.<span id="more-450"></span></p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-457" title="PID" src="http://www.hydrogen-fc.com/wp-content/uploads/2009/09/PID.PNG" alt="" width="579" height="150" /></p>
<p style="text-align: justify;">This is the PID &amp; Alternate control system on Booster Pump application. There are 1 unit Pressure Transmitter,  1 unit PLC and 2 units Booster Pump that controlled by 1 unit VSD. Because of most VSD have PID Controller, we design the PI controller in the VSD. These are the several case :</p>
<ul>
<li style="text-align: justify;">At the first time start PID in VSD with Pump A. VSD adjusting output frequency (Hz) into Pump A so that Actual Pressure (Bar) close to Set Pressure (Bar).</li>
<li style="text-align: justify;">Case 1 : Pump A couldn&#8217;t reach the target of Set Pressure (Bar), then PLC set 50Hz into Pump A and start PID in VSD with Pump B.</li>
<li style="text-align: justify;">Case 2 : Actual Pressure (Bar) is too high so that VSD set 0Hz into Pump B. This case make PLC to stop Pump B and start PID in VSD with Pump A.</li>
<li style="text-align: justify;">Case 3 : Actual Pressure (Bar) still on high pressure so that VSD set 0Hz into Pump A. This case make PLC to stop Pump A. That mean booster Pump A and B on the sleep condition.</li>
<li style="text-align: justify;">Case 4 : Suddenly Actual Pressure (Bar) drop to below Set Pressure (Bar). This case make PLC start PID in VSD with Pump B because of the last running pump before sleep is Pump A. This mechanism important to make sure all pumps have same running hour.</li>
</ul>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="480" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="quality" value="best" /><param name="scale" value="noborder" /><param name="salign" value="t" /><param name="wmode" value="transparent" /><param name="src" value="http://www.youtube.com/v/aGEKCqmXEYQ" /><param name="align" value="top" /><embed type="application/x-shockwave-flash" width="640" height="480" src="http://www.youtube.com/v/aGEKCqmXEYQ" align="top" wmode="transparent" salign="t" scale="noborder" quality="best"></embed></object></p>
<p style="text-align: justify;">With the PID &amp; Alternate control system, we could just add booster pump without add more VSD  to increase efficiency and capacity on Booster Pump Station. Mostly, Booster Pump Stations are using PID &amp; Alternate control system because it could saving more cost for electrical energy consuption.</p>
<p style="text-align: justify;">All of animation and graphical developed by <a href="http://www.archestra.biz/default.aspx" target="_blank">Wonderware</a> ArchestrA 3.0.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hydrogen-fc.com/pid-close-loop-controller/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Modbus TCP between HMI Ifix5.0 and PLC VersaMax40</title>
		<link>http://www.hydrogen-fc.com/modbus-tcp-protocol-between-versamax40-and-ifix-5-0/</link>
		<comments>http://www.hydrogen-fc.com/modbus-tcp-protocol-between-versamax40-and-ifix-5-0/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 17:07:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[GE Intelligent Platforms]]></category>
		<category><![CDATA[HMI/SCADA]]></category>
		<category><![CDATA[Modbus]]></category>
		<category><![CDATA[PLC/PAC]]></category>

		<guid isPermaLink="false">http://www.hydrogen-fc.com/?p=123</guid>
		<description><![CDATA[VersaMax40 is one kind of VersaMax Micro Plus Controllers from GE Intelligent Platforms that have more enhanced features like : more memory (for boolean, integer, floating data), real time clock (RTC),  optional port for industrial protocol communication, high speed counter (HSC) up to 4 at 100kHz, pulse width modulation (PWM) up to 4 at 65kHz, [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">
<p style="text-align: justify;"><a href="http://www.hydrogen-fc.com/wp-content/uploads/2009/09/versmaxmicronano.jpg" rel="thumbnail"><img class="alignleft size-thumbnail wp-image-784" style="border: 1px solid black; margin: 5px;" title="versmaxmicronano" src="http://www.hydrogen-fc.com/wp-content/uploads/2009/09/versmaxmicronano-250x250.jpg" alt="" width="250" height="250" /></a>VersaMax40 is one kind of VersaMax Micro Plus Controllers from <a href="http://www.ge-ip.com" target="_blank">GE Intelligent Platforms</a> that have more enhanced features like : more memory (for boolean, integer, floating data), real time clock (RTC),  optional port for industrial protocol communication, high speed counter (HSC) up to 4 at 100kHz, pulse width modulation (PWM) up to 4 at 65kHz, motion commands, PID function and subroutines. VersaMax40 limited to 152  maximum physical I/O with up to 4 I/O expansion units.</p>
<p style="text-align: justify;">VersaMax40 have 1 RS-232 and second port option for RS-232/RS-485/USB/Ethernet. Usually, 1 RS-232 port defined as  SNP port mode for PLC programming with Proficy Machine Edition. On This application we will use second port option to add ethernet communication module &#8211; IC200UEM001. With this communication module we could self-defined VersaMax40 as Server device that communicate with HMI Ifix5.0 as Client device via Modbus TCP protocol. With ethernet communication module, VersaMax40 could handle up to 8 Clients device simultaneous on Modbus TCP network. Please following GFK-2436B for detail instruction.<span id="more-123"></span></p>
<p style="text-align: justify;"><strong>Configuring VersaMax40 with Proficy Machine Edition Software<br />
</strong></p>
<p style="text-align: justify;">To configure second port option that available on VersaMax40 for Modbus TCP protocol, we should using Proficy Machine Edition software via port 1 RS-232. Port 1 RS-232 on VersaMax40 using RJ45 connector. Below the cable connection between DB9 connector to RJ45 connector.</p>
<p style="text-align: center;"><img class="aligncenter" title="DB9_to_RJ45" src="http://www.hydrogen-fc.com/wp-content/uploads/2009/09/DB9_to_RJ45.PNG" alt="DB9_to_RJ45" width="585" height="327" /></p>
<p style="text-align: center;"><img class="aligncenter" title="DB9_to_RJ45_Table" src="http://www.hydrogen-fc.com/wp-content/uploads/2009/09/DB9_to_RJ45_Table.PNG" alt="DB9_to_RJ45_Table" width="585" height="362" /></p>
<p style="text-align: justify;"><strong>Configuring IC200UEM001 as Modbus TCP Server</strong></p>
<p style="text-align: justify;">Factory configuration for ethernet communication module &#8211; IC200UEM001 is GE Fanuc SRTP function. With these function we could setting the permanent IP address then connect Proficy Machine Edition via crossover ethernet cable to program PLC VersaMax40. To set IC200UEM001 with Modbus TCP Server function please following below  step :</p>
<ol>
<li>Connect IC200UEM001 to computer using crossover ethernet cable.</li>
<li>Replace <a href="http://www.hydrogen-fc.com/wp-content/uploads/2010/08/GEF_SRTP_V1.0.zip" target="_blank">GE Fanuc SRTP</a> with <a href="http://www.hydrogen-fc.com/wp-content/uploads/2010/08/Modbus_TCP-Server_v1.0.zip" target="_blank">Modbus TCP Server</a> firmware using <a href="http://www.hydrogen-fc.com/wp-content/uploads/2010/08/PumpKIN.zip" target="_blank">PumpKIN Utility</a> software. Following GFK2436B for detail instruction.</li>
<p style="text-align: center;"><a href="http://www.hydrogen-fc.com/wp-content/uploads/2009/09/PumpKIN-Utility.PNG" rel="thumbnail"><img class="aligncenter" title="PumpKIN-Utility" src="http://www.hydrogen-fc.com/wp-content/uploads/2009/09/PumpKIN-Utility.PNG" alt="PumpKIN-Utility" width="612" height="359" /></a></p>
<li>Open Modbus Tester (ex. Modscan) software and testing these below register :
<ul>
<li>Physical input address on VersaMax40 are %I00001 &#8211; %I00024 similar with modbus register 100001 &#8211; 100024.</li>
<li>Physical output address on VersaMax40 are %Q00001 &#8211; %Q00016 similar with modbus register 100001 &#8211; 100016.</li>
<li>Memory (unsigned integer) data on VersaMax40 are %R00001 &#8211; etc similar with modbus register 400001  &#8211; etc.</li>
</ul>
</li>
</ol>
<p style="text-align: justify;"><strong>Connect HMI Ifix5.0 to PLC VersaMax40</strong><br />
<strong> </strong></p>
<p style="text-align: justify;"><a href="http://www.hydrogen-fc.com/wp-content/uploads/2009/09/SCU.PNG" rel="thumbnail"><img class="size-thumbnail wp-image-436 alignright" style="border: 1px solid black; margin: 5px;" title="SCU" src="http://www.hydrogen-fc.com/wp-content/uploads/2009/09/SCU-250x250.PNG" alt="SCU" width="250" height="250" /></a><em>Configuring SCU Ifix5.0 :</em></p>
<ol>
<li>Click Ifix 5.0 shortcut.</li>
<li>Click SCU (System Configuration Utility).</li>
<li>Click Configure.</li>
<li>Select Enable SCADA support.</li>
<li>Find I/O Driver Name : MBE Modbus Ethernet and click Add.</li>
<li>Click Configure the I/O Driver.</li>
<li>Click Connect to MBE I/O driver.</li>
<li>Save SCU configuration.</li>
</ol>
<p><em>Configuring MBE I/O driver Ifix5.0 :</em></p>
<ol>
<li>Click Add New Ethernet Port channel and enable it.</li>
<li>Click Add New Device and enable it. Then fill the form for IP address, maximum block, timeout, addressing mode and bit mode swapping register.</li>
<li>Click Add New Block and enable it. Then spit each type modbus register.  These is an <a href="../wp-content/uploads/2009/09/MBE-Configuration.MBE" target="_blank">exampl</a>e of MBE I/O driver configuration.</li>
<li>Save MBE I/O driver configuration and close all Ifix5.0 application.</li>
</ol>
<p><img class="aligncenter size-full wp-image-439" title="MBE Configuration" src="http://www.hydrogen-fc.com/wp-content/uploads/2009/09/MBE-Configuration.PNG" alt="" width="638" height="551" /></p>
<p style="text-align: justify;"><a href="http://www.hydrogen-fc.com/wp-content/uploads/2009/09/Database-Manager.PNG" rel="thumbnail"><img class="size-thumbnail wp-image-443 alignright" style="border: 1px solid black; margin: 5px;" title="Database Manager" src="http://www.hydrogen-fc.com/wp-content/uploads/2009/09/Database-Manager-250x250.PNG" alt="Database Manager" width="250" height="250" /></a></p>
<p style="text-align: justify;"><em>Configuring Database Manager Ifix5.0 :</em></p>
<ol>
<li>Click Ifix5.0 shorcut.</li>
<li>Click Application.</li>
<li>Click Database Manager.</li>
<li>Add tagname name, tagname type, I/O driver, I/O addresss.</li>
<li>Save all configuration on Database Manager.</li>
</ol>
<p style="text-align: justify;">After that, create simple animation or symbol in HMI Ifix5.0 that connected to I/O tagname. All I/O tagname are defined in Database Manager.</p>
<p style="text-align: justify;">For the information, Ifix5.0 support with Visual Basic syntax. It means  that HMI Ifix5.o support for customable HMI programming (ex.  programming database to Access, MySQL, SQL Server, etc). With this capability, you could self-programming to create HMI based on your application/project.</p>
<p style="text-align: center;">
<p style="text-align: justify;">
<p style="text-align: justify;">
<p style="text-align: justify;">
<p style="text-align: justify;">
<p style="text-align: justify;">
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 2057px; width: 1px; height: 1px; overflow: hidden;">
<p style="text-align: center;"><img title="MBE Configuration" src="http://www.hydrogen-fc.com/wp-content/uploads/2009/09/MBE-Configuration.PNG" alt="MBE Configuration" width="638" height="551" /></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.hydrogen-fc.com/modbus-tcp-protocol-between-versamax40-and-ifix-5-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>
