background image

5

Programming

Examples

In This Chapter. . . .

— Examples Using

Direct

LOGIC PLCs

— Examples Using DL05, DL105, DL205, D3--350 and DL405

— Example Using D3--330/340

— Examples Using Allen-Bradley

t

SLC 5/03, 5/04 and

Micrologix

— Troubleshooting

StockCheck.com

Summary of Contents for OP-440

Page 1: ...OP 440 Operator Panel Manual Number OP 440 M S t o c k C h e c k c o m...

Page 2: ...o not guarantee the products described in this publication are suitable for your particular application nor do we assume any responsibility for your product design installation or operation If you hav...

Page 3: ...ntact us in reference to this manual be sure and include the revision number Title OP 440 Operator Panel User Manual Manual Number OP 440 M Issue Date Description of Changes Original 8 99 Original Iss...

Page 4: ...fications Dimensions for Mounting 2 2 Panel Specifications 2 3 Physical Specifications 2 3 Environmental Specifications 2 3 Operating Specifications 2 3 Power Supply Connections 2 4 Power Supply Conne...

Page 5: ...4 3 How to Configure Your Panel 4 3 Chapter 5 Programming Examples Examples Using DirectLogic PLCs 5 2 Register Usage 5 2 Examples Using DL05 DL105 DL205 D3 350 and DL405 5 3 Defining the Status Regis...

Page 6: ...iii Table of Contents Appendix A Worksheets Index S t o c k C h e c k c o m...

Page 7: ...1 1 Getting Started In This Chapter Introduction OP 440 Overview Frequently Asked Questions S t o c k C h e c k c o m...

Page 8: ...ill want to keep the DirectSOFT User Manual handy while programming your system For other PLC brands you must reference their user manuals to properly program the ladder logic required to operate the...

Page 9: ...panel Programming Examples Provides example programs for using the standard functions and features These examples include ladder logic for implementing messages using DirectLOGIC compatibles and Alle...

Page 10: ...ation system This panel is not designed for applications which demand operator data entry The panel communicates with your PLC using RS 232 serial communication Details on configuration software and p...

Page 11: ...s port is used for communications between the OP panel and PLC as well as for programming your panel configurations The OP 440 can also draw 5VDC input power through this port through the communicatio...

Page 12: ...Can I connect more than one OP 440 panel to one PLC CPU A Yes but only if the CPU has more than one communications port OP400 series panels can only be used in a stand alone fashion that is one panel...

Page 13: ...ecifications In This Chapter Dimensions for Mounting Panel Specifications Power Supply Connections Connecting the Configuration Cable Selecting a Communications Cable Communications Cable Details S t...

Page 14: ...cifications 2 2 Installation and Specifications Dimensions for Mounting 5 40 5 10 0 60 Example panel mounting 0 50 1 00 Cutout Area 0 20 0 16 DIA four places 2 00 3 10 3 20 Dimensions in Inches S t o...

Page 15: ...idity 95 non condensing Air Composition No corrosive gases permitted Power Consumption 0 75W 5 VDC Power On surge of 0 44A for 1 ms Power Connector Three terminal DC power plug center negative Power S...

Page 16: ...ugh the communications cable All other PLCs including DL305 and Allen Bradley 5 03 5 04 and Micrologix require the use of an external 5VDC power supply during operation NOTE Only use a 5 VDC power sup...

Page 17: ...nal computer The panel may then be configured using the OP WINEDIT configuration software The figure below shows configuration cable connectors and wiring specifications The wiring diagram refers to t...

Page 18: ...Bottom port 25 pin see note below D4 440 Top port OP 4CBL 3 Bottom port see note below D4 450 Phone Jack OP 2CBL 2 Top port 15 pin OP 4CBL 3 Bottom port 25 pin see note below D4 DCM module Only port...

Page 19: ...L 3 DL405 1 2 3 4 1 RX 2 TX 3 not used 4 Sig ground RJ11 RJ11 PLC 1 4 3 2 RJ12 Panel 1 4 8 not used 7 not used 6 not used 5 not used 4 Sig ground 3 RX 2 TX 1 not used DB15 PLC 2 3 4 3 RJ12 Panel 5 11...

