Appendix B Appxb
User Manual: Appendix B OP 1500/1510 Manual
Open the PDF directly: View PDF .
Page Count: 13
Download | |
Open PDF In Browser | View PDF |
1 Appendix B B DL105/DL205/DL350/DL405 Application Examples In This Appendix. . . . — DL105/DL205/DL350/DL405 Application Example B–2 Understanding the In this manual a Cement Kiln System is the model for demonstrating the ladder logic Example Programs required to support the various OP-panel features. The programs provide ladder logic which demonstrates controlling pushbuttons, lamps, messages and menu operations. Items listed in the figure below such as Hopper Selection, Kiln Speed, Start/Stop/Run controls, and Kiln Zone Temperatures are monitored and controlled by the OP-panel example programs. Appendix B Appendix B DL105/DL205/DL350/DL405 Application Example These example programs and additional technical support information may be accessed on PLCDirect ’s worldwide web site: http:\\www.plcdirect.com (website for general info/file transfers) You may also find these programs on our 24-hour per day BBS system at: 770–844–4209 If you find a problem with any of our products, services, or manuals, please fill out and return the ‘Suggestions’ card that was shipped with this manual. DL105/DL205/DL350/DL405 Application Example B–3 RUNG 1 DirectSOFT (OP–1510) FirstScan SP0 (OP–1510) Clear/Abort C7 Green Lamp1 C20 Pushbutton Internal F2 Status Kiln Starting C1 C51 LD K1 Load constant K1 to select message #1 for top line display. OUT V2000 Output to base register m+0 (V2000) for top line message display. LD K2 Load constant K2 to select message #2 for bottom line display. OUT V2001 Output to base register m+1 (V2001) for bottom line message display. OP–1510 Only Menu Enable ME bit set ON allows menu operations. C27 SET OP–1510 Only Menu Return MR bit set ON returns last menu selected. C30 SET Status Register BD C31 Beeper Disable set ON which disables SET pushbutton and keypad beeper. Green L1 Lamp C20 RST Red L3 Lamp C22 SET L1 bit reset OFF which de-energizes Green Lamp. L3 bit set ON which energizes Red Lamp. Appendix B The example program listed on the following pages is designed for DirectLOGIC DL105, DL205, DL350, and DL405 PLC systems. The program supports the OP–1510 Kiln Demo program.This program is included on the 3 1/2 disk labeled “OP-1500/OP-1510 Example Disk” which is provided with this manual. This example program (1510_105.PRJ) must be used with the OP–1510 a:\1510_105.prj configuration file 1510_105.OCF. Load these program files to the PLC and OP-panel for connection and operation of the Kiln Demo application. You may also refer to the Appendix A “Example Worksheets” to help understand how the OP-panel is configured. OP-1510 This program is designed to be used with the DirectLogic DL105, DL205, DL350, and DL405 PLC and compatible systems. The following program is intended for Kiln Demo training purposes and may not resolve all possible OP-panel applications. Some PLC programming knowledge is required to fully understand and implement the following program examples. If the CPU power cycles or machine and operator conditions are idle, this rung will initialize OP-panel and display message #1 and message #2. Appendix A DL205 Memory Map DirectLOGIC and Compatible Example Program B–4 DL105/DL205/DL350/DL405 Application Example Memory Mapping This rung is necessary for all DirectLOGIC CPUs which do not support bit-of-word instructions. Mapping the Status and Control registers into Internal Control Relays is necessary to have bit level access to this data. The Status and Control register bits are used to monitor pushbuttons, control lamps, and perform asynchronous data exchange between the OP-panel and PLC. Appendix B RUNG 2 Enable Always_ON SP1 LD V2006 Appendix B OUT VC0 LD VC20 OUT V2007 Output Status Register into Internal Control Relays C0–C17. Load the Internal Control Relays C20–C37. Output to Control Register (m+7) V2007. Kiln Start Control This rung starts the machine process. The internal control relay Kiln Start (C51) is used to start the Startup Delay Timer, and will remain ON until the C20 (Lamp1) control bit is energized. RUNG 3 Pushbutton F1 C0 Load the Status Register (m+6) V2006. Green L1 Lamp C20 Internal Kiln Start C51 OUT Kiln Start signal is energized (ON) if start pushbutton F1 pressed. Internal Kiln Start C51 RUNG 4 Internal Kiln Start C51 Kiln Starting Lamp Control This rung controls the annunciator lamps during startup mode. Yellow L2 Lamp C21 SET Yellow Lamp (L2) set ON. Yellow L2F Flash C24 SET Yellow Flash (L2F) set ON. Red L3 Lamp C22 RST Reset Red Lamp (L3) OFF. DL105/DL205/DL350/DL405 Application Example Startup Delay Timer This delay timer signals the System Start (C52) control relay. Pushbutton Internal F2 Kiln Starting C1 C51 TMRA System Startup Delay Timer System Startup Delay Timer T0 T0 K20 System Running This rung controls sets internal control relay System Running (C52) ON. System Startup Delay Timer T0 RUNG 7 Internal System Running Set ON when timer T0 accumulative = preset. C52 SET System Running Lamp Control This rung controls the annunciator lamps when System Running (C52) is ON. Internal System Running C52 Green L1 Lamp C20 SET Kiln running sets Green Lamp (L1) ON. Yellow L2 Lamp C21 RST Resets Yellow Lamp (L2) OFF. Yellow L2 Flash C24 RST RUNG 8 Reset Yellow Flash (L2F) OFF. This rung resets internal control relay (C52) System Running when alternating pushbutton 2 (F2) is OFF. Pushbutton System Startup F2 Delay Timer C1 T0 Internal System Running Reset C52 System Running control relay. C52 RST Appendix B RUNG 6 Kiln Starrt signal is energized (ON) if start pushbutton F1 pressed. Appendix A DL205 Memory Map RUNG 5 B–5 B–6 DL105/DL205/DL350/DL405 Application Example Appendix B RUNG 9 Kiln Starting Message This rung displays “Kiln Starting” message when internal input (C51) is ON. Internal Kiln Starting C51 LD K3 OUT V2000 Appendix B LD K4 OUT V2001 RUNG 10 LD K5 OUT V2000 LD K6 OUT V2001 Load integer value K4 = 4. Output bottom line message #4 selection. Load integer value K5 = 5. Output top line message #5 selection. Load integer value K6 = 6. Output bottom line message #6 selection. Kiln System Stopped Message This rung displays “Kiln System Stopped” when the system is not running or not starting and F2 (pushbutton No.2) is pressed. Pushbutton Internal F2 Kiln Running C52 C1 Internal Kiln Starting C51 Output Top Line message #3 selection. System Running Message This rung displays “System Running” message when internal input C52 is ON. Internal System Running C52 RUNG 11 Load integer value K3 = 3. LD K7 OUT V2000 LD K8 OUT V2001 Load integer value K7 = 7. Output top line message #7 selection. Load integer value K8 = 8. Output bottom line message #8 selection. DL105/DL205/DL350/DL405 Application Example Setpoint #1 Message Controls This rung is executed when the function select bit and Menu Enabled are ON and compare statement is equal such as menu function 1 has been selected. The output displays the message “Meal Hopper (1–3): ” “Arrow UP/DOWN = ” Function OP–1510 Only Select Bit Menu Enable C6 C27 Top Line Data/Entry V2002 = K1 LD K9 LD K10 OUT V2001 LD V2401 OUT V2002 SP1 In Process C141 SET Output top line message #9 selection. Load integer value K10 = 10. Output bottom line message #10 selection. Load value in Storage register for Setpoint #1. Output top line data for SP1 current value. Set operator entry internal SP1 in process. OP–1510 Only Menu Enable Reset ME control bit OFF. C27 RST RUNG 13 Setpoint #1 Data Storage This rung stores the up/down arrow value selected for Setpoint #1 after the ENTER key is pressed and Data Available status bit is ON. Data Available SP1 DA In Process C141 C5 LD V2004 OUT V2401 OUT V2002 Load bottom line data entry value. Output to Setpoint #1 storage register V2401. Output top line data for SP1 current value. SP1 In Process C141 Reset operator entry internal SP1 in process. RST Internal Entry Complete C140 Set operator entry complete. SET Appendix B OUT V2000 Load integer value in K9 = 9. Appendix A DL205 Memory Map RUNG 12 B–7 B–8 DL105/DL205/DL350/DL405 Application Example Appendix B RUNG 14 Setpoint #2 Message Controls This rung is executed when the function select bit and Menu Enabled are ON and compare statement is equal such as menu function 2 has been seleted. The output displays the message. “Kiln Speed (%) : ” “New Kiln Speed = ” Function OP–1510 Only Select Bit Menu Enable C6 C27 Top Line Data/Entry V2002 = K2 LD K11 Appendix B OUT V2000 LD K12 OUT V2001 LD V2402 OUT V2002 SP2 In Process C142 SET Load integer value in K11 = 11. Output top line message #11 selection. Load integer value K12 = 12. Output bottom line message #12 selection. Load value in Storage register for Setpoint #2. Output top line data for SP2 current value. Set operator entry internal SP2 in process. OP–1510 Only Menu Enable Reset ME control bit OFF. C27 RST RUNG 15 Setpoint #2 Data Storage This rung stores the keypad entry value selected for Setpoint #2 after the ENTER key is pressed and Data Available status bit is ON. Data Available SP2 DA In Process C142 C5 LD V2004 OUT V2402 OUT V2002 Load bottom line data entry value. Output to Setpoint #2 storage register V2402. Output top line data for SP2 current value. SP2 In Process C142 Reset operator entry internal SP2 in process. RST Internal Entry Complete C140 Set operator entry complete. SET DL105/DL205/DL350/DL405 Application Example Setpoint #3 Message Controls This rung is executed when Select key and Menu Enabled are ON and compare statement is equal such as menu function 3 has been selected. The output displays the message “Zone1 Temp SP : ” “Enter New Temp.= ” Function OP–1510 Only Select Bit Menu Enable C6 C27 Top Line Data/Entry V2002 = K3 LD K13 LD K14 OUT V2001 LD V2403 OUT V2002 SP3 In Process C143 SET Output top line message #13 selection. Load integer value K14 = 14. Output bottom line message #14 selection. Load value in Storage register for Setpoint #3. Output top line data for SP3 current value. Set operator entry internal SP3 in process. OP–1510 Only Menu Enable Reset ME control bit OFF. C27 RST RUNG 17 Setpoint #3 Data Storage This rung stores the keypad entry value selected for Setpoint #3 after the ENTER key is pressed and Data Available status bit is ON. Data Available SP3 DA In Process C143 C5 LD V2004 OUT V2403 OUT V2002 Load bottom line data entry value. Output to Setpoint #3 storage register V2403. Output top line data for SP3 current value. SP3 In Process C143 Reset operator entry internal SP3 in process. RST Internal Entry Complete C140 Set operator entry complete. SET Appendix B OUT V2000 Load integer value in K13 = 13. Appendix A DL205 Memory Map RUNG 16 B–9 B–10 DL105/DL205/DL350/DL405 Application Example Appendix B RUNG 18 Setpoint #4 Message Controls This rung is executed when Select key and Menu Enabled are ON and compare statement is equal such as menu function 4 has been selected. The output displays the message “Zone2 Temp SP : ” “Enter New Temp.= ” Function OP–1510 Only Select Bit Menu Enable C6 C27 Top Line Data/Entry V2002 = K4 LD K15 Appendix B OUT V2000 LD K16 OUT V2001 LD V2404 OUT V2002 LD K3 OUT V2003 SP4 In Process C144 SET Load integer value in K15 = 15. Output top line message #15 selection. Load integer value K16 = 16. Output bottom line message #16 selection. Load value in Storage register for Setpoint #4. Output top line data for SP4 current value. Load integer value in K3 = 3. Output top line decimal point. Set operator entry internal SP4 in process. OP–1510 Only Menu Enable Reset ME control bit OFF. C27 RST RUNG 19 SP4 In Process C144 Setpoint #4 Data Storage This rung stores the keypad entry value selected for Setpoint #4 after the ENTER key is pressed and Data Available status bit is ON. Data Available DA C5 LD V2004 Load bottom line data entry value. OUT V2404 Output to Setpoint #4 storage register V2404. OUT V2002 SP4 In Process C144 RST Internal Entry Complete C140 SET Output top line data for SP4 current value. Reset operator entry internal SP4 in process. Set operator entry complete. DL105/DL205/DL350/DL405 Application Example Setpoint #5 Message Controls This rung is executed when the function select bit and Menu Enabled are ON and the compare statement is equal. The output displays the message. “Zone3 Temp SP : ” “Enter New Temp.= ” Function OP–1510 Only Select Bit Menu Enable C6 C27 Top Line Data/Entry V2002 = K5 LD K17 LD K18 OUT V2001 LD V2405 OUT V2002 SP5 In Process C145 SET Output top line message #17 selection. Load integer value K18 = 18. Output bottom line message #18 selection. Load value in Storage register for Setpoint #5. Output top line data for SP5 current value. Set operator entry internal SP5 in process. OP–1510 Only Menu Enable Reset ME control bit OFF. C27 RST RUNG 21 Setpoint #5 Data Storage This rung stores the up/down arrow value selected for Setpoint #5 after the ENTER key is pressed and Data Available status bit is ON. Data Available SP5 In Process DA C145 C5 LD V2004 OUT V2405 OUT V2002 Load bottom line data entry value. Output to Setpoint #5 storage register V2405. Output top line data for SP5 current value. SP5 In Process C145 Reset operator entry internal SP5 in process. RST Internal Entry Complete C140 Set operator entry complete. SET Appendix B OUT V2000 Load integer value in K17 = 17. Appendix A DL205 Memory Map RUNG 20 B–11 B–12 DL105/DL205/DL350/DL405 Application Example Appendix B RUNG 22 Status Register Data Available C5 RUNG 23 Appendix B Data Entry Acknowledge This rung controls confirmation to OP-panel that data entry and storage is complete. Internal Entry Complete C140 Control Register Data Acknowledge C26 Output is ON when C5=1. OUT Post Entry Control This rung prepares the program for the next OP-panel operation. Data Available C5 OP1510 Only Menu Enable C27 SET Sets ME control it ON. Internal Entry Complete C140 Resets internal control relay Data Entry RST Complete. RUNG 24 SP1 in Process C141 SP2 in Process C142 SP3 in Process C143 SP4 in Process C144 SP5 in Process C145 Entry Mode This rung sets internal relay C100 for Setpoint Entry Mode. Setpoint Entry Mode C100 SET Sets internal Setpoint Entry Mode ON. DL105/DL205/DL350/DL405 Application Example OP–1510 Clear/Abort C7 OP–1510 Clear/Abort C7 Entry Mode This rung enables menu operations and resets the setpoint in process for Setpoint Entry Mode interlocking. Setpoint Entry Mode C100 Internal Setpoint Entry Mode Entry Complete C140 C100 Data Availbale C5 OP–1510 Only Menu Enable ME bit set ON allows Menu Operations. C27 SET Reset internal setpoint entry mode. SP1 In Process C141 RST Reset internal Setpoint #1 in Process. SP2 In Process C142 RST SP3 In Process C143 RST SP4 In Process C144 RST Reset internal Setpoint #2 in Process. Reset internal Setpoint #3 in Process. Reset internal Setpoint #4 in Process. SP5 in Process C145 Reset internal Setpoint #5 in Process. RST RUNG 26 End of program This rung marks the END of program. END Appendix B Setpoint Entry Mode C100 RST Appendix A DL205 Memory Map RUNG 25 B–13
Source Exif Data:
File Type : PDF File Type Extension : pdf MIME Type : application/pdf PDF Version : 1.2 Linearized : No Page Count : 13 Create Date : 1998:07:13 15:41:56 Producer : Acrobat Distiller 3.0 for WindowsEXIF Metadata provided by EXIF.tools