RSLogix 5. 00 Addressing Tutorial ! In this brief tutorial I’ll walk you through the basics of addressing discrete inputs, outputs, binary bits, timers and counters. You will need RSLogix 5. Micro to be able to test the concepts of this post. If you don’t already have RSLogix 5. Micro yet, you can. Also, if you want an introduction to Ladder Logic before you start, check out this post. You can see that post here. Bits. A bit is computer- speak for a value or register. Discrete inputs and outputs are examples of bits. Understand what a PLC is, where they are used, what common input and output devices are typically wired to them, what different styles and types they come in, and how to find free PLC manuals and documentation Understand the different numeral systems, types. Bits can also be internal coils (internally used in a PLC program but not tied to any real inputs or outputs). In RSLogix 5. 00, the address of the bit can be shown a couple different ways. The default format is. One of my most common questions is, A word sometimes is called an integer or a register. The point is, it is a value that represents 1. The 2 means the input module is in slot 2 of the rack (the third slot from the left).
The 1 means it is channel 1 (the second input channel on that module). NOTE: When programming a Micro. Logix PLC, slot numbers do not apply since all the I/O is built in to the controller. All I/O references use “slot 0” in Micro. Logix project. For example I: 0/1. Output Bits. Here’s an example of an output address: O: 5/0. This is common among all programming languages. Addressing always starts at zero unless otherwise defined. Keep that in mind as we go along. The input address above could be connected to any sort of discrete input device like a toggle switch. The output address could be connected to any discrete output device like a motor starter, or a light bulb. Internal Bits. Internal bits are only used within the PLC program. They do not reference physical inputs or outputs. Internal bits simulate relays within the Ladder Logic. The most basic way to activate an internal bit is to make it an output (OTE) on the right side of the. When this output (OTE) or “relay coil” is activated it will operate the various “contacts” (XIC or XIO instructions) that reference the same bit address anywhere else in the program. Check out this short video on for a quick example of how internal bits can be used in your. In this case, the default file number is 3. Timers. A timer is an instruction that turns on or off bits after a. There are three types of timer instructions: the timer on delay (TON), the timer off delay (TOF) and the retentive on delay (RTO). If you want to learn more about how these timers work, check out my free. In RSLogix 5. 00, file 4 for is used for timers. Referencing a timer address looks like: T4: 0. The T4. Accessing the DN bit of the timer we addressed above will look like T4: 0/DN. The DN bit will turn on when the timer finishes timing out (the accumulator reaches the preset value). The two other commonly used bits in a timer are the enable bit (EN) and the timer- while- timing bit (TT). COUNTERA counter is an instruction that turns on or. There are two different types of counter instructions: The count up (CTU) and the count down (CTD). Again, if you want to learn more about how counters and timers work, check out my free. In RSLogix 5. 00, file 5. Referencing a counter. It is similar to the timer DN bit. When counter finishes counting (the accumulator reaches the preset value) the DN bit is turned on. Accessing the DN bit of the counter. In RSLogix Micro (or 5. VERY SIMPLE one- rung program for a Micro. Logix PLC that turns on output channel 5 of “slot 0” when input channel 1 of of “slot 0” turned on(remember Micro. Logix PLCs only have slot 0 since all the I/O is built into the controller) . You can label the input and output whatever you want (push- button, switch, etc for the input and relay, motor start, light, etc for the output). Once you’ve created it, send me a copy of the RSS file and I will let you know if you did it right!! Email the file to stephen@myplctraining. I encourage you to take advantage of it! Feel free to ask any questions in the comments below or by emailing me at any time. If you haven’t already, be sure to check out my FREE Mini PLC Courseto learn how to download RSLogix Micro and use it so you can put this tutorial to work! Until next time. SDGRelated.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2016
Categories |