<?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>Engineer and Technician &#187; program</title>
	<atom:link href="http://www.engineer-and-technician.com/tag/program/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.engineer-and-technician.com</link>
	<description>Straight Talk on Modern Industrial Automation and Engineering Technology</description>
	<lastBuildDate>Wed, 23 Mar 2011 17:04:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Know How to Get Back to Where You Started</title>
		<link>http://www.engineer-and-technician.com/know-how-to-get-back-to-where-you-started/</link>
		<comments>http://www.engineer-and-technician.com/know-how-to-get-back-to-where-you-started/#comments</comments>
		<pubDate>Sun, 12 Apr 2009 17:51:59 +0000</pubDate>
		<dc:creator>Neal Babcock</dc:creator>
				<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[plc]]></category>
		<category><![CDATA[plc programming]]></category>
		<category><![CDATA[program]]></category>

		<guid isPermaLink="false">http://engineer-and-technician.com/?p=109</guid>
		<description><![CDATA[Making a given modification may be simple. Remembering what you have changed, and how to restore the PLC to its original state may not be so simple. This is a trap that many programmers fall into. Always Know How To Return A Program To Its Original State. I like to keep a handwritten log of [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-110" title="compass" src="http://engineer-and-technician.com/wp-content/uploads/2009/05/compass.jpg" alt="compass" width="73" height="110" />Making a given modification may be simple. Remembering what you have changed, and how to restore the PLC to its original state may not be so simple.</p>
<p>This is a trap that many programmers fall into.<span id="more-109"></span></p>
<p><strong>Always Know How To Return A Program To Its Original State.</strong></p>
<p>I like to keep a handwritten log of the changes I make anytime I modify an existing program. That way, if things don&#8217;t work out, I can simply retrace my steps and make it just like it was.</p>
<p>Additionally, the program that is running in the PLC should be uploaded from the PLC to the laptop and stored in a safe place; perhaps on a thumb drive that can physically be removed from the computer.</p>
<p>However, downloading a program from your laptop to the PLC to restore the PLC to its original condition is not always ideal. First, you have to make sure you have a fresh version of the program. A program that was uploaded and saved a month ago might have old data. You might inadvertently erase any data that had been collected in the last month.</p>
<p>Also, downloading requires you to take the PLC out of &#8220;Run&#8221; mode and put it in &#8220;Program&#8221; mode. That means the PLC cannot run the equipment during this time. That might be a problem.</p>
<p>When modifying programs on the factory floor, I believe the best method is to simply write down the changes I have made. In most cases, it is much easier to go back and manually undo the mods you have made, as opposed to downloading a copy of the original program.</p>
<p>It is true that some program modifications are relatively simple. Picture this, though; as you are going through the rungs and changing the logic, you get a call regarding another machine that has gone down. Suddenly, your priorities have shifted. You may have to disconnect from this PLC and take your laptop over to the other machine.</p>
<p>When you return to your original task a few hours later, you might not remember where you left off. Simply referring to your notes is the easiest way to get back on track.</p>
<p>Besides, when the job is done and someone asks you what you did, you can easily pull out your notes and show them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.engineer-and-technician.com/know-how-to-get-back-to-where-you-started/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