Page 20: ...used 11 not used 10 not used 9 not used 5 DB9 PLC 2 3 4 3 RJ12 Panel 1 7 DB15 DB25 1 Sig ground 2 not used 3 RX 4 TX 6 Sig ground 5 5 VDC 3 4 5 6 2 1 RJ12 Panel Connection Panel PLC 4 5 Make this cab...

Page 21: ...13 Understanding the Features In This Chapter Learning the Features PLC Registers Messages Displaying Messages Memory Mapping Process DirectLOGIC User Memory Overview S t o c k C h e c k c o m...

Page 22: ...at you study this chapter before attempting to configure and use the OP panel As you proceed through this chapter relate the topics discussed with how your operator panel may be implemented The concep...

Page 23: ...as M 0 M 1 M 2 thru M 11 Top line data 2 for long BCD and floating point numbers Top line message selection Second line message selection Third line message selection Bottom line message selection Top...

Page 24: ...ge associated with that number will be displayed on the bottom line of the LCD display S Register M 4 This contains numeric data associated with the top line display this is described in more detail l...

Page 25: ...n register M 1 If any number other than 1 thru 160 is placed in a message selection register the associated line will not change Example Message Mary had a little white fleeced lamb To display message...

Page 26: ...ying a top line static message Your ladder logic program must sequence the message being displayed by placing an integer value 1 160 in register M 0 For second line static messages use register M 1 fo...

Page 27: ...double format and fixed point decimal placement When choosing the data format for DirectLogic PLCs use BCD format and with Allen Bradley PLCs use binary For dynamic messages which require fixed decima...

Page 28: ...Message 5 The highlighted registers M 0 and M 4 in this figure result in displaying this top line dynamic message Register Top line message selection Function M 0 Value 5 M 1 M 3 M 4 M 5 M 6 Second li...

Page 29: ...eric values that have a known decimal point placement and are simply handled as integer values within the PLC program The only time you see an actual decimal point is on the LCD display An example of...

Page 30: ...line M 8 for the third line and M 10 is used for the bottom line BCD Double Numbers Display Register Top line message selection Function M 0 Value M 1 M 3 M 4 M 5 M 6 Second line message selection M...

Page 31: ...8 The OP 440 will be able to display any number within that range The panel always uses the format X XXE XX to display the numbers The panel does not have the ability to display all the significant di...

Page 32: ...ne data Bottom line data 2 M 7 M 8 M 9 M 10 M 11 PLC user memory is assigned to each panel with the OP WINEDIT configuration software For new OP panels and add on applications the programmer must defi...

Page 33: ...2 V2003 V2004 V2005 V2006 Function M 0 M 1 M 3 M 4 M 5 M 6 Example Address M 2 DirectLOGIC DL05 DL105 DL205 D3 350 DL405 V2007 V2010 V2011 V2012 V2013 M 7 Top line message selection Second line messag...

Page 34: ...dress M 2 N7 7 N7 8 N7 9 N7 10 N7 11 M 7 M 9 M 10 M 11 M 8 Top line message selection Second line message selection Bottom line message selection Top line data Top line data 2 Third line message selec...

Page 35: ...V1400 V7377 V10000 V17777 User Data Space available for OP panels DirectLOGIC PLCs use octal addressing as indicated by the shaded areas D4 450 V Memory V1400 R400 D3 340 R Memory R563 R700 R767 V406...

Page 36: ...4 Configuring Your Operator Panel In This Chapter Preparing for Configuration How to Configure Your Panel S t o c k C h e c k c o m...

Page 37: ...re your communication link and enter operator display messages Order the software from Automationdirect com using part number OP WINEDIT The OP 440 panel requires version 2 3 or later The OP WINEDIT s...

Page 38: ...lder version of OP WINEDIT you can obtain an upgrade at our web site The software is provided on one 3 1 2 inch high density diskette and comes with its own manual Here are brief installation instruct...

Page 39: ...d parity Enter the appropriate parameters for your PLC The following table provides the necessary information for most DirectLogic controllers For other PLC families reference that product s user manu...

Page 40: ...supply PLC Model Port Baud Rates Parity DL105 D2 230 D2 240 D4 430 440 Top 9600 Odd None D3 340 Stop Bit 1 1 D4 450 9600 1 Odd Odd None Odd 9600 19 2k 4800 9600 19 2k 9600 19 2k Odd None 9600 Odd 9600...

