<?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; Ladder Logic</title>
	<atom:link href="http://www.engineer-and-technician.com/category/ladder-logic/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>Tue, 16 Mar 2010 13:23:50 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Equivalent Logic in PLC Programming</title>
		<link>http://www.engineer-and-technician.com/equivalent-logic/</link>
		<comments>http://www.engineer-and-technician.com/equivalent-logic/#comments</comments>
		<pubDate>Sat, 31 Jan 2009 01:00:48 +0000</pubDate>
		<dc:creator>Neal Babcock</dc:creator>
				<category><![CDATA[Ladder Logic]]></category>
		<category><![CDATA[PLC Programming]]></category>
		<category><![CDATA[plc programming]]></category>

		<guid isPermaLink="false">http://engineer-and-technician.com/?p=34</guid>
		<description><![CDATA[If you understand basic electrical diagrams, it is much easier to understand ladder logic.
In fact, that was the whole idea behind ladder logic. It was supposed to look, and work, like real electrical circuits
Excerpted from “The Beginner’s Guide to PLC Programming”
In its elementary form, PLC logic is very similar to the hard-wired logic you would [...]


Related posts:<ol><li><a href='http://www.engineer-and-technician.com/ladder-logic/' rel='bookmark' title='Permanent Link: Ladder Logic and the Dialect of PLCs'>Ladder Logic and the Dialect of PLCs</a></li>
<li><a href='http://www.engineer-and-technician.com/conveyor/' rel='bookmark' title='Permanent Link: RSLogix 5000 “Serial” Logic'>RSLogix 5000 “Serial” Logic</a></li>
<li><a href='http://www.engineer-and-technician.com/rslogix-500-addressing/' rel='bookmark' title='Permanent Link: RSLogix 500 Addressing in an Allen-Bradley PLC'>RSLogix 500 Addressing in an Allen-Bradley PLC</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If you understand basic electrical diagrams, it is much easier to understand ladder logic.</p>
<p>In fact, that was the whole idea behind ladder logic. It was supposed to look, and work, like real electrical circuits<span id="more-34"></span></p>
<p><em>Excerpted from <a href="http://engineer-and-technician.com/plc-training/Beginner_Guide_to_PLC_Programming.html">“The Beginner’s Guide to PLC Programming”</a></em></p>
<p>In its elementary form, PLC logic is very similar to the hard-wired logic you would find in an electrical ladder diagram.</p>
<p>For example, if you wanted to turn on a light with a momentary pushbutton, you would wire it like the circuit below.</p>
<p><img class="alignnone size-full wp-image-36" title="equivalent_logic_11" src="http://engineer-and-technician.com/wp-content/uploads/2009/04/equivalent_logic_11.png" alt="equivalent_logic_11" width="433" height="81" /></p>
<p>When you press PB1, the pilot light PL1 lights up.</p>
<p><img class="alignnone size-full wp-image-37" title="equivalent_logic_2" src="http://engineer-and-technician.com/wp-content/uploads/2009/04/equivalent_logic_2.png" alt="equivalent_logic_2" width="433" height="81" /></p>
<p>Now let&#8217;s do the same thing in a PLC. To duplicate the hardwired circuit on a PLC, you would wire the switch PB1 to an input and wire the light PL1 to an output. Each PLC manufacturer gives you the details of wiring their particular modules. The I/O (hardwired inputs and outputs) is set up like this:</p>
<p>- There is a “PB1” pushbutton switch wired to INPUT1 of the PLC.<br />
- There is a “PL1” pilot light wired to OUTPUT1 of the PLC.</p>
<p><img class="alignnone size-full wp-image-41" title="equivalent_logic_3" src="http://engineer-and-technician.com/wp-content/uploads/2009/04/equivalent_logic_3.jpg" alt="equivalent_logic_3" width="532" height="79" /></p>
<p>Now let’s examine the sequence of events. When you first turn on the PLC, the PB1 pushbutton is off, or false.  Therefore, the PL1 output is off. Pressing PB1 will make INPUT1 true, OUTPUT1 will come on and the light will be energized. It will stay on only as long as you hold the button in. Just like electrical current has to flow through the switch to turn on the light in the hardwired circuit, the logic has to &#8220;flow&#8221; through the normally open instruction (which is closed when you press the switch) of INPUT1 to energize the output that turns on PL1.</p>
<p>The programming terminal display will look something like this as you hold in PB1. The yellow highlight indicates the bit, or address, is “on” or “true”.</p>
<p><img class="alignnone size-full wp-image-42" title="equivalent_logic_4" src="http://engineer-and-technician.com/wp-content/uploads/2009/04/equivalent_logic_4.jpg" alt="equivalent_logic_4" width="533" height="74" /></p>


<p>Related posts:<ol><li><a href='http://www.engineer-and-technician.com/ladder-logic/' rel='bookmark' title='Permanent Link: Ladder Logic and the Dialect of PLCs'>Ladder Logic and the Dialect of PLCs</a></li>
<li><a href='http://www.engineer-and-technician.com/conveyor/' rel='bookmark' title='Permanent Link: RSLogix 5000 “Serial” Logic'>RSLogix 5000 “Serial” Logic</a></li>
<li><a href='http://www.engineer-and-technician.com/rslogix-500-addressing/' rel='bookmark' title='Permanent Link: RSLogix 500 Addressing in an Allen-Bradley PLC'>RSLogix 500 Addressing in an Allen-Bradley PLC</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.engineer-and-technician.com/equivalent-logic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RSLogix 500 Addressing in an Allen-Bradley PLC</title>
		<link>http://www.engineer-and-technician.com/rslogix-500-addressing/</link>
		<comments>http://www.engineer-and-technician.com/rslogix-500-addressing/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 01:41:33 +0000</pubDate>
		<dc:creator>Neal Babcock</dc:creator>
				<category><![CDATA[Ladder Logic]]></category>
		<category><![CDATA[PLC Programming]]></category>
		<category><![CDATA[instruction]]></category>
		<category><![CDATA[output]]></category>
		<category><![CDATA[plc]]></category>
		<category><![CDATA[plc programming]]></category>

		<guid isPermaLink="false">http://engineer-and-technician.com/?p=61</guid>
		<description><![CDATA[There are a number of addressing schemes used by PLC manufacturers. Let&#8217;s take a quick look at how memory locations (including hardware I/O) are accessed with RSLogix 500. Along the way, I will define some terms.
INSTRUCTION – RSLogix’s command language is comprised of “instructions”. An XIC (it looks like a normally open contact &#8211;] [-- [...]


Related posts:<ol><li><a href='http://www.engineer-and-technician.com/addressing-in-rslogix-5000/' rel='bookmark' title='Permanent Link: Addressing in RSLogix 5000'>Addressing in RSLogix 5000</a></li>
<li><a href='http://www.engineer-and-technician.com/ladder-logic/' rel='bookmark' title='Permanent Link: Ladder Logic and the Dialect of PLCs'>Ladder Logic and the Dialect of PLCs</a></li>
<li><a href='http://www.engineer-and-technician.com/connecting-to-an-allen-bradley-slc-and-going-online/' rel='bookmark' title='Permanent Link: Connecting to an Allen-Bradley SLC and Going Online'>Connecting to an Allen-Bradley SLC and Going Online</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>There are a number of addressing schemes used by PLC manufacturers. Let&#8217;s take a quick look at how memory locations (including hardware I/O) are accessed with RSLogix 500. Along the way, I will define some terms.<span id="more-61"></span></p>
<p><strong>INSTRUCTION</strong> – RSLogix’s command language is comprised of “instructions”. An XIC (it looks like a normally open contact &#8211;] [-- ) is an instruction. A timer is an instruction. A few of the most common instructions are described below.</p>
<p><strong>BIT</strong> - an address within the PLC. It can be an input, output or internal coil, among others.</p>
<p>In RSLogix, there are a couple of ways to show the address of a bit. The default is:</p>
<p><strong>[type]:[word]/[bit]</strong></p>
<p>For example, an address that references an output of an SLC 500 is O:5/0. That is:</p>
<p><strong>O</strong>:5/0 means that it is a physical output.<br />
O:<strong>5</strong>/0 means that it uses Slot 5 (the 6th physical slot) in the rack.<br />
O:5/<strong>0</strong> means that it is the first output on the card.</p>
<p>Remember that the first slot in an SLC 500 rack is Slot 0. That means a card that is installed in the 6th physical slot is addressed as Slot 5.</p>
<p>Allen-Bradley PLC slots, like many computers, always start with 0.</p>
<p>By the way, don’t get the capital “O’s” confused with zeroes.</p>
<p><strong>RUNG</strong> &#8211; A section of the PLC ladder program that terminates in an output function of some type. Just like in an electrical ladder diagram, a rung has some type of output that is turned on or turned off by the preceding entities in the rung. The first rung in a ladder program is always 0000.</p>
<p><strong>HARDWIRED INPUT</strong> &#8211; a physical connection to the PLC from an input device (switch or sensor, etc.).</p>
<p>Allen-Bradley uses the capital letter “I” to designate a hardwired input. An address that describes an input on an SLC 500 is I:4/0.</p>
<p>Similar to the output structure,</p>
<p><strong>I</strong>:4/0 means that it is a physical input.<br />
I:<strong>4</strong>/0 means that it uses Slot 4 (the 5th slot in the rack).<br />
I:4/<strong>0</strong> means that it is the first input on the card.</p>
<p>Don’t get the capital “I’s” confused with ones.</p>
<p><strong>HARDWIRED OUTPUT</strong> &#8211; a physical connection from the PLC to an output device (relay or pilot light, etc.) As was said above, an address that references an output of an SLC 500 is O:5/0.</p>
<p><strong>INTERNAL COIL </strong><br />
This is a programmable bit used to simulate a relay within the PLC. The internal coil has no connection to the outside world. It does not connect to an output card. Internal coils are used to store information. The “contacts” of this “relay” can then be used multiple times in other parts of the program.</p>
<p>In RSLogix, the “B3” (binary) file is commonly used for all the internal coils. There are many other words in other files that have bits you can use as internal coils, but we are going to stick with the B3 file for our application.</p>
<p><strong>B3</strong>:0/0 means that it references an internal Binary file<br />
B3:<strong>0</strong>/0 means that it uses the first word in the table<br />
B3:0/<strong>0</strong> means that it is the first bit in the word.</p>
<p>Note that, unlike the Output and Input files, you have to use the file number in the address. In this case, the default file number is 3.</p>
<p><strong>TIMER</strong><br />
A timer is a programmable instruction that lets you turn on or turn off bits after a preset time.</p>
<p>The two primary types of timers are TON for “timer on delay” and TOF for “timer off delay”.</p>
<p>Timers in A-B SLC and MicroLogix processors use file 4 for their timers.</p>
<p><strong>T4</strong>:0 means that it references an internal Timer file<br />
T4:<strong>0</strong> means that it uses the first timer in the table</p>
<p>The address T4:0 simply refers to the timer. Each timer has bits that turn on after the timing function is complete. You can address this bit by simply putting a “/DN” after the timer address. DN stands for “done”.</p>
<p>For example, if timer T4:0 is a TON (timer on delay), then the bit T4:0/DN will turn on after the timer has reached its preset value.</p>
<p><strong>COUNTER</strong><br />
A counter is a programmable instruction that lets you turn on or turn off bits after a preset count has been reached.</p>
<p>There are different types of counters available in the RSLogix, but the CTU (counter up) instruction covers everything we will talk about here.</p>
<p>Counters in A-B SLC and MicroLogix processors use file 5.</p>
<p><strong>C5</strong>:0 means that it references an internal Counter file<br />
C5:<strong>0</strong> means that it uses the first counter in the table</p>
<p>The address C5:0 simply refers to the counter. Each counter has bits that turn on after the counting function is complete. You can address this bit by simply putting a “/DN” after the counter address. DN stands for “done”.</p>
<p>For example, if counter C5:0 is a CTU (counter up), then the bit C5:0/DN will turn on after the counter has reached its preset value.</p>
<p><strong>&#8211;] [--    Normally Open Contact</strong><br />
When used with a hardwired input, this instruction is off until there is a voltage applied to the input. The bit address then goes high, or on, and the instruction becomes “true.” It works the same way when it has the same address as an internal coil, except that the coil must be turned on by logic in the program.</p>
<p>Allen-Bradley calls these normally open contacts “XIC”, or “eXamine If Closed” instruction.</p>
<p>An XIC instruction can reference a hardwired input, a hardwired output, an internal coil or a timer done bit, among others.</p>
<p><strong>--]/[&#8211;    Normally Closed Contact</strong><br />
This is an inverted normally open contact.</p>
<p>When used with a hardwired input, this instruction is &#8220;true&#8221; until there is a voltage applied to the input. It then goes low, or off, and becomes “false.”</p>
<p>It also can be used with an internal coil, becoming true when the coil is off and becoming false when the coil is on.</p>
<p>Allen-Bradley calls these normally closed contacts “XIO”, or “eXamine If Open” instructions.</p>
<p><strong>-( )-    Output Coil</strong><br />
When used with a hardwired output, this function is off until the logic in the program allows it to turn on. It then becomes “true”, and will energize the device that is wired to the respective output.</p>
<p>If it is used as an internal coil, it will toggle the instructions associated with it. That is, it will close a normally open instruction and open a normally closed instruction.</p>
<p>Allen-Bradley calls these outputs “OTE”, or “OutpuT Energize”.</p>
<p>An OTE may be used with a hardwired output or an internal coil.</p>
<p><strong>TRUE</strong> &#8211; A state that indicates an instruction is allowing logic to “flow” through it.</p>
<p>Also, if the logic in a rung turns on the output of the rung, then the rung is said to be true.</p>
<p><strong>FALSE</strong> &#8211; Without stating the obvious, this is the opposite of true.</p>
<p><em>Excerpted from <a href="http://engineer-and-technician.com/plc-training/PLC_Programming_with_RSLogix_500.html">PLC Programming with RSLogix 500</a></em></p>


<p>Related posts:<ol><li><a href='http://www.engineer-and-technician.com/addressing-in-rslogix-5000/' rel='bookmark' title='Permanent Link: Addressing in RSLogix 5000'>Addressing in RSLogix 5000</a></li>
<li><a href='http://www.engineer-and-technician.com/ladder-logic/' rel='bookmark' title='Permanent Link: Ladder Logic and the Dialect of PLCs'>Ladder Logic and the Dialect of PLCs</a></li>
<li><a href='http://www.engineer-and-technician.com/connecting-to-an-allen-bradley-slc-and-going-online/' rel='bookmark' title='Permanent Link: Connecting to an Allen-Bradley SLC and Going Online'>Connecting to an Allen-Bradley SLC and Going Online</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.engineer-and-technician.com/rslogix-500-addressing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RSLogix 5000 “Serial” Logic</title>
		<link>http://www.engineer-and-technician.com/conveyor/</link>
		<comments>http://www.engineer-and-technician.com/conveyor/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 21:21:15 +0000</pubDate>
		<dc:creator>Neal Babcock</dc:creator>
				<category><![CDATA[Ladder Logic]]></category>
		<category><![CDATA[PLC Programming]]></category>
		<category><![CDATA[logic]]></category>
		<category><![CDATA[plc programming]]></category>
		<category><![CDATA[rslogix]]></category>
		<category><![CDATA[rslogix 5000]]></category>

		<guid isPermaLink="false">http://engineer-and-technician.com/?p=14</guid>
		<description><![CDATA[
RSLogix 5000 allows the use of “serial” logic that does not conform to traditional, electrical ladder logic.
For example, both of the rungs shown below are valid in RSLogix 5000.


Clearly, the second version would not work if wired that way in an equivalent electrical circuit. It would not be allowed in RSLogix 500, either.
The main advantage, [...]


Related posts:<ol><li><a href='http://www.engineer-and-technician.com/addressing-in-rslogix-5000/' rel='bookmark' title='Permanent Link: Addressing in RSLogix 5000'>Addressing in RSLogix 5000</a></li>
<li><a href='http://www.engineer-and-technician.com/troubleshooting-with-rslogix-5000/' rel='bookmark' title='Permanent Link: Troubleshooting A PLC With RSLogix 5000'>Troubleshooting A PLC With RSLogix 5000</a></li>
<li><a href='http://www.engineer-and-technician.com/equivalent-logic/' rel='bookmark' title='Permanent Link: Equivalent Logic in PLC Programming'>Equivalent Logic in PLC Programming</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-13" title="rslogix-plc-conveyor" src="http://engineer-and-technician.com/wp-content/uploads/2009/04/rslogix-plc-conveyor.jpg" alt="rslogix-plc-conveyor" width="588" height="252" /></p>
<p>RSLogix 5000 allows the use of “serial” logic that does not conform to traditional, electrical ladder logic.</p>
<p>For example, both of the rungs shown below are valid in RSLogix 5000.<span id="more-14"></span></p>
<p><img class="alignnone size-full wp-image-135" title="rslogix_5000_tips-1" src="http://engineer-and-technician.com/wp-content/uploads/2009/04/rslogix_5000_tips-1.png" alt="rslogix_5000_tips-1" width="469" height="126" /><br />
<img class="alignnone size-full wp-image-136" title="rslogix_5000_tips-2" src="http://engineer-and-technician.com/wp-content/uploads/2009/04/rslogix_5000_tips-2.png" alt="rslogix_5000_tips-2" width="470" height="98" /><br />
Clearly, the second version would not work if wired that way in an equivalent electrical circuit. It would not be allowed in RSLogix 500, either.</p>
<p>The main advantage, in my opinion, to writing the code as it is shown in the second version is that you can get more instructions on the screen, and that involves less scrolling. And, the logic is slightly different; if something turns off the “SystemReady” bit somewhere else in the program, PL1 would not come on.</p>
<p>The main disadvantage, in my experience, is that the second version will drive electricians and maintenance people crazy, if they are not familiar with RSLogix 5000. Their managers will most likely request that you re-write the rung in “traditional” ladder logic.</p>


<p>Related posts:<ol><li><a href='http://www.engineer-and-technician.com/addressing-in-rslogix-5000/' rel='bookmark' title='Permanent Link: Addressing in RSLogix 5000'>Addressing in RSLogix 5000</a></li>
<li><a href='http://www.engineer-and-technician.com/troubleshooting-with-rslogix-5000/' rel='bookmark' title='Permanent Link: Troubleshooting A PLC With RSLogix 5000'>Troubleshooting A PLC With RSLogix 5000</a></li>
<li><a href='http://www.engineer-and-technician.com/equivalent-logic/' rel='bookmark' title='Permanent Link: Equivalent Logic in PLC Programming'>Equivalent Logic in PLC Programming</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.engineer-and-technician.com/conveyor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up the Analog Input Card in RSLogix 5000</title>
		<link>http://www.engineer-and-technician.com/setting-up-the-analog-input-card-in-rslogix-5000/</link>
		<comments>http://www.engineer-and-technician.com/setting-up-the-analog-input-card-in-rslogix-5000/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 20:24:01 +0000</pubDate>
		<dc:creator>Neal Babcock</dc:creator>
				<category><![CDATA[Ladder Logic]]></category>
		<category><![CDATA[PLC Programming]]></category>
		<category><![CDATA[plc programming]]></category>
		<category><![CDATA[rslogix]]></category>
		<category><![CDATA[rslogix 5000]]></category>

		<guid isPermaLink="false">http://engineer-and-technician.com/?p=131</guid>
		<description><![CDATA[Let&#8217;s assume that the output of our scales has been calibrated for 0-10 VDC. Zero volts equals 0 pounds, and 10 volts equals 2000 pounds.
Now we know the signal type is DC voltage, the range is 0-10 and the engineering units are pounds.
Right-click on the 1756-IF8 card in the Controller Organizer and choose &#8220;Properties&#8221;. Click [...]


Related posts:<ol><li><a href='http://www.engineer-and-technician.com/setting-up-an-scp-in-rslogix-500/' rel='bookmark' title='Permanent Link: Setting up an SCP in RSLogix 500'>Setting up an SCP in RSLogix 500</a></li>
<li><a href='http://www.engineer-and-technician.com/troubleshooting-with-rslogix-5000/' rel='bookmark' title='Permanent Link: Troubleshooting A PLC With RSLogix 5000'>Troubleshooting A PLC With RSLogix 5000</a></li>
<li><a href='http://www.engineer-and-technician.com/addressing-in-rslogix-5000/' rel='bookmark' title='Permanent Link: Addressing in RSLogix 5000'>Addressing in RSLogix 5000</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s assume that the output of our scales has been calibrated for 0-10 VDC. Zero volts equals 0 pounds, and 10 volts equals 2000 pounds.</p>
<p>Now we know the signal type is DC voltage, the range is 0-10 and the engineering units are pounds.<span id="more-131"></span></p>
<p>Right-click on the 1756-IF8 card in the Controller Organizer and choose &#8220;Properties&#8221;. Click on the &#8220;Configuration&#8221; tab and you will see this.</p>
<p><img class="alignnone size-full wp-image-132" title="analog_input_card_rslogix-1" src="http://engineer-and-technician.com/wp-content/uploads/2009/05/analog_input_card_rslogix-1.png" alt="analog_input_card_rslogix-1" width="469" height="335" /><br />
You&#8217;ll see that Channel 0, which is our Scales channel, is selected.</p>
<p>Click on the dropdown menu for &#8220;Input Range&#8221; and select &#8220;0V to 10V&#8221;.</p>
<p>Change the &#8220;Low Signal&#8221; field to 0.</p>
<p>Change the &#8220;High Engineering&#8221; field to 2000.</p>
<p>Change the &#8220;Low Engineering&#8221; field to 0.</p>
<p>That is all we really need to do. However, we are going to take advantage of the fact that there is a filter available. This filter smoothes input transitions.</p>
<p>Set the &#8220;Digital Filter&#8221; field to 1000 ms.</p>
<p>Click &#8220;Apply&#8221; and we are done with the scales.<br />
<img class="alignnone size-full wp-image-133" title="analog_input_card_rslogix-2" src="http://engineer-and-technician.com/wp-content/uploads/2009/05/analog_input_card_rslogix-2.png" alt="analog_input_card_rslogix-2" width="469" height="335" /></p>


<p>Related posts:<ol><li><a href='http://www.engineer-and-technician.com/setting-up-an-scp-in-rslogix-500/' rel='bookmark' title='Permanent Link: Setting up an SCP in RSLogix 500'>Setting up an SCP in RSLogix 500</a></li>
<li><a href='http://www.engineer-and-technician.com/troubleshooting-with-rslogix-5000/' rel='bookmark' title='Permanent Link: Troubleshooting A PLC With RSLogix 5000'>Troubleshooting A PLC With RSLogix 5000</a></li>
<li><a href='http://www.engineer-and-technician.com/addressing-in-rslogix-5000/' rel='bookmark' title='Permanent Link: Addressing in RSLogix 5000'>Addressing in RSLogix 5000</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.engineer-and-technician.com/setting-up-the-analog-input-card-in-rslogix-5000/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ladder Logic and the Dialect of PLCs</title>
		<link>http://www.engineer-and-technician.com/ladder-logic/</link>
		<comments>http://www.engineer-and-technician.com/ladder-logic/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 19:50:04 +0000</pubDate>
		<dc:creator>Neal Babcock</dc:creator>
				<category><![CDATA[Ladder Logic]]></category>
		<category><![CDATA[PLC Programming]]></category>
		<category><![CDATA[internal coil]]></category>
		<category><![CDATA[plc]]></category>
		<category><![CDATA[plc programming]]></category>

		<guid isPermaLink="false">http://engineer-and-technician.com/?p=3</guid>
		<description><![CDATA[
Ladder logic is a programming language, like Visual Basic or C. When you learn any language, it is always important to understand the basic terms.
If you are just getting started, here are a few terms you should know. These apply to any PLC.
Excerpted from &#8220;The Beginner&#8217;s Guide to PLC Programming&#8221;
BIT &#8211; an address within the [...]


Related posts:<ol><li><a href='http://www.engineer-and-technician.com/rslogix-500-addressing/' rel='bookmark' title='Permanent Link: RSLogix 500 Addressing in an Allen-Bradley PLC'>RSLogix 500 Addressing in an Allen-Bradley PLC</a></li>
<li><a href='http://www.engineer-and-technician.com/addressing-in-rslogix-5000/' rel='bookmark' title='Permanent Link: Addressing in RSLogix 5000'>Addressing in RSLogix 5000</a></li>
<li><a href='http://www.engineer-and-technician.com/equivalent-logic/' rel='bookmark' title='Permanent Link: Equivalent Logic in PLC Programming'>Equivalent Logic in PLC Programming</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-6" title="rockwell-welding-robots" src="http://engineer-and-technician.com/wp-content/uploads/2009/04/rockwell-welding-robots.jpg" alt="rockwell-welding-robots" width="588" height="252" /></p>
<p>Ladder logic is a programming language, like Visual Basic or C. When you learn any language, it is always important to understand the basic terms.</p>
<p>If you are just getting started, here are a few terms you should know. These apply to any PLC.<span id="more-3"></span></p>
<p><em>Excerpted from <a href="http://engineer-and-technician.com/plc-training/Beginner_Guide_to_PLC_Programming.html">&#8220;The Beginner&#8217;s Guide to PLC Programming&#8221;</a></em></p>
<p><strong>BIT</strong> &#8211; an address within the PLC. It can be an input, output or internal coil, among others.</p>
<p><strong>RUNG</strong> &#8211; A section of the PLC ladder program that terminates in an output function of some type.</p>
<p><strong>HARDWIRED INPUT</strong> &#8211; a physical connection to the PLC from an input device (switch or sensor, etc.)</p>
<p><strong>HARDWIRED OUTPUT</strong> &#8211; a physical connection from the PLC to an output device (relay or pilot light, etc.)</p>
<p><strong>INTERNAL COIL</strong><br />
This is a programmable bit used to simulate a relay within the PLC. The internal coil has no connection to the outside world. It does not connect to an output card. Internal coils are used to store information. The “contacts” of this “relay” can then be used multiple times in other parts of the program.</p>
<p><strong>&#8211;] [--    Normally Open Contact</strong><br />
When used with a hardwired input, this instruction is off until there is a voltage applied to the input. The bit address then goes high, or on, and the instruction becomes “true.” It works the same way when it has the same address as an internal coil, except that the coil must be turned on by logic in the program.</p>
<p><strong>--]/[&#8211;    Normally Closed Contact</strong><br />
This is an inverted normally open contact. When used with a hardwired input, this instruction is &#8220;true&#8221; until there is a voltage applied to the input. It then goes low, or off, and becomes “false.” It also can be used with an internal coil, becoming true when the coil is off and becoming false when the coil is on.</p>
<p><strong>-(  )-    Output Coil</strong><br />
When used with a hardwired output, this function is off until the logic in the program allows it to turn on. It then becomes “true”, and will energize the device that is wired to the respective output. If it is used as an internal coil, it will toggle the instructions associated with it. That is, it will close a normally open instruction and open a normally closed instruction.</p>
<p><strong>+&#8212;&#8212;&#8212;&#8211;+<br />
TIMER        |<br />
+&#8211; SEC &#8212;+    Timer</strong><br />
This function is used to supply a programmable delay. It requires the use of its &#8220;timer finished&#8221; bit, like a time delay relay uses its contact.</p>
<p><strong>+&#8212;&#8212;&#8212;&#8212;+<br />
COUNTER    |<br />
+&#8212; 000 &#8212;+  Counter</strong><br />
The counter function is used to count events. It could be used to keep track of machine cycles, count parts, etc. It can be programmed with a preset value that triggers another event when the count is reached.</p>


<p>Related posts:<ol><li><a href='http://www.engineer-and-technician.com/rslogix-500-addressing/' rel='bookmark' title='Permanent Link: RSLogix 500 Addressing in an Allen-Bradley PLC'>RSLogix 500 Addressing in an Allen-Bradley PLC</a></li>
<li><a href='http://www.engineer-and-technician.com/addressing-in-rslogix-5000/' rel='bookmark' title='Permanent Link: Addressing in RSLogix 5000'>Addressing in RSLogix 5000</a></li>
<li><a href='http://www.engineer-and-technician.com/equivalent-logic/' rel='bookmark' title='Permanent Link: Equivalent Logic in PLC Programming'>Equivalent Logic in PLC Programming</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.engineer-and-technician.com/ladder-logic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
