The text of a manual · part 18 of 38
DL06 Micro PLC User Manual, Volume 2 of 2, pages 170 to 179
Pages 170 to 179 of 370
The original document is the PDF (6.0 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Page 170
Chapter 9: Maintenance and Troubleshooting
Run Time Edit Example
X0
We’ll use the program logic shown to describe how this process works. In the example, we’ll change X0 to C10. Note, the example assumes you have already placed the CPU in Run Mode. Use the MODE key to select Run Time Edits MODE
NEXT
NEXT
X1
Y0 OUT
C0
*MODE CHANGE* RUN TIME EDIT?
ENT
Press ENT to confirm the Run Time Edits ENT
(Note, the RUN LED on the D2–HPP Handheld starts flashing to indicate Run T ime Edits are enabled.)
*MODE CHANGE* RUNTIME EDITS
Find the instruction you want to change (X0) SHFT
X
A SET
0
SHFT
FD REF FIND
$00000 STR X0
Press the arrow key to move to the X. Then enter the new contact (C10). SHFT
C
B 2
A 1
0
ENT
RUNTIME EDIT? STR C10
Press ENT to confirm the change. ENT
(Note, once you press ENT , the next address is displayed.
OR C0
DL06 Micro PLC User Manual, 3rd Edition Rev. A
1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D 9–15
Page 171
Chapter 9: Maintenance and Troubleshooting
Forcing I/O Points
1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D 9–16
There are many times, especially during machine startup and troubleshooting, that you need the capability to force an I/O point to be either on or off. Before you use a programming device to force any data type, it is important to understand how the DL06 CPUs process the forcing requests. WARNING: Only authorized personnel fully familiar with all aspects of the application should make changes to the program. Make sure you thoroughly consider the impact of any changes to minimize the risk of personal injury or damage to equipment.
There are two types of forcing available with the DL06 CPUs. (Chapter 3 provides a detailed description of how the CPU processes each type of forcing request). • Regular Forcing: This type of forcing can temporarily change the status of a discrete bit. For example, you may want to force an input on, even though it is really off. This allows you to change the point status that was stored in the image register. This value will be valid until the image register location is written to during the next scan. This is primarily useful during testing situations when you need to force a bit on to trigger another event. • Bit Override : Bit override can be enabled on a point-by-point basis by using AUX 59 from the Handheld Programmer or by a menu option in DirectSOFT 5. You can use Bit Override with X, Y, C, T, CT, and S data types. Bit override basically disables any changes to the discrete point by the CPU. For example, if you enable bit override for X1, and X1 is off at the time, the CPU will not change the state of X1. This means that even if X1 comes on, the CPU will not acknowledge the change. Therefore, if you used X1 in the program, it would always be evaluated as “off ” in this case. If X1 was on when the bit override was enabled, then X1 would always be evaluated as “on”. There is an advantage available when you use the Bit Override feature. The Regular Forcing is not disabled because the Bit Override is enabled. For example, if you enabled the Bit Override for Y0 and it was off at the time, the CPU would not change the state of Y0. However, you can still use a programming device to change the status. If you use the programming device to force Y0 on, it will remain on and the CPU will not change the state of Y0. If you then force Y0 off, the CPU will maintain Y0 as off. The CPU will never update the point with the results from the application program or from the I/O update until the Bit Override is removed from the point.
DL06 Micro PLC User Manual, 3rd Edition Rev. A
Page 172
Chapter 9: Maintenance and Troubleshooting The following diagrams show how the bit override works for both input and output points. The example uses a simple rung, but the concepts are similar for any type of bit memory. Program Rung X0
Y0 OUT
Override holds previous state and disables image register update by CPU
X0 override enabled X0 at input module X0 in image register Y0 in image register
The following diagram shows how the bit override works for an output point. Notice the bit override maintains the output in the current state. If the output is on when the bit override is enabled, then the output stays on. If it is off, then the output stays off. Program Rung X0
Y0 OUT
Override holds previous state and disables image register update by CPU
Y0 override enabled X0 at input mdoule Y0 in image register Y0 at output module
The following diagram shows how you can use a programming device in combination with the bit override to change the status of the point. Remember, bit override only disables CPU changes. You can still use a programming device to force the status of the point. Plus, since bit override maintains the current status, this enables true forcing. The example shown is for an output point, but you can also use the other bit data types. Program Rung X0
Y0 OUT
The force operation from the programming device can still change the point status.
Y0 override enabled X0 at input mdoule Y0 force from programmer Y0 in image register
1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D
Y0 at output module
DL06 Micro PLC User Manual, 3rd Edition Rev. A
9–17
Page 173
Chapter 9: Maintenance and Troubleshooting
1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D
The following diagrams show a brief example of how you could use the DL06 Handheld Programmer to force an I/O point. Remember, if you are using the Bit Override feature, the CPU will retain the forced value until you disable the Bit Override or until you remove the force. The image register will not be updated with the status from the input module. Also, the solution from the application program will not be used to update the output image register. The example assumes you have already placed the CPU into Run Mode. From a clear display, use the following keystrokes
STAT
X0
Y0 OUT
C0
16P STATUS BIT REF X
ENT
Use the PREV or NEXT keys to select the Y data type. (Once the Y appears, press 0 to start at Y0.) NEXT
A 0
Y
ENT
10
Y
0
Y
0
Use arrow keys to select point, then use ON and OFF to change the status Y2 is now on
Y
ON INS
SHFT
10
Regular Forcing with Direct Access
9–18
From a clear display, use the following keystrokes to force Y10 ON Solid fill indicates point is on. Solid fill indicates point is on. SHFT
Y MLS
B
A 1
0
SHFT
ON INS
BIT FORCE Y10
From a clear display, use the following keystrokes to force Y10 OFF No fill indicates point is off. No fill indicates point is off. SHFT
Y MLS
B
A 1
0
SHFT
OFF DEL
DL06 Micro PLC User Manual, 3rd Edition Rev. A
BIT FORCE Y10
Page 174
Chapter 9: Maintenance and Troubleshooting
Bit Override Forcing From a clear display, use the following keystrokes to turn on the override bit for Y10.
1 2 BIT FORCE SET Y 10 3 Note, at this point you can use the PREV and NEXT keys to move to adjacent memory 4 locations and use the SHFT ON keys to set the override bit on. From a clear display, use the following keystrokes to turn off the override bit for Y10. Solid 5 fill indicates point is on. 6 BIT FORCE RST Y 10 7 8 Like the example above, you can use the PREV and NEXT keys to move to adjacent memory locations and use the SHFT OFF keys to set the override bit off. 9 Bit Override Indicators Override bit indicators are also shown on the handheld programmer status display. Below are the keystrokes to call the status display for Y10 – Y20. 10 From a clear display, use the following keystrokes to display the status of Y10 – Y20. 11 Y 20 Y 10 12 13 14 A B C D Solid fill indicates point is on.
X SET
A
B
1
ON INS
SHFT
0
Small box indicates override bit is on.
Solid fill indicates point is on.
for Y10. S RST
A
B
1
SHFT
0
ON INS
Small box is not present when override bit is off.
STAT
ENT
NEXT
B
A
1
0
ENT
Override bit is on
Point is on
DL06 Micro PLC User Manual, 3rd Edition Rev. A
9–19
Page 175
LCD DISPLAY PANEL
CHAPTER
10
In This Chapter... Introduction to the DL06 LCD Display Panel . . . . . . . . . . . . . . . . .10–2 Keypad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10–2 Snap-in installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10–3 Display Priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10–4 Menu Navigation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10–5 Confirm PLC Type, Firmware Revision Level, Memory Usage, Etc. .10–6 Examining Option Slot Contents . . . . . . . . . . . . . . . . . . . . . . . . . .10–8 Monitoring and Changing Data Values . . . . . . . . . . . . . . . . . . . .10–10 Bit Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10–13 Changing Date and Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10–14 Setting Password and Locking . . . . . . . . . . . . . . . . . . . . . . . . . . .10–17 Reviewing Error History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10–20 Toggle Light and Beeper, Test Keys . . . . . . . . . . . . . . . . . . . . . . .10–21 PLC Memory Information for the Display . . . . . . . . . . . . . . . . . . .10–22 Changing the Default Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . .10–25 DL06 LCD Display Panel Instruction (LCD) . . . . . . . . . . . . . . . . . .10–26
Page 176
Chapter 10: LCD Display Panel
Introduction to the DL06 LCD Display Panel The DL06 LCD Display Panel is a 16 character, two row display that mounts directly on the 1 face of the DL06 PLC. The LCD is backlit for easy readability in most lighting situations. There are multiple ways of interacting with the LCD Display Panel: 2 • Built-in keypad • LCD ladder instruction 3 • Using ladder instructions to write bit status changes to specified memory locations The seven function keys on the face of the LCD Display Panel give the user access to clock 4 and calendar setup, V-memory data values or I/O status, etc. Individuals with password authorization can: 5 • Change clock or calendar settings or formats 6 • Monitor or change V-memory values (including DWord values) • Force individual bits on or off 06 7 (up to 16 per screen) • Review error code history 8 • Set or change the password • Turn the back light or buzzer on or off 9 The potential uses for the DL06’s LCD display vary widely. An operator can change values for setting up batch processes or machine timing for manufacturing different products. 10 Maintenance personnel can interface in the control cabinet to identify machine problems. LCD messages can be preprogrammed for process events or alarms. The LCD can satisfy these and many other needs. 11 12 Keypad The LCD Display Panel keypad has seven keys you can use to navigate through the menu hierarchy. Each screen displayed has a specific set of active keys associated with it. All other 13 keys (those not associated with the current screen) are inactive. Function Keys 14 Name Label Function A B C D ESC
LOGIC
MENU
ENT
K oyo
Left
Up
Right
Down
Escape
10–2
Menu
Enter
Up arrow Down arrow Left arrow Right arrow none none none none
Escape
ESC
Menu
MENU
Enter
ENT
DL06 Micro PLC User Manual, 3rd Edition Rev. A
Move to selection above or increase value Move to selection below or decrease value Move to next digit to the left Move to next digit to the right Return to previous screen or next level up in the menu hierarchy Scroll down through main menu or sub-menu selections Enter the domain of the menu screen selected or save new value
Page 177
Chapter 10: LCD Display Panel
Snap-in installation The LCD Display Panel installs easily into any model DL06 PLC. Remove the plastic cover (located between the input and output terminals). Press the locking tab of the cover to release it from its catch, and slide the cover to the left about 3/8ths inch.
G LG Y0 Y2 C1 Y5 Y7 Y10 Y12 C3 Y15 Y17 0V AC(L) AC(N) 24V C0 Y1 Y3 Y4 Y6 C2 Y11 Y13 Y14 Y16 N.C. OUTPUT: 6-240V
50 - 60Hz
2.0A, 6 - 27V
2.0A
PWR: 100-240V
50-60Hz 40VA
D0-06DR
Y 0
1
2
3
4
5
6
7
10
11
12
13
14
15
16
17
20
23
21 22
X INPUT: 12 - 24V
3 - 15mA press tab
06
LOGIC
K oyo plastic cover
C0
X1 X0
X3 X2
X4 C1
X6 X5
X7
C2 X11 X13 X14 X16 C4 X21 X23 N.C. X15 X17 X20 X22 N.C. X10 X12 C3
PORT
The cover should now lift straight out from the slot on the face of the DL06.
OUTPUT: 6-240V
50 - 60Hz
2.0A, 6 - 27V
2.0A
PWR: 100-240V
50-60Hz 40VA
D0-06DR
Y 0
1
2
3
4
5
6
X3
X4
7
10
11
12
13
14
15
16
17
20
21 22
23
X INPUT: 12 - 24V
3 - 15mA slide and lift cover
06
LOGIC
K oyo
WARNING: Remove power to the PLC before installing or removing the LCD display.
Place the LCD Display Panel over the opening but offset approximately 3/8ths inch to the left. The Display Panel should fit easily into the opening. place LCD Display Panel over opening
C0
X1 X0
X2
C1
X6 X5
X7
C2 X11 X13 X14 X16 C4 X21 X23 N.C. X15 X17 X20 X22 N.C. X10 X12 C3
POR
AC(L) AC(N) 24V OUTPUT: 6-240V
C0
50 - 60Hz
Y1
Y3
2.0A, 6 - 27V
Y4
Y6
2.0A
PWR: 100-240V
C2
Y11
Y13
Y14 Y16
0
1
2
3
4
5
6
X3
X4
7
10
11
12
13
14
15
16
N.C.
50-60Hz 40VA
D0-06DR
Y 17
20
21 22
23
X INPUT: 12 - 24V
LOGIC
3 - 15mA
06
K oyo
C0
X1 X0
X2
C1
X6 X5
X7
C2 X11 X13 X14 X16 C4 X21 X23 N.C. X15 X17 X20 X22 N.C. X10 X12 C3
POR
Slide the Display Panel to the right until the left side of the Display Panel is flush with the left side of the PLC. The Display Panel connector will click into place. slide LCD until it clicks into place
OUTPUT: 6-240V
50 - 60Hz
2.0A, 6 - 27V
2.0A
PWR: 100-240V
50-60Hz 40VA
Y 0
1
2
3
4
5
6
X3
X4
7
10
11
12
13
14
15
16
17
20
D0-06DR
21 22
23
X INPUT: 12 - 24V
LOGIC
3 - 15mA
06
K oyo
C0
X1 X0
X2
C1
X6 X5
X7
C2 X11 X13 X14 X16 C4 X21 X23 N.C. X15 X17 X20 X22 N.C. X10 X12 C3
PORT
DL06 Micro PLC User Manual, 3rd Edition Rev. A
1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D
10–3
Page 178
Chapter 10: LCD Display Panel
Display Priority
1 2 3 4 5 6 7 8 9 10 11 12 13 14 A B C D 10–4
The LCD Display Panel will show one of the following (unless power is removed from the PLC): • Default screen (user defined or factory default) • Menu selection • Message from ladder program • Error message
The built-in keypad allows you to navigate through these message displays.
On power-up the default message is normally displayed. The default message is set at the factory but can be customized by the user. Loading a custom default message is described later in this chapter. If a system error occurs, the error message supercedes the default message (or other current display screen), and the appropriate error code is displayed for diagnostic purposes.
D L 0 6
P L C
M a y 0 8 1 3 : 5 7 : 0 1
D i a g n o s t i c E r r o r E 4 * * N O P R O G R A M
DL06 Micro PLC User Manual, 3rd Edition Rev. A
Page 179
Chapter 10: LCD Display Panel
Menu Navigation
1 2 3 4 Seven Menu Choices 5 Pressing and holding the MENU key will cause the display to scroll through the following menu options: M E N U S C R E E N 6 > M 1 : P L C I N F O . • M1 : PLC information • M2 : System configuration 7 > M 2 : S Y S T E M C F G > M 3 : MO N I T O R • M3 : Monitor • M4 : Calendar read/write 8 > M 4 : C A L E N D A R R / W • M5 : Password read/write > M 5 : P A S SWO R D R / W • M6 : Error history read 9 > M 6 : E R R H I S T O R Y • M7 : LCD test and set > M 7 : L C D T E S T & S E T 10 In this section we use illustrations of the LCD Display Panel keypad and display area to show how to navigate through the menu hierarchy. The example below shows the factory default 11 screen as Screen 1 and the main menu entry screen as Screen 2. The illustration of the keypad between the display screens indicates that pressing the MENU 12 key causes a transition from Screen 1 to Screen 2. This type of representation is used throughout this section. When inside the menu hierarchy, the ESC key returns the display to 13 the previous screen. Screen 1 - factory default 14 D L 0 6 P L C M a y 0 8 1 4 : 1 2 : 0 1 A B C Screen 2 M E N U S C R E E N D > M 1 : P L C I N F O . Beginning at the default screen, each time you press the MENU key the display will scroll to the next menu option. The up arrow and down arrow keys also scroll through the list of menus (in the direction indicated by the arrow), but you must initially press the MENU key (at the default screen) to activate the up and down arrow keys. There are seven built-in menus selections. Some of the menu items have sub-menus. The menus and sub-menus are described in this chapter. Each menu selection requires that you press the ENT key to view or change settings or values within the domain of that main menu selection.
Press the MENU key to transition from screen 1 to screen 2.
ESC
MENU
ENT
DL06 Micro PLC User Manual, 3rd Edition Rev. A
10–5