![]() ![]() For this example, time increments of 10 seconds, 2 seconds and 8 seconds were used. The first timer is the time duration that the red light will remain on, the second timer corresponds to the yellow light and the third to the green light. On the fourth rung, assign the switches to T4:0/DN and T4:2/TT. ![]() On the third rung, assign the switches to T4:2/DN and T4:1/TT. On the third and fourth rungs, insert one “branch” onto the input of each, with one “Examine if Closed” switches on each line created by them. In the other two lines created by the branches, insert one “Examine if Closed” switch onto each, and assign one to T4:1/DN and the other to T4:0/TT. On the first rung, insert two “branches” to the left side of the rung, and insert one “Examine if Open”, assigned to B3:0/0 into one of those branches. On the three remaining rungs, insert a “Timer On” timer on the right side of each and assign them in descending order as T4:0, T4:1, and T4:2. On the second rung from the top, insert one “Output Energize” to the right side of the rung and designate it to B3:0/0. In descending order, designate the “Output Energizes” to O:0/0, O:0/1, and O:0/2, and the “Examine if Closed” switches to T4:0/TT, T4:1/TT and T4:2/TT. ![]() On the bottom three rungs, insert one “Examine if Closed” switch on the left side and one “Output Energize” on the right side of each of the rungs. Their menus can be opened by double-clicking the name in the drop-down menu on the left side of the screen. O addresses correspond to outputs, B addresses to Binary, and T addresses to Timer. To Program the PLC, begin by creating 7 “rungs” or lines within the program.Īssigning the addresses can be done with the same drag and drop method. The Binary and Output bit addresses for this program are all in the top line of the table, starting at 0 on the right side. DN will be enabled when the timer reaches its preset time. In the timer table, TT refers to "Timer Timing," meaning the bit will be enabled when the timer is timing. The bottom three pictures show the Timer, Output and Binary tables, and where they can be located in the menu on the left side of the screen. ![]() The second command set, directly below the first picture is the timer set, the only command used from this set in this program will be the "TON" or Timer On. The top picture shows the basic commands, the only ones used from this set are the first five. RSLogix uses "Drag and Drop" for placement of its commands and addresses, meaning to insert the command or address, simply click and drag it from the menu to the desired location, then drop it. The other side of each light is then connected to the PLC ports “OUT 0, 1, and 2”. The negative, black wire is connected to the PLC “COM 0 and 1” ports and connected to one side of each light. Then the black wire coming from the power cord is connected to “VAC L2” and “VAC DC5” on the PLC and “N” on the Power Supply.įrom the Power supply the positive, red, wire is connected to the “VAC DC0, 1, 2, 3, and 4” ports on the PLC. To begin, start by connecting the PLC to power with L1, the white wire coming out of the power cord into the “VAC L1” port, and to the “L” Port on the power supply. Always unplug the circuit, disable the circuit breaker and verify that the circuit has been de-energized.įor this application, the full wiring shown in the picture above is not required, only the wiring described below. CAUTION: Never work on a live circuit, the AC line of the power is connected directly to the wall outlet and 110V, enough to kill a human or cause severe electrical burns including damage to internal organs. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |