Home

Chapter 1.qxd

image

Contents

1. Y10 YO HOOOOU0OGOO000000d NEXT Use arrow keys to select point then use ON and OFF to change the status Y2 is now on Y 10 YO HOUOOOOUOUDUOO0HOO ON lt SHFT INS Bit Forcing with Direct Access From a blank display use the following keystrokes to force Y7 ON Solid fill indicates point is on sher is E SHFT re BIT FORCE Y7 From a blank display use the following keystrokes to force Y7 OFF No fill indicates point is off ee ae SHFT orr BIT FORCE Y7 o 9 16 DLO5 Micro PLC User Manual 5th Edition 6 04
2. duplicate reference check with a Handheld Programmer Use AUX 21 to perform syntax check CLR c 2 B 1 AUX ENT AUX 21 CHECK PRO 9 1 SYN 2 DUP REF Select duplicate reference check gt EN T very long You may not get the busy BUSY display if the program is not One of two displays will appear Error Display example shows location in question Syntax OK display 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 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 DLO05 Micro PLC User Manual 5th Edition 6 04 l 9 1 3 Chapter 9 Maintenance and Troubleshooting Run Time Edits The DLO5 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 on it
3. Chapter 9 Maintenance and Troubleshooting ey Machine Startup and Program Troubleshooting The DL05 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 9 AUX 21 CHECK PRO C B 2 1 AUX ENT 1 SYN 2 DUP REF Select syntax check default selection ap 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 lt lt _ GSYNTAX ERROR 2 See the Error Codes Section for a complete listing of programming error codes If y
4. ess ENT the next address is displayed OR CO Chapter 9 Maintenance and Troubleshooting 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 you understand how the DLO5 CPUs process the forcing requests WARNING Only authorized personnel fully familiar with the application should make program changes Do thoroughly consider the impact of any changes to minimize the risk of personal injury or damage to equipment Bit Forcing Bit forcing temporarily changes the status of a discrete bit For example you may want to force an input on even though the program has turned it off This allows you to change the point status stored in the image register The forced value will be valid until the CPU writes to the image register location during the next scan This is useful you just need to force a bit on to trigger another event XO YO The following diagrams show a brief example of how OUT you could use the D2 HPP Handheld Programmer to force an I O point The example assumes you have already placed the CPU into Run Mode 9 From a clear display use the following keystrokes STAT ENT Use the PREV or NEXT keys to select the Y data type Once the Y appears press 0 to start at YO co 16P STATUS BIT REF X
5. isables YO and Y1 Normal Program XO x2 YO a p Pause X1 X3 X4 XO X2 AN X10 YI D 2 X1 X3 X4 P C2 1 1 7 X10 a 0 C Gs 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 DL05 Micro PLC User Manual 5th Edition 6 04 Chapter 9 Maintenance and Troubleshooting nS Normal Program STOP puts CPU in Program Mode XO x2 Yo x7 C Go X1 X3 X4 XO X2 YO 1 1 X5 YI XI X3 X4 r D i z X5 eL exo C 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
6. ou 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 DLO05 Micro PLC User Manual 5th Edition 6 04 9_ 1 Chapter 9 Maintenance and Troubleshooting a Special Instructions 9 12 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 YO XO X2 YO CD X1 X3 X4 X1 X3 X4 i i X10 Y1 C5 ED Z X10 Y1 GD H C GD 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 disabled at all times PAUSE d
7. tant Store equal Store not equal Exclusive or accumulator constant And equal And not equal Load discrete points to accumulator Or equal Or not equal Output accumulator to discrete points Store greater than or equal Store less than Shift accumulator right And greater than or equal And less than Shift accumulator left 9 14 DLO05 Micro PLC User Manual 5th Edition 6 04 Numeric constant Chapter 9 Maintenance and Troubleshooting We ll use the program logic shown to describe how this process works In the example we ll xo TA our change X0 to C10 Note the example assumes 5 you have already placed the CPU in Run Mode co Use the MODE key to select Run Time Edits 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 SHFT xX A SHFT FD REF g 00000 STR XO 9 Press the arrow key to move to the X Then enter the new contact C10 RUNTIME EDIT gt gt SHFT 1 j R A f ENT STR C10 DLO05 Micro PLC User Manual 5th Edition 6 04 9_ 5 Press ENT to confirm the change mr Note once you pr
8. will remain on AN 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 Mnemonic Description Or greater than or equal or less than Fast timer Load data constant Accumulating timer Load data double constant Accumulating fast timer Add data double constant Counter Subtract data double constant Up Down counter Multiply constant Stage counter Divide constant Store Store not Compare accumulator constant And And not And accumulator constant Or Or not Or accumulator cons

Download Pdf Manuals

image

Related Search

Related Contents

  Minox CD 112 Instruction Manual  Samsung GT-S5570I Felhasználói kézikönyv  Service Modes - Tecnicosaurios  取扱説明書(保証書付き)  Samsung VP-MX20C Bruksanvisning  model 104-aio12-8 104-ai12-8 104-ao12-4 user  Herunterladen  User Manual – English  

Copyright © All rights reserved.
Failed to retrieve file