WIRE THE MOTOR STOP SIGNALS NORMALLY CLOSED AND USE A NORMALLY OPEN SYMBOLS IN THE PLC. So for any PLC input that is intended to stop the motor we need to.… So if there is no change in state, we cannot tell the motor to stop in our ladder logic program. It stays FALSE, even if the stop button is pressed, because there is an open circuit in the connection to the PLC input. However, if we wire the stop PLC inputs as normally open (NO) and a failure occurs then the state of the PLC input does not change. Wiring the stop push button normally closed (NC) is done because when a failure occurs in the PLC input circuit it will, more often than not, lead to an open circuit which changes the state of the PLC input from TRUE to FALSE. The most common failures are wire break, device failure or PLC input failure. In fact the rule of thumb is that any device that is required to stop the motor should be wired normally closed (NC), to make it “fail safe”. If Output Y is FALSE then it stays FALSE…. When both Input A and Input B are FALSE then the state of Output Y does not change. Remember Allen Bradley PLC’s use Latch and Unlatch symbols. Let’s start with the Set (Latch) and Reset (Unlatch) logic. Ladder Logic Latch with SET & RESET Symbols A great example of a device that can provide a momentary pulse to a PLC input is a push button. The inputs that set and reset the latch are usually momentary pulses. Latching in a PLC requires at least one input to set the latch (Input A), one input to reset the latch (Input B) and one output to store the latch state (Output Y). Sometimes it just comes to personal preference. Simple applications requiring a latch are well suited to use latching logic.īut when it comes to more complex applications the use of Set (Latch) and Reset (Unlatch) symbols may be required. The disadvantage is that there is some inflexibility in programming because latching logic requires all the symbols to be on the same rung and may even overflow to the next rung. The advantage of latching logic is that troubleshooting is easier because the symbols used are all in the same rung. Latching logic: Quite often “latching logic” is referred to as “hold in logic”.The disadvantage is that debugging can become more difficult because the Set (Latch) and Reset (Unlatch) symbols may be scattered throughout the program. Advantages include flexibility in programming because the Set (Latch) and Reset (Unlatch) symbols do not need to be in the same rung. These instructions simulate the function of an electro-mechanical latching relay. Set and Reset instructions: In an Allen Bradley PLC they are called Latch and Unlatch instructions.A momentary pulse can be used for the inputs. The output is unlatched (reset to FALSE) with the other input. The output is latched (set TRUE) with one of the inputs. Latching in a PLC refers to ladder logic code that simulates the operation of a latching relay. Latching is one of the most important pieces of ladder logic programming that you’ll ever use. Let’s take a look at some very simple, but extremely important ladder logic programming examples… Latching in a PLC So by creating ladder logic programming examples we can speed up or overall programming time.Ĭonstructing a program is then a simple matter of grabbing the appropriate ladder logic programming examples and connecting them in an orderly fashion. Experience tells us that once a piece of ladder logic is created that accomplished a specific task it can be re-used in other areas of the program and in other applications as well.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |