Search for question
Question

EST 3543: Programmable Logic Applications and Device Integration Lab Assignment #5 A) Conveyor Operation: Motor: The operation of the conveyor motor is controlled by a signal applied to its relay. The Motor will be energized when its relay receives a signal (the conveyor relay can also be switched from normally-open to normally-closed operation so that the Motor is de- energized when its relay receives a signal). The conveyor motor relay is connected to bit 0 of the Output module or O:0/0. Limit Switch: The Conveyor is installed with a limit switch to detect when parts arrive at the end of the belt. It is configured as a Normally-Open Limit Switch and connected to bit 0 of the Input module or 1:0/0. B) RSLogix Lab Assignment: Create a Program: Open RSLogix from the Windows Programs Menu by going to the Rockwell Software folder. From the File menu, choose New. The Select Processor Type dialog window appears. Choose the MicroLogix 1100 (Bul. 1763) processor (Series A if available). Name the processor LAB5_FML. Where FML are your first name, middle name, and last name initials respectively. In the Communications Settings section of the dialog window select the ‘AB_ETHIP-1' driver (if available). Click OK to create the program. Once the program file is created, you will see the Program Organizer pane on your left. The default configuration contains a three Program Files: SYS 0, SYS 1, LAD 2. Select LAD 2 to display the main ladder logic routine on the Main Window. Save your program in a new folder within My Documents. The .RSS extension will be automatically appended to the file name. Enter the Ladder Logic: - An END rung automatically appears as the only rung in the LAD 2 ladder logic window. Add a new rung by selecting the appropriate icon from the ‘User' instructions toolbar or by right-clicking on the END rung ID (0000) and selecting 'Insert Rung'. 1 Instructions (XIC, XIO, OTE, OTL, and OTU) can be inserted within the rung by selecting the appropriate icon from the 'User' or 'Bit' instructions toolbar or by right-clicking on the rung and selecting 'Insert' and choosing the instruction from the list. The instruction address is entered by typing it in place of the question mark (?) that appears on top of the instruction (i.e. 1:0/1 for terminal 1 of the input module). Enter a Description for the device the instruction is addressed to (i.e. input devices: NO LS, NO MC PB, NO SS. Output devices: Motor Relay, Red PL, Green PL, Blue PL.) Enter a Symbol for the device the instruction is addressed to (i.e. input devices: L_S, S_1, S_2, S_3, S_4. Output devices: M_R, L_1, L_2, L_3) Using symbols will allow to refer to the device later by its symbol rather than by its address. Program the devices using the following symbols, descriptions, and addresses: I/O Symbol Input L S Description NO LS Address I:0/0 Input S 1 NO MC PB I:0/1 Input S2 NO MC PB I:0/2 Input S 3 NO SS I:0/3 Input S 4 NO SS 1:0/4 Output MR Motor Relay 0:0/0 Output L 1 Red PL 0:0/1 Output L2 Green PL 0:0/2 Output L 3 Blue PL 0:0/3 - In this lab you will be automating the operation of the conveyor system. The program is required to operate as follows: The motor M_R is to be latched if pushbutton S_1 is activated and both switches S_3 and S_4 are ON. The motor M_R is to be unlatched if pushbutton S_2 is activated. If either switch S_3 or S_4 is turned OFF and ON while the motor M_R is activated, the motor must automatically stop and start without the need for button S_1 to be activated. When the limit switch L_S is activated the motor M_R must automatically stop and automatically start when L_S is deactivated. The red pilot light L_1 is to be energized when the conveyor motor is not running. The green pilot light L_2 is to be energized when the conveyor motor is running. The blue pilot light L_3 is to be energized when S_3 and S_4 are ON. 2 Download and Test the program (not possible when working remotely): - Double-Click on the 'Channel Configuration' item within the 'Controller' folder of the Program Organizer pane on the left. Select the 'Channel 1' tab and enter the correct controller IP address (168.254.224.XX) listed on the RSWho Window. Enter the appropriate Subnet Mask (255.255.0.0). Disable the 'BOOTP Enable' and ‘DHCP Enable' options and click OK. Save the RSS program file. From the 'Comms' menu select 'System Comms'. Select the appropriate controller under the 'AB ETHIP-1' driver and click 'Download'. Note: do not click ‘Upload' or your program will be replaced with the one currently in the controller memory. From the 'Comms' menu select Mode > Run. Your program is now running directly on the controller. With the help of the instructor, test your program by experimenting the different I/O alternatives. Back on your workstation, select Mode > Program and ‘Go Offline' from the 'Comms' menu. Save your work and submit your program file: - Save the RSS program file. Close and Exit RSLogix. Upload and submit your program file (LAB5_FML.RSS) on the corresponding Dropbox Online@DSC. 3