Appendix B Appxb

User Manual: Appendix B OP 1500/1510 Manual

Open the PDF directly: View PDF PDF.
Page Count: 13

1B
Appendix B
DL105/DL205/DL350/DL405
Application Examples
In This Appendix. . . .
— DL105/DL205/DL350/DL405 Application Example
Appendix BAppendix B
B–2 DL105/DL205/DL350/DL405 Application Example
In this manual a Cement Kiln System is the model for demonstrating the ladder logic
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.
These example programs and additional technical support information may be
accessed on PLC
Direct
’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.
Understanding the
Example Programs
Appendix A
DL205 Memory Map Appendix B
B–3
DL105/DL205/DL350/DL405 Application Example
Direct
LOGIC and Compatible Example Program
The example program listed on the following pages is designed for
Direct
LOGIC
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
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.
This program is designed to be used with the
Direct
Logic DL105, DL205, DL350,
and DL405 PLC and compatible systems. The following program is intended for
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.
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.
Direct
SOFT
LD
K2
Load constant K2 to select message #2 for
bottom line display.
OUT
V2001
C51
Kiln Starting
Internal
SET
C27
Menu Enable
OP–1510 Only
SET
SET
RST
SET
Output to base register m+1 (V2001) for
bottom line message display.
C20
Lamp1
Green
C7
Clear/Abort
(OP–1510)
C1
F2 Status
Pushbutton
C30
Menu Return
OP–1510 Only
C31
BD
Status Register
C20
L1 Lamp
Green
C22
L3 Lamp
Red
SP0
FirstScan
(OP–1510)
ME bit set ON allows menu operations.
MR bit set ON returns last menu selected.
Beeper Disable set ON which disables
pushbutton and keypad beeper.
L1 bit reset OFF which de-energizes Green
Lamp.
L3 bit set ON which energizes Red Lamp.
a:\1510_105.prj
OP-1510
Kiln Demo
RUNG 1
Appendix BAppendix B
B–4 DL105/DL205/DL350/DL405 Application Example
Memory Mapping
This rung is necessary for all
Direct
LOGIC 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.
LD
V2006
Load the Status Register (m+6) V2006.
OUT
VC0
Output Status Register into Internal Control
Relays C0–C17.
LD
VC20
Load the Internal Control Relays C20–C37.
OUT
V2007
Output to Control Register (m+7) V2007.
SP1
Always_ON
Enable
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.
Kiln Start signal is energized (ON) if start
pushbutton F1 pressed.
OUT
C20
L1 Lamp
Green
C51
Kiln Start
Internal
C51
Kiln Start
Internal
C0
F1
Pushbutton
Kiln Starting Lamp Control
This rung controls the annunciator lamps during startup mode.
Yellow Lamp (L2) set ON.
SET
C21
L2 Lamp
Yellow
C51
Kiln Start
Internal
SET
RST
C24
L2F Flash
Yellow
C22
L3 Lamp
Red
Yellow Flash (L2F) set ON.
Reset Red Lamp (L3) OFF.
RUNG 2
RUNG 3
RUNG 4
Appendix A
DL205 Memory Map Appendix B
B–5
DL105/DL205/DL350/DL405 Application Example
Startup Delay Timer
This delay timer signals the System Start (C52) control relay.
Kiln Starrt signal is energized (ON) if start
pushbutton F1 pressed.
C1
F2
Pushbutton
T0
Delay Timer
System Startup
C51
Kiln Starting
Internal
TMRA
System Startup
Delay Timer
T0
K20
System Running
This rung controls sets internal control relay System Running (C52) ON.
Set ON when timer T0 accumulative = preset.
SET
C52
System Running
Internal
T0
Delay Timer
System Startup
System Running Lamp Control
This rung controls the annunciator lamps when System Running (C52) is ON.
Kiln running sets Green Lamp (L1) ON.
SET
C20
L1 Lamp
Green
C52
System Running
Internal
RST
RST
C21
L2 Lamp
Yellow
C24
L2 Flash
Yellow
Resets Yellow Lamp (L2) OFF.
Reset Yellow Flash (L2F) OFF.
This rung resets internal control relay (C52) System Running when alternating
pushbutton 2 (F2) is OFF.
Reset C52 System Running control relay.
RST
C52
System Running
Internal
T0
Delay Timer
System Startup
C1
F2
Pushbutton
RUNG 5
RUNG 6
RUNG 7
RUNG 8
Appendix BAppendix B
B–6 DL105/DL205/DL350/DL405 Application Example
Kiln Starting Message
This rung displays “Kiln Starting” message when internal input (C51) is ON.
LD
K3
Load integer value K3 = 3.
OUT
V2000
Output Top Line message #3 selection.
LD
K4
Load integer value K4 = 4.
OUT
V2001
Output bottom line message #4 selection.
C51
Kiln Starting
Internal
System Running Message
This rung displays “System Running” message when internal input C52 is ON.
LD
K5
Load integer value K5 = 5.
OUT
V2000
Output top line message #5 selection.
LD
K6
Load integer value K6 = 6.
OUT
V2001
Output bottom line message #6 selection.
C52
System Running
Internal
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.
LD
K7
Load integer value K7 = 7.
OUT
V2000
Output top line message #7 selection.
LD
K8
Load integer value K8 = 8.
OUT
V2001
Output bottom line message #8 selection.
C52
Kiln Running
Internal
C1
F2
Pushbutton
C51
Kiln Starting
Internal
RUNG 9
RUNG 10
RUNG 11
Appendix A
DL205 Memory Map Appendix B
B–7
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 =
LD
K9
Load integer value in K9 = 9.
OUT
V2000
LD
K10
OUT
V2001
SET
RST
C141
In Process
SP1
C27
Menu Enable
OP–1510 Only
C6
Select Bit
Function
C27
Menu Enable
OP–1510 Only
V2002
Data/Entry
Top Line
=
K1
OUT
V2002
LD
V2401
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.
Reset ME control bit OFF.
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.
LD
V2004
Load bottom line data entry value.
OUT
V2401
OUT
V2002
RST
SET
C141
In Process
SP1
C140
Entry Complete
Internal
C141
In Process
SP1
C5
DA
Data Available
Output to Setpoint #1 storage register V2401.
Output top line data for SP1 current value.
Reset operator entry internal SP1 in process.
Set operator entry complete.
RUNG 12
RUNG 13
Appendix BAppendix B
B–8 DL105/DL205/DL350/DL405 Application Example
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 =
LD
K11
Load integer value in K11 = 11.
OUT
V2000
LD
K12
OUT
V2001
SET
RST
C142
In Process
SP2
C27
Menu Enable
OP–1510 Only
C6
Select Bit
Function
C27
Menu Enable
OP–1510 Only
V2002
Data/Entry
Top Line
=
K2
OUT
V2002
LD
V2402
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.
Reset ME control bit OFF.
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.
LD
V2004
Load bottom line data entry value.
OUT
V2402
OUT
V2002
RST
SET
C142
In Process
SP2
C140
Entry Complete
Internal
C142
In Process
SP2
C5
DA
Data Available
Output to Setpoint #2 storage register V2402.
Output top line data for SP2 current value.
Reset operator entry internal SP2 in process.
Set operator entry complete.
RUNG 14
RUNG 15
Appendix A
DL205 Memory Map Appendix B
B–9
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.=
LD
K13
Load integer value in K13 = 13.
OUT
V2000
LD
K14
OUT
V2001
SET
RST
C143
In Process
SP3
C27
Menu Enable
OP–1510 Only
C6
Select Bit
Function
C27
Menu Enable
OP–1510 Only
V2002
Data/Entry
Top Line
=
K3
OUT
V2002
LD
V2403
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.
Reset ME control bit OFF.
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.
LD
V2004
Load bottom line data entry value.
OUT
V2403
OUT
V2002
RST
SET
C143
In Process
SP3
C140
Entry Complete
Internal
C143
In Process
SP3
C5
DA
Data Available
Output to Setpoint #3 storage register V2403.
Output top line data for SP3 current value.
Reset operator entry internal SP3 in process.
Set operator entry complete.
RUNG 16
RUNG 17
Appendix BAppendix B
B–10 DL105/DL205/DL350/DL405 Application Example
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.=
LD
K15
Load integer value in K15 = 15.
OUT
V2000
LD
K16
OUT
V2001
SET
RST
C144
In Process
SP4
C27
Menu Enable
OP–1510 Only
C6
Select Bit
Function
C27
Menu Enable
OP–1510 Only
V2002
Data/Entry
Top Line
=
K4
OUT
V2003
LD
K3
Output top line message #15 selection.
Load integer value K16 = 16.
Output bottom line message #16 selection.
Load integer value in K3 = 3.
Output top line decimal point.
Set operator entry internal SP4 in process.
Reset ME control bit OFF.
OUT
V2002
LD
V2404
Load value in Storage register for Setpoint #4.
Output top line data for SP4 current value.
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.
LD
V2004 Load bottom line data entry value.
OUT
V2404
OUT
V2002
RST
SET
C144
In Process
SP4
C140
Entry Complete
Internal
C144
In Process
SP4
C5
DA
Data Available
Output to Setpoint #4 storage register V2404.
Output top line data for SP4 current value.
Reset operator entry internal SP4 in process.
Set operator entry complete.
RUNG 18
RUNG 19
Appendix A
DL205 Memory Map Appendix B
B–11
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.=
LD
K17
Load integer value in K17 = 17.
OUT
V2000
LD
K18
OUT
V2001
SET
RST
C145
In Process
SP5
C27
Menu Enable
OP–1510 Only
C6
Select Bit
Function
C27
Menu Enable
OP–1510 Only
V2002
Data/Entry
Top Line
=
K5
OUT
V2002
LD
V2405
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.
Reset ME control bit OFF.
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.
LD
V2004
Load bottom line data entry value.
OUT
V2405
OUT
V2002
RST
SET
C145
In Process
SP5
C140
Entry Complete
Internal
C145
In Process
SP5
C5
DA
Data Available
Output to Setpoint #5 storage register V2405.
Output top line data for SP5 current value.
Reset operator entry internal SP5 in process.
Set operator entry complete.
RUNG 20
RUNG 21
Appendix BAppendix B
B–12 DL105/DL205/DL350/DL405 Application Example
Data Entry Acknowledge
This rung controls confirmation to OP-panel that data entry and storage is complete.
Output is ON when C5=1.
OUT
C26
Data Acknowledge
Control Register
C5
Data Available
Status Register
Post Entry Control
This rung prepares the program for the next OP-panel operation.
Sets ME control it ON.
SET
C27
Menu Enable
OP1510 Only
C140
Entry Complete
Internal
RST
C140
Entry Complete
Internal
Resets internal control relay Data Entry
Complete.
C5
Available
Data
Entry Mode
This rung sets internal relay C100 for Setpoint Entry Mode.
Sets internal Setpoint Entry Mode ON.
SET
C100
Entry Mode
Setpoint
C141
SP1 in Process
C142
SP2 in Process
C143
SP3 in Process
C144
SP4 in Process
C145
SP5 in Process
RUNG 22
RUNG 23
RUNG 24
Appendix A
DL205 Memory Map Appendix B
B–13
DL105/DL205/DL350/DL405 Application Example
Entry Mode
This rung enables menu operations and resets the setpoint in process for Setpoint
Entry Mode interlocking.
C7
Clear/Abort
OP–1510
C7
Clear/Abort
OP–1510
SET
C27
Menu Enable
OP–1510 Only
RST
RST
RST
RST
C100
Entry Mode
Setpoint
C141
In Process
SP1
C142
In Process
SP2
C143
In Process
SP3
ME bit set ON allows Menu Operations.
Reset internal setpoint entry mode.
Reset internal Setpoint #1 in Process.
Reset internal Setpoint #2 in Process.
Reset internal Setpoint #3 in Process.
C100
Entry Mode
Setpoint
C100
Entry Mode
Setpoint
C140
Entry Complete
Internal
RST
RST
C144
In Process
SP4
C145
SP5 in Process
Reset internal Setpoint #4 in Process.
Reset internal Setpoint #5 in Process.
C5
Availbale
Data
End of program
This rung marks the END of program.
END
RUNG 25
RUNG 26

Navigation menu