Page 41: ...ten Download and Save Connecting the OP CCBL configuration cable places the panel in configuration mode Select Write to Panel to download the configuration to your panel When the program is finished d...

Page 42: ...In This Chapter Examples Using DirectLOGIC PLCs Examples Using DL05 DL105 DL205 D3 350 and DL405 Example Using D3 330 340 Examples Using Allen Bradleyt SLC 5 03 5 04 and Micrologix Troubleshooting S t...

Page 43: ...e can be used The following table lists the data word registers for DirectLOGIC CPUs Data Word Registers for DirectLOGICt PLCs Family CPU Control Relay Registers Family CPU Control Relay Registers Dir...

Page 44: ...own in the following figure Also assume that message 140 consists of all blanks NOTE The Example Worksheet in Appendix A also has the configuration data and messages needed for these examples The exam...

Page 45: ...03 LD V3000 OUT V2006 This selects message 8 to be displayed in the bottom line This puts data from V3000 into the second line data field Process Step 1 Good Parts 235 LD K140 OUT V2000 OUT V2002 Sele...

Page 46: ...1 to be displayed in the top line LD K8 OUT V2002 LD V2200 OUT V2004 This selects message 8 to be displayed in the third line This puts data from V2200 into top line data field LD K140 OUT V2001 OUT...

Page 47: ...ts message 8 to be displayed in the top line LD K3 OUT V2001 LD V2100 OUT V2006 This selects message 3 to be displayed in the second line This puts data from V2100 into the second line data field LD K...

Page 48: ...selects message 140 to blank the top and bottom lines This selects message 8 to be displayed in the second line This puts the floating point number into third line data field Notice that the displaye...

Page 49: ...e uses message 8 a text message C102 This selects message 140 to blank the top and bottom lines This selects message 8 to be displayed in the second line This puts the floating point number from V3010...

Page 50: ...examples DSTR K1 This rung displays message 1 on the top line and displays the top line data as a BCD Double number DOUT R400 F50 DirectSOFT DSTR R500 DOUT R410 F50 IO0 F60 F60 DSTR K2376 This rung lo...

Page 51: ...radley PLC always be sure that at least 12 words of memory are allocated to allow proper communications All of the examples shown assume the OP 440 has been configured as shown below using OP WINEDIT...

Page 52: ...ource 8 N7 2 Dest 1 MOVE Source N7 4 Dest 56432 Selects message 140 for the second display line Puts binary data 56432 into the top line data field N7 0 Top line message selection Second line message...

Page 53: ...5V power supply make sure that it has a center negative connector If using a PLC that supplies 5V for operation through the communications cable check to make sure sure that pin 5 on the lead going i...

Page 54: ...1A Appendix A Worksheets In This Appendix Example Application Message Worksheet Blank Application Message Worksheet S t o c k C h e c k c o m...

Page 55: ...Range No OP 440 Demo Single Panel OP 440 V2000 DirectLogic DL130 K Sequence 1 3 9600 ODD 1 P a r t s f t Display N A 2 P r o d u c t R e N A N A 3 T a n k l e v L 4 G o o d P s a r 5 R e j e c t t a r...

Page 56: ...Address PAGE OP 440 APPLICATION WORKSHEET Data Format Range No MESSAGE Text Message Action Data Format Range No Action Data Format Range No Action Data Format Range No Action Data Format Range No Acti...

Page 57: ...ange No Action Data Format Range No Action Data Format Range No Action Data Format Range No Action Data Format Range No Action Data Format Range No Action Data Format Range No Action Data Format Range...

Page 58: ...software 4 2 Configuration Cable 2 5 Configuring base register address 4 5 communications 4 4 overview 4 3 panel functions 4 6 Connecting Cables pinouts 2 7 selecting 2 6 D Decimal point placement 3 9...

Page 59: ...s 2 2 mounting dimensions 2 2 Panel Configuration problems 5 12 Power Receptacle 1 5 Power Supply connections 2 4 requirements 1 6 2 3 S Serial Port 1 5 Specifications 2 3 communication link 2 3 envir...

Reviews: