Home
92KB
Contents
1. Regular Forcing with Direct Access From a clear display use the following keystrokes to force Y10 ON Solid fill indicates point is on Solid fill indicates point is on sT Yus Ea Eo e Las 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 sHT us Ph fa sHFT DEL BIT FORCE Y10 L 9 18 DLO06 Micro PLC User Manual 2nd Ed 3 04 Bit Override Forcing Chapter 9 Maintenance and Troubleshooting From a clear display use the following keystrokes to turn on the override bit for Y10 ON SHFT INS Solid fill indicates point is on BIT FORCE SET Y 10 Small box indicates override bit is on Note at this point you can use the PREV and NEXT keys to move to adjacent memory 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 fill indicates point is on for Y10 S RST gt ON SHFT INS Solid fill indicates point is on BIT FORCE RST Y 10 Small box is not present when override bit is off 9 Like the example above you can use th
2. STR C10 Press ENT to confirm the change mr Note once you press ENT the next address is displayed OR CO DL06 Micro PLC User Manual 2nd Ed 3 04 9 15 Chapter 9 Maintenance and Troubleshooting E Forcing I O Points 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 DLO6 CPUs Chapter 3 provides a detailed description of how the CPU processes each type of forcing request e 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 e Bit Override Bit override can be enab
3. disabled at all times Normal Program PAUSE disables YO and Y1 XO X2 YO E 4 2 p Pause X1 X3 X4 XO X2 AN X10 Y1 2 X1 X3 X4 P C 171 7 X10 a eno ED STOP Instruction Sometimes during machine startup you need a way to quickly turn off all the outputs and return to Program Mode You can use the STOP instruction When this instruction is executed the CPU automatically exits Run Mode and enters Program Mode Remember all outputs are turned off during Program Mode The following diagram shows an example of a condition that returns the CPU to Program Mode 9 12 DLO06 Micro PLC User Manual 2nd Ed 3 04 Normal Program Chapter 9 Maintenance and Troubleshooting ee XO X2 YO C gt X1 X3 X4 1 4 X5 Y1 C gt GD STOP puts CPU in Program Mode X7 ED XO X2 YO X1 X3 X4 1 1 X5 Y1 b GD In the example shown above you could trigger X7 which would execute the STOP instruction The CPU would enter Program Mode and all outputs would be turned off Duplicate Reference Check You can also check for multiple uses of the same output coil Both programming devices offer a way to check for this condition For example you can AUX 21 CHECK PROGRAM to check for duplicate references from a Handheld Programmer or you can use the PLC Diagnostics menu option within DirectSOFT32 The following example shows how to perform the dup
4. Or Or not Boolean And accumulator constant Store equal Store not equal Or accumulator constant And equal And not equal Exclusive or accumulator constant Or equal Or not equal Load discrete points to accumulator Store greater than or equal Store less than Comparative Boolean Output accumulator to discrete points Shift accumulator right And greater than or equal And less than Comparative Boolean Shift accumulator left 9 14 DLO06 Micro PLC User Manual 2nd Ed 3 04 Numeric constant Chapter 9 Maintenance and Troubleshooting Run Time Edit Example We ll use the program logic shown to describe ay if a 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 co MODE CHANGE RUN TIME EDIT MODE NEXT NEXT ENT Press ENT to confirm the Run Time Edits Note the RUN LED on the D2 HPP MODE CHANGE Handheld starts flashing to indicate RUNTIME EDITS Run Time Edits are enabled Find the instruction you want to change X0 X A FD REF SHER SET 0 SHET FIND 00000 STR XO Press the arrow key to move to the X Then enter the new contact C10 RUNTIME EDIT suet B A ENT 2 1 0
5. Chapter 9 Maintenance and Troubleshooting nI Machine Startup and Program Troubleshooting The DL06 Micro PLCs provide several features that can help you debug your program before and during machine startup This section discusses the following topics which can be very helpful e Program Syntax Check e Duplicate Reference Check e Special Instructions e Run Time Edits e Forcing I O Points Syntax Check Even though the Handheld Programmer and DirectSOFT32 provide error checking during program entry you may want to check a program that has been modified Both programming devices offer a way to check the program syntax For example you can use AUX 21 CHECK PROGRAM to check the program syntax from a Handheld Programmer or you can use the PLC Diagnostics menu option within DirectSOFT32 This check will find a wide variety of programming errors The following example shows how to use the syntax check with a Handheld Programmer Use AUX 21 to perform syntax check C 2 B 1 AUX E AUX 21 CHECK PRO KA 1 SYN 2 DUP REF Select syntax check default selection You may not get the busy display BUSY if the program is not very long One of two displays will appear Error Display example 00050 E401 MISSING END shows location in question syr OR display oo GSYNTAX ERROR 2 See the Error Codes Section for a complete listing of programming erro
6. e PREV and NEXT keys to move to adjacent memory locations and use the SHFT OFF keys to set the override bit off 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 From a clear display use the following keystrokes to display the status of Y10 Y20 STAT ENT NEXT Override bit is on Point is on DL06 Micro PLC User Manual 2nd Ed 3 04 9 19
7. l c oD change the point status YO override enabled XO at input mdoule YO force from programmer YO in image register 0 at output module DLO06 Micro PLC User Manual 2nd Ed 3 04 9 17 Chapter 9 Maintenance and Troubleshooting E 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 Xo Yo i fi h OUT image register will not be updated with the status from the input module Also the solution from the application co 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 16P STATUS STAT ENT BIT REF X Use the PREV or NEXT keys to select the Y data type Once the Y appears press 0 to start at YO next A 9 ENT Y 10 Y 0 Use arrow keys to select point then use ON and OFF to change the status Y2 is now on ON lt lt L SHFT INS
8. led on a point by point basis by using AUX 59 from the Handheld Programmer or by a menu option in DirectSOFT 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 YO and it was off at the time the CPU would not change the state of YO However you can still use a programming device to change the status If you use the programming device to force YO on it will remain on and the CPU will not change the state of YO If you then force YO off the CPU will maintain YO 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 9 16 DLO06 Micro PLC User Manual 2nd Ed 3 04 Chapter 9 Maintenance and Troubleshooting era The following diagrams show how the bit override works for both input a
9. licate reference check with a Handheld Programmer Use AUX 21 to perform syntax check CLR c 2 B 1 AUX ENT Select duplicate reference check gt EN T One of two displays will appear Error Display example very long You may not get the busy display if the program is not o shows location in question Syntax OK display AUX 21 CHECK PRO 1 SYN 2 DUP REF BUSY 00024 E471 DUP COIL REF gt NO DUP REFS If you get an error just press CLR and the Handheld will display the instruction where the error occurred Correct the problem and continue running the Duplicate Reference check until no duplicate references are found pk NOTE You can use the same coil in more than one location especially in programs containing Stage instructions and or OROUT instructions The Duplicate Reference check will find occurrences even though they are acceptable DLO06 Micro PLC User Manual 2nd Ed 3 04 9 13 Chapter 9 Maintenance and Troubleshooting Run Time Edits The DL06 Micro PLC allows you to make changes to the application program during Run Mode These edits are not bumpless Instead CPU scan is momentarily interrupted and the outputs are maintained in their current state until the program change is complete This means if the output is off it will remain off until the program change is complete If the output is
10. nd output points The example uses a simple rung but the concepts are similar for any type of bit memory Program Rung Override holds X0 YO previous state and disables ut image register update by CPU X0 override enabled XO at input module XO in image register YO 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 Override holds X0 YO previous state and disables ut image register update by CPU YO override enabled XO at input mdoule YO in image register YO 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 The force operation from the X0 YO programming device can stil
11. on it will remain on WARNING Only authorized personnel fully familiar with all aspects of the application should make changes to the program Changes during Run Mode become effective immediately Make sure you thoroughly consider the impact of any changes to minimize the risk of personal injury or damage to equipment There are some important operational changes during Run Time Edits 1 If there is a syntax error in the new instruction the CPU will not enter the Run Mode 2 If you delete an output coil reference and the output was on at the time the output will remain on until it is forced off with a programming device 3 Input point changes are not acknowledged during Run Time Edits so if you re using a high speed operation and a critical input comes on the CPU may not see the change Not all instructions can be edited during a Run Time Edit session The following list shows the instructions that can be edited Mnemonic Description Timer Fast timer Mnemonic Description Or greater than or equal or less than Comparative Boolean Accumulating timer Load data constant Accumulating fast timer Load data double constant Counter Add data double constant Up Down counter Subtract data double constant Stage counter Multiply constant Store Store not Boolean Divide constant And And not Boolean Compare accumulator constant
12. r codes If you get an error just press CLR and the Handheld will display the instruction where the error occurred Correct the problem and continue running the Syntax check until the NO SYNTAX ERROR message appears DL06 Micro PLC User Manual 2nd Ed 3 04 9 11 Chapter 9 Maintenance and Troubleshooting Special Instructions There are several instructions that can be used to help you debug your program during machine startup operations e END e PAUSE e STOP END Instruction If you need a way to quickly disable part of the program just insert an END statement prior to the portion that should be disabled When the CPU encounters the END statement it assumes that is the end of the program The following diagram shows an example Normal Program New END disables X10 and Y1 XO X2 CY XO X2 cS N S X1 X3 X4 X1 X3 X4 1 4 X10 y1 Z X10 PA exo 1 CI 9 ie PAUSE Instruction This instruction provides a quick way to allow the inputs or other logic to operate while disabling selected outputs The output image register is still updated but the output circuits are not For example you could make this conditional by adding an input contact or CR to control the instruction with a switch or a programming device Or you could just add the instruction without any conditions so the selected outputs would be
Download Pdf Manuals
Related Search
92KB 92kbbq ayce - torrance 92kbps 92kbbq torrance 92kb cc 92 kb to mb
Related Contents
Energy Sistem Energy Book 2160 Manual for Flat PAR64 LED Lamp 177 X 10mm Guide de Démarrage Rapide TX-NR616 Accessoires fournis 2 LW 71 es - Jamesbury Montage- und Bedienungsanleitung Installation and Solaris Flash-Archive - Oracle Documentation Samsung Galaxy Ace 2 Bruksanvisning Projecta Master Electrol 300x400 Matte White P Canon EOS 500D Copyright © All rights reserved.
Failed to retrieve file