<?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; programming with rslogix</title>
	<atom:link href="http://www.engineer-and-technician.com/tag/programming-with-rslogix/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>Connecting to an Allen-Bradley SLC and Going Online</title>
		<link>http://www.engineer-and-technician.com/connecting-to-an-allen-bradley-slc-and-going-online/</link>
		<comments>http://www.engineer-and-technician.com/connecting-to-an-allen-bradley-slc-and-going-online/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 04:29:16 +0000</pubDate>
		<dc:creator>Neal Babcock</dc:creator>
				<category><![CDATA[PLC Programming]]></category>
		<category><![CDATA[allen bradley]]></category>
		<category><![CDATA[plc]]></category>
		<category><![CDATA[plc programming]]></category>
		<category><![CDATA[programming with rslogix]]></category>

		<guid isPermaLink="false">http://engineer-and-technician.com/?p=72</guid>
		<description><![CDATA[I get a lot of questions about going online with a PLC. Here is a section from PLC Programming with RSLogix 500 that covers going online with an SLC 5/03. You have written your program and now you are ready to download, or send, the Batching program to the computer. WARNING There are dangerous voltages [...]]]></description>
			<content:encoded><![CDATA[<p><em>I get a lot of questions about going online with a PLC. Here is a section from <a href="http://engineer-and-technician.com/plc-training/PLC_Programming_with_RSLogix_500.html">PLC Programming with RSLogix 500</a> that covers going online with an SLC 5/03.</em></p>
<hr />You have written your program and now you are ready to download, or send, the Batching program to the computer.<span id="more-72"></span></p>
<p><img class="alignnone size-full wp-image-73" title="warning" src="http://engineer-and-technician.com/wp-content/uploads/2009/05/warning.png" alt="warning" width="42" height="36" /><span style="color: #ff0000;"><strong><br />
WARNING</strong></span><br />
<strong>There are dangerous voltages present on terminals of the PLC. Follow all warnings and instructions from the Allen-Bradley manual for connecting power to the PLC. If you are not familiar with hazards and the potential dangers of these voltages STOP RIGHT NOW. Consult a trained professional who is able to assist you.</strong></p>
<p>First, backup up your original file and put it in a safe place.</p>
<p>Check the serial port settings of your computer in Control Panel. Make sure the baud rate (or bits per second) of your COM port is set as high as possible 57600 should work there.</p>
<p>Allen-Bradley provides a cable to connect the serial port of your computer to the 9-pin serial port on the SLC 500 processor. Connect the cable and turn power on to the PLC.</p>
<p>Turn the key operated switch on the processor to the center position PROG (program).</p>
<p>If you do not have RSLinx installed, you will have to do that now.</p>
<p>After you install RSLinx, you will have to configure it for your computer and your PLC.</p>
<p>To do that,</p>
<p>Choose<br />
Start &gt; Programs &gt; Rockwell Software &gt; RSLinx &gt; RSLinx</p>
<p>In the Notification are of your Taskbar (the lower right of your Windows screen) that looks like this.</p>
<p><img class="alignnone size-full wp-image-74" title="connecting_to_a_plc1" src="http://engineer-and-technician.com/wp-content/uploads/2009/05/connecting_to_a_plc1.png" alt="connecting_to_a_plc1" width="40" height="29" /></p>
<p>The one on the left is the RSLinx Communications Service. The other one is for the RSI Directory Service.</p>
<p>Click on the left one, the RSLinx Communications Service. The RSLinx screen will appear.</p>
<p><img class="alignnone size-full wp-image-75" title="connecting_to_a_plc2" src="http://engineer-and-technician.com/wp-content/uploads/2009/05/connecting_to_a_plc2.png" alt="connecting_to_a_plc2" width="469" height="233" /></p>
<p>Choose</p>
<p>Communications &gt; Configure Drivers</p>
<p>The driver screen appears.</p>
<p><img class="alignnone size-full wp-image-77" title="connecting_to_a_plc3" src="http://engineer-and-technician.com/wp-content/uploads/2009/05/connecting_to_a_plc3.png" alt="connecting_to_a_plc3" width="455" height="269" /></p>
<p>Choose RS-232 DF1 devices from the “Available Driver Types” drop-down menu.</p>
<p>Click “Add New”.</p>
<p><img class="alignnone size-full wp-image-78" title="connecting_to_a_plc4" src="http://engineer-and-technician.com/wp-content/uploads/2009/05/connecting_to_a_plc4.png" alt="connecting_to_a_plc4" width="244" height="98" /></p>
<p>Click “OK”.</p>
<p><img class="alignnone size-full wp-image-79" title="connecting_to_a_plc5" src="http://engineer-and-technician.com/wp-content/uploads/2009/05/connecting_to_a_plc5.png" alt="connecting_to_a_plc5" width="333" height="333" /></p>
<p>You probably have your cable connected to COM1 of your computer. Click “Auto-Configure”.</p>
<p>In the box to the right of the “Auto-Configure” button, you should see a message that says “Auto Configuration Successful”. In addition, the “Device:” box should show “SLC-CH0/Micro/PanelView”.</p>
<p><img class="alignnone size-full wp-image-80" title="connecting_to_a_plc6" src="http://engineer-and-technician.com/wp-content/uploads/2009/05/connecting_to_a_plc6.png" alt="connecting_to_a_plc6" width="333" height="333" /></p>
<p>Click “OK”. You should see a screen like this.</p>
<p><img class="alignnone size-full wp-image-81" title="connecting_to_a_plc7" src="http://engineer-and-technician.com/wp-content/uploads/2009/05/connecting_to_a_plc7.png" alt="connecting_to_a_plc7" width="455" height="269" /></p>
<p>Click “Close”. You may close the RSLinx screen – RSLinx will still run, as indicated by the icon in the Notification area of your taskbar.</p>
<p>Open RSLogix.</p>
<p>Choose Comms &gt; System Comm… from the menu. You will see a screen like this. You may have to maximize the screen and resize the panels to get the right view.</p>
<p><img class="alignnone size-full wp-image-82" title="connecting_to_a_plc8" src="http://engineer-and-technician.com/wp-content/uploads/2009/05/connecting_to_a_plc8.png" alt="connecting_to_a_plc8" width="469" height="242" /></p>
<p>In the explorer panel on the left, click on the “+” next to “AB_DF1-1, DH-485”. You should see animation in the icon, as the tiny blue square moves around the little network symbol. The computer icon for address 00 indicates your computer. The icon for address 01 indicated the PLC. In our case, it is an SLC-5/03.</p>
<p><img class="alignnone size-full wp-image-83" title="connecting_to_a_plc9" src="http://engineer-and-technician.com/wp-content/uploads/2009/05/connecting_to_a_plc9.png" alt="connecting_to_a_plc9" width="469" height="242" /></p>
<p>Select the SLC in the left window and click “OK”. The communications window will close.</p>
<p>In the RSLogix 500 main screen, choose File. Select your program from the Recent File List (it is probably 1).</p>
<p>Choose “Controller Properties” from the Project tree. Click on the “Controller Communications” tab.</p>
<p><img class="alignnone size-full wp-image-84" title="connecting_to_a_plc10" src="http://engineer-and-technician.com/wp-content/uploads/2009/05/connecting_to_a_plc10.png" alt="connecting_to_a_plc10" width="350" height="257" /></p>
<p>Click on the “Driver” dropdown box and select “AB_DF-1-1”.</p>
<p><img class="alignnone size-full wp-image-85" title="connecting_to_a_plc11" src="http://engineer-and-technician.com/wp-content/uploads/2009/05/connecting_to_a_plc11.png" alt="connecting_to_a_plc11" width="350" height="257" /></p>
<p>Click “Apply” then “OK”.</p>
<p>Choose Comms &gt; Download</p>
<p>You should get a screen similar to this.</p>
<p><img class="alignnone size-full wp-image-86" title="connecting_to_a_plc12" src="http://engineer-and-technician.com/wp-content/uploads/2009/05/connecting_to_a_plc12.png" alt="connecting_to_a_plc12" width="407" height="192" /></p>
<p>Choose “Yes”.</p>
<p>The program will begin downloading.</p>
<p><img class="alignnone size-full wp-image-87" title="connecting_to_a_plc13" src="http://engineer-and-technician.com/wp-content/uploads/2009/05/connecting_to_a_plc13.png" alt="connecting_to_a_plc13" width="251" height="105" /></p>
<p>Since we are downloading a new configuration, this screen will appear.</p>
<p><img class="alignnone size-full wp-image-88" title="connecting_to_a_plc14" src="http://engineer-and-technician.com/wp-content/uploads/2009/05/connecting_to_a_plc14.png" alt="connecting_to_a_plc14" width="304" height="208" /></p>
<p>Choose “Apply”. The program is now in the PLC.</p>
<p>Sometimes it is necessary to cycle power on your computer. Making the first connection to a PLC can be tricky. Prepare yourself by having the phone number for your Rockwell rep handy.</p>
<p>If things go well, you may be able to go online right away.</p>
<p>Choose Comms &gt; Go Online</p>
<p><img class="alignnone size-full wp-image-89" title="connecting_to_a_plc15" src="http://engineer-and-technician.com/wp-content/uploads/2009/05/connecting_to_a_plc15.png" alt="connecting_to_a_plc15" width="464" height="293" /></p>
<p>Choose “Browse” and find the folder where you file is located. Click “OK”.</p>
<p>The file name will show in the bottom box. Click on it to select it, then click “Upload Use File”.</p>
<p><img class="alignnone size-full wp-image-90" title="connecting_to_a_plc16" src="http://engineer-and-technician.com/wp-content/uploads/2009/05/connecting_to_a_plc16.png" alt="connecting_to_a_plc16" width="251" height="105" /></p>
<p>You may need to change the Baud Rate of the PLC. Click “Channel Configuration” in the Project tree and click on the “Chan. 0 – System” tab. Choose “19200” from the Baud dropdown menu. Click “Apply” and “OK”.</p>
<p><img class="alignnone size-full wp-image-91" title="connecting_to_a_plc17" src="http://engineer-and-technician.com/wp-content/uploads/2009/05/connecting_to_a_plc17.png" alt="connecting_to_a_plc17" width="395" height="379" /></p>
<p><em><strong><span style="color: #ff0000;">Tip:</span></strong> In Allen-Bradley PLC vernacular, <strong>upload</strong> means get the program from the PLC and load it in RSLogix on your computer.</em></p>
<p><em><strong>Download</strong> means send the program from RSLogix on your computer to the PLC.</em></p>
<p>You will now see a screen like this. Notice that the ladder icon is animated to indicate you are online.</p>
<p><img class="alignnone size-full wp-image-92" title="connecting_to_a_plc18" src="http://engineer-and-technician.com/wp-content/uploads/2009/05/connecting_to_a_plc18.png" alt="connecting_to_a_plc18" width="469" height="418" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.engineer-and-technician.com/connecting-to-an-allen-bradley-slc-and-going-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

