Home

Analog Output Module User Manual

image

Contents

1. s saim 2 1 Low Voltage Directive eee eee ee eee 2 1 Before You Install Your Analog Module 2 2 Calculating Power Requirements 2 2 Determine Module Location in the I O Chassis 2 3 Setting Module Configuration Jumpers 2 3 Current Output Version 33 sesks 2 3 Voltage Output Version 2 3 Last State Configuration Jumpers 2 3 Setting Voltage Range Configuration Jumpers 1771 OFE1 only 2 6 Installing the Analog Module 2 8 Connecting Wiring 0 cece eee eee 2 10 Interpreting the Indicator Lights 2 12 Chapter Summary aaa 2 12 Chapter 3 Chapter Objectives 3 1 Configuring Your Module 3 1 Configuration Word 2 Re ERR nn 3 3 Default Configuration 3 4 Data Format ERR ES RENE ERR 3 4 DCAING REX wx m a e der Rs 3 6 Scaling Value Polarity 3 6 Maximum and Minimum Scaling Values 3 6 Procedure for Configuring Your Module 3 9 Chapter SUMMA ous eese da epe leeds eel Sindee a pe 3 9 Publication 1771 6 5 30 November 1998 ii Table of Contents Module Programming Module Status and Input Data Cal
2. connector and possible system faults Connector I O chassis You can change the position of these bands if subsequent system design and rewiring makes insertion of a different type of module necessary Publication 1771 6 5 30 November 1998 2 8 Install the Module and Field Wiring Arm ATTENTION Remove power from the 1771 I O chassis backplane and field wiring arm before removing or installing an module Failure to remove power from backplane or wiring arm could cause module damage degradation of performance or injury Failure to remove power from backplane could cause injury or eguipment damage due to possible unexpected operation Attach the wiring arm 1771 WC to the horizontal bar at the bottom of the I O chassis The wiring arm pivots upward and connects with the module so you can install or remove the module without disconnecting the wires wiring arm 1771 WH horizontal bar install 17643 locking tab 2 1771 A1B A2B A3B1 A4B chassis card guides SS Ew S module Snap the chassis latch over the top of the module to secure it 1771 A1B A2B A3B1 A4B Series B I O chassis locking bar card guides i module Swing the chassis locking bar down into place to secure the modules Make sure the locking pins en
3. xe ke Re Xx Rex ned Chapter 7 Chapter Objectives Interpreting the Indicator Lights Read Block Transfer Status Words Chapter Summary lues rz ke e o RR a sest neds Specifications Block Transfer with Mini PLC 2 and PLC 2 20 Processors Data Table Formats Table of Contents iii Appendix A rupe MEM A 1 Appendix B Multiple GET Instructions sesto Ebr RI bres B 1 Pn M PI REDIT B 1 aU crop bass tes B 2 HUNG SUMMAN Ke a te B 2 Setting the Block Length Multiple GET Instructions Only B 3 Appendix C 4 Digit Binary Coded Decimal BCD C 1 Signed magnitude Binary C 2 Two s Complement Binary C 3 Publication 1771 6 5 30 November 1998 iv Table of Contents Publication 1771 6 5 30 November 1998 What This Chapter Contains About the Analog Output Module Chapter 1 Overview of the Analog Output Module Read this chapter to familiarize yourself with the analog output module For information on See page About the dese deed ssi 1 1 Module Features seek eee mee ve 1 2 Output Ranges 1 2 How Analog Modules Communicate with Programmable 1 3 Conirolleis sus vasa saaka e hr a The Analog Output Module cat no 1771 OFE
4. A 00 15 00 17 Channel 4 Data Value Configuration Word refer to Figure 3 1 below 00 15 00 17 Channel 1 Minimum scaling value N 00 15 00 17 Channel 1 Maximum scaling value 00 15 00 17 Channel 2 Minimum scaling value 00 15 00 17 Channel 2 Maximum scaling value 10 00 15 00 17 Channel 3 Minimum scaling value 11 00 15 00 17 Channel 3 Maximum scaling value 12 00 15 00 17 Channel 4 Minimum scaling value 13 00 15 00 17 Channel 4 Maximum scaling value Word 5 in the BTW is the module configuration word Information that you enter in this word tells the module what data format to expect and the polarity of the data and scaling values The remaining eight words words 6 through 13 in the BTW are reserved for minimum and maximum scaling values You enter these values if you wish to scale a particular channel 3 3 Configuration Word Word 5 of the block transfer write is the module configuration word Figure 3 1 It contains information on data polarity scaling polarity data format Figure 3 1 Configuration Block Transfer Write Word 5 1 Channel 1 Data Format s Channel ts By 4 Channel 4 ee Data Sign Polarity Reserved 1 Negative 0 Positive Maximum Scaling Value Polarity 1 Negative Vie Positive Minimum Scaling Value Polarity 1 Negative 0 Positive 12883 Table 3 A Bit Word Descriptions for Configuration Block Transfer Wr
5. Rw Allen Bradley Analog Output Module User Manual Cat No 1771 OFE Series B Important User Information Because of the variety of uses for the products described in this publication those responsible for the application and use of this control equipment must satisfy themselves that all necessary steps have been taken to assure that each application and use meets all performance and safety requirements including any applicable laws regulations codes and standards The illustrations charts sample programs and layout examples shown in this guide are intended solely for example Since there are many variables and requirements associated with any particular installation Allen Bradley does not assume responsibility or liability to include intellectual property liability for actual use based upon the examples shown in this publication Allen Bradley publication SGI 1 1 Safety Guidelines For The Application Installation and Maintenance of Solid State Control available from your local Allen Bradley office describes some important differences between solid state equipment and electromechanical devices which should be taken into consideration when applying products such as those described in this publication Reproduction of the contents of this copyrighted publication in whole or in part without written permission of Allen Bradley Company Inc is prohibited Throughout this manual we make notes to ale
6. 4 Individually Isolated Bulletin 1771 I O Chassis One Slot 1 to 5V DC 10 to 10V DC 0 to 10V 10mA per Channel in Voltage Mode 1771 OFE1 4 to 20mA 1771 OFE2 0 to 50mA 1771 OFE3 12 Bit Binary 1 Part in 4095 0 01HF Voltage Outputs 0 0224 F Current Outputs 0 25 ohms for Voltage Outputs Exclusive of Contact Wiring Resistance gt 1 5 megohms for Current Outputs 1771 OFE2 Up to 1200 ohms Load Resistance 1771 OFE3 Up to 400 ohms Load Resistance All outputs are protected against short circuit load conditions not to exceed one minute 1771 OFE1 1 50A 1771 OFE2 1 50A 1771 OFE3 2 50A 1771 OFE1 7 9W 1771 OFE2 7 9W 1771 OFE3 13 1W 1771 OFE1 26 9 BTU hr 1771 OFE2 26 9 BTU hr 1771 OFE3 44 5 BTU hr 1000V rms Between Output Channels Tested at 1500V Transient for 1s Between the Output Circuit and the Control Logic System Side 0 8 ms Maximum for a Resistive Load 8 0 ms for All Channels Using BCD Data and Scaling 1 6 ms for All Channels Using Binary Data and No Scaling 0 1 of Full Scale 1 2 LSD BCD Mode 1 2 LSB BINARY Mode 50 ppm C of Full Scale Range Publication 1771 6 5 30 November 1998 2 Publication 1771 6 5 30 November 1998 Environmental Conditions Operational Temperature Storage Temperature Humidity Rating Field Wiring Arm Field Wiring Arm Screw Torgue Agency Certification when product or packaging is marked 0 C to 60 C 32 F to
7. 1771 6 5 30 November 1998 What This Chapter Contains Configuring Your Module Chapter 3 Configuring Your Output Module In this chapter you will read about For information on See page Configuring Your Module 3 1 Configuration Word 3 3 Default Configuration 3 4 Data Format Oba wed meee 3 4 Scaling te x behead Yu are deed 3 6 Procedure for Configuring Your Module 3 9 Because of the many analog devices available and the wide variety of possible applications you must configure the module to conform to the analog device and specific application that you have chosen You do this with a block transfer write instruction BTW The write block can be up to 13 words long and contains output data and information on data format and scaling Word Assignment for Block Transfer Write oss une b Channel 1 Data Value Channel 2 Data Value Channel 3 Data Value Channel 4 Data Value 5 Minimum Maximum Scaling Value Polarity Data Polarity 10 12 13 Channel 1 Minimum Scaling Value Channel 1 Maximum Scaling Value Channel 2 Minimum Scaling Value Channel 2 Maximum Scaling Value Channel 3 Minimum Scaling Value Channel 3 Maximum Scaling Value Channel 4 Minim
8. 1998 4 6 Figure 4 3 Binary Configuration Word Represented in BCD Set 1 Negative Channel 3 Minimum Scaling Factor Polarity Reset 0 Positive Car slejas ES ERE Word Octal Bit Word 5 0 Block Transfer Programming PLC 3 Family Processors Only Publication 1771 6 5 30 November 1998 Block transfer operation with the PLC 3 processor uses one binary file in a data table section for module location and other related data This is the block transfer control file The block transfer data file stores data that you want transferred to your module during block transfer write or from your module block transfer read The address of the block transfer data file is stored in the block transfer control file A sample program segment is shown in Figure 4 4 and described in the following paragraphs The industrial terminal prompts you to create a control file when either block transfer instruction is entered The same block transfer control file 15 used for both read and write instructions for your module PLC 3 Example Program Module Location Rack 1 Module Group 0 Slot 1 Block Transfer Control File FB1 0 BTW File Configuration file FB2 1 BTR File Buffer file FB3 1 Output Data File FB4 1 Storage Bit B0 0 BTW Done Bit B1 0 05 BTR Done Bit B1 0 15 Module Configuration 1771 OFE1 Voltage Version Voltage Range 1 to 5V Data Format BCD Channels 1 and 2 No scaling Scaling Parameters Channel 3 20
9. 51 31 52 32 53 33 54 34 55 35 56 36 5 111 144414 444 Lo22 ST 60 40 61 41 62 42 63 43 64 44 65 45 66 46 ASS Sea eee ee Aree lp ej V es 70 50 71 51 72 52 73 53 11157 Publication 1771 6 5 30 November 1998 4 5 Table 4 PLC 2 Family Data Table Word ALLEN BRADLEY Programmable Controller DATA TABLE WORD ASSIGNMENTS 64 WORD PAGE or ADDRESS TO PROJECT NAME OFE PROGRAM PROCESSOR PLC 2 FAMILY 5 PLC 3 DESIGNER DATA TABLE SIZE WORD ADDR DESCRIPTION WORD ADDR DESCRIPTION i Aj on X ga Comments Block length for block transfer write is 00 Unscaled channels have a minimum scaling value of 0 and a maximum scaling value of 4095 If channels 1 and 2 were configured for 10V operation then the minimum scaling value would be 4095 and the maximum scaling value would be 4095 Since channel 3 has a negative minimum scaling value you must set the polar ity bit bit 10 associated with channel 3 s minimum scaling word in the configuration word word 5 of the write block 12891 Publication 1771 6 5 30 November
10. Family Processors 4 8 Programs Sample 4 2 4 7 4 8 R RBT Status Words 7 1 5 4 2 4 7 4 8 Scaling 3 6 Maximum and Minimum Values 3 6 Status Words RBT 7 1 T Test Eguipment 6 1 Troubleshooting 7 2 U Update Time 4 13 V voltage output version 2 3 voltage range configuration plugs 2 6 W Word Block Transfer Boundary 4 11 Configuration 3 3 Scaling 3 6 Allen Bradley Publication Problem Report Wy If you find a problem with our documentation please complete and return this form Pub Name Analog Output Module User Manual Cat No 1771 OFE B Pub No 1771 6 5 30 Pub Date November 1998 PartNo 955124 45 Check Problem s Type Describe Problem s Internal Use Only Technical Accuracy text illustration m Completeness L procedure step L illustration L definition L info in manual What information is missing _ example guideline feature accessibility E explanation L other info not in manual Clarity What is unclear Sequence What is not in the right order L Other Comments Use back for more comments Your Name Location Phone Return to Marketing Communications Allen Bradley Co 1 Allen Bradley Drive Mayfield Hts OH 44124 6118 Phone 216 646 3176 FAX 216 646 4320 Publication ICCG 5 21 August 1995
11. Return the module to the I O rack 22 Replace your analog device wires or the original field wiring arm if you used a spare for calibration purposes Your module should now be properly calibrated and ready for use Current Output Version Preparation for Calibration 1771 OFE2 1 Turn off the processor and I O chassis power 2 Remove the analog output module from the I O chassis 3 Remove the module covers 4 Connect the backplane extender card cat 1771 EX to the circuit board Insert extender card circuit board assembly in the chassis 6 Reconnect the field wiring arm Publication 1771 6 5 30 November 1998 Channel Calibration 1 Disconnect your analog device wires from the module s field wiring arm Important If you have a spare or unused field wiring arm you may want to temporarily switch it with the module s present field wiring arm You can use this spare arm for test purposes in order to avoid disconnecting your analog device wires Important The accuracy of this calibration procedure is dependent upon the precision of your load resistors We suggest using resistors with a tolerance of 0 01 You should be able to attain voltage readings to 2mV If you use resistors of a value different from 250 ohms you should be able to attain voltage readings of 0 05 of V out If you require greater accuracy you need to use load resistors with tolerances less than 0 01 Use loa
12. You can use the negative ranges by setting the negative data bits in word 5 of the BTW Publication 1771 6 5 30 November 1998 3 6 Scaling Data Format 1 Binary 0 BCD Reserved Maximum Scaling Value Polarity 1 Negative 0 Positive Publication 1771 6 5 30 November 1998 Scaling is the conversion of unscaled data to engineering units such as gallons minute degrees centigrade and pounds sguare inch You can use the scaling feature to send the data for each channel to the module in an optional scaled value representing actual engineering units This value is scaled by the module to a proportional binary value before it is used by the corresponding channel The resolution of this data is one part in 4095 The scaling feature is implemented by entering scaling values in the data format selected in words 6 through 13 of the BTW Scaling Value Polarity Bits 04 to 11 04 to 13 octal of the configuration word word 5 in the write block designate positive or negative scaling values Figure 3 2 By setting the appropriate negative scaling bit in word 5 you can scale negative data or enable a negative scaling value The sign bits are ignored if a corresponding channel is not scaled Figure 3 2 Location of Scaling Value Polarity Bits in the Block Transfer Write Configuration Word 1 Channel 1 2 Channel 2 3 Channel 3 4 Channel 4 Data Sign Polarity 1 Negative 0 Positive Minimum Scaling Value
13. both enable bits are off until the next rung is scanned at which time the BTW is enabled Rung 2 The BTW is writing in an 2 as fast as possible mode As soon as the instruction executes it is reenabled for another transfer Instruction execution could also be scheduled using a timer done bit or some other input condition 4 9 Figure 4 6 PLC 5 Example Program 1 BTW N10 0 BLOCK XFER WRITE EN Rack Address 0 E Group Address 0 15 Module Address 0 DN Control Block N10 0 Data File N10 5 Length 13 ER Continuous Module Location File Configuration Rack 0 Module Group 0 Slot 0 Control Array N10 0 Data File N10 5 Configuration Word N10 9 Enable Bit N10 0 15 Figure 4 7 PLC 5 Example Program 2 BLOCK XFER READ 100 1 0 Rack Address 0 lt EN Group Address 0 15 15 Module Address 0 DN Control Block N11 0 Data File N11 5 Length 5 Continuous BLOCK XFER WRITE 100 N11 0 Rack 55 0 Z Group Address 0 15 15 Module Address 0 DN Control Block N10 0 Module Location File Configuration Control Array Data File Output Data Image Status Word Enable Bit File Configuration Control Array Data File Configuration Word Enable Bit Data File Length 13 Continuous ER Rack 0 Group 0 Slot 0 BTR N11 0 N11 5 N11 5 through N11 8 N11 9 N11 0 15 BTW N10 0 N10 5 N10 9 N10 0 15 Publication 1771 6 5 30 Novem
14. from the module in one program scan Rung 5 When a read block transfer has been successfully completed its done bit Bit XXX X7 is set When the done bit is set it enables the file to file move instruction The read block transfer data file buffer is then moved into a storage data file This prevents the processor from transmitting invalid data should a block transfer communication fault occur Publication 1771 6 5 30 November 1998 Write Block Transfer Done Bit Storage Bit Read Block Transfer Done Bit Storage Bit gt i y Storage Bit BLOCK XFER WRITE Data Address Module Address Block Length File PM BLOCK XFER READ Data Address Module Address Block Length File Read Block Transfer Dong FILE TO FILE MOVE Enable Counter Address EN Position 17 File Length Done File A File R Rate per Scan 15 4 3 PLC 2 Family Example Program Module Location Rack 1 Module Group 0 Slot 1 030 for Block Transfer Write T C Addresses 031 for Block Transfer Read BTW File Configuration file 0200 0214 BTR File Buffer file 0300 0304 Output Data File 0400 0404 Storage Bit 050 00 BTW Done Bit 110 16 BTR Done Bit 110 17 Module Configuration 1771 OFE1 Voltage Version Voltage Range 1 to 5V Data Format BCD Channels 1 and 2 No scaling Scaling Parameters Channel 3 20 to 275 Channel 4 100 to 500 Figure 4 2 PLC 2 Family Example Program START 110 LADDER DIAGRAM 050 BLOCK XFER WRITE Data
15. is an intelligent block transfer module that converts binary or four digit BCD values supplied by your processor to analog signals at its four module outputs The module accomplishes the data transfer with block transfer programming Block transfer write BTW programming moves up to 13 words of data from the processor to the module for digital to analog D A conversion in one program scan This information is converted to analog signals and is sent to the appropriate output channels A block transfer read BTR moves five words of data from the module to the processor data table if desired for diagnostic purposes The BTR is discussed in Chapter 7 Diagnostics and Troubleshooting The module has a scaling feature that converts data sent to the module in engineering units to the proper analog signals You may connect up to four analog output devices such as valve positioners motor speed controllers signal converters or recorders to the analog output module s four channels All analog output device inputs should conform to the voltage or current ratings of each module output channel Publication 1771 6 5 30 November 1998 Publication 1771 6 5 30 November 1998 Module Features In the programmable controller system the analog output module provides the following functions four individually isolated differential outputs selectable scaling to engineering units selectable data format e selectable voltage
16. ranges 1771 OFE1 only no external power required power 15 drawn from the 1771 I O chassis backplane requires only one I O slot Output Ranges There are three versions of the analog output module Catalog Number Module Output Output Range 1 5V de Selected by 1771 OFE1 Voltage 0 10V dc configuration 10V dc jumpers 1771 OFE2 4 20 Factory set 1771 OFE3 0 50mA Factory set The voltage version 1771 OFE1 voltage output range is selected with configuration jumpers in the module Note The 1771 OFE1 is shipped with the selection jumpers in the 10V position The current output versions 1771 OFE2 and are factory set Analog Modules Communicate with Programmable Controllers Accuracy Chapter Summary 1 3 The processor transfers data to the module block transfer write and from the module block transfer read using BTW and BTR instructions in your ladder diagram program These instructions let the processor send output values to the module establish the module s mode of operation see illustration below and receive status information from the module Communication Between Processor and Module 3 To analog output devices 12876 Programmable Controller Analog Output Module Cat No 1771 OFE 1 The processor transfers your configuration and output data to the module via a block transfer write instruction 2 The module converts the data into proportional voltage
17. 001 12 00 Group Address 0 UN L Module Address 1 High 15 Data Address FB003 0001 CNTL Length 0 ER CNTL FB001 0000 13 Table 4 C PLC 3 Data Table Word Assignments for Example 1 Start FB002 0000 0 1 2 3 4 5 6 7 0000 2048 1024 0150 0350 0100 0000 4095 0000 4095 0020 0275 0100 0500 The PLC 5 s bidirectional program is very simple because processor handles the enable bits and ensures valid data Two examples are shown The first is a write only program you can use when module status is not required The second is a read write program Important the 1771 OFE module is configured in BCD data format and you are using a PLC 5 processor extra programming will have to be added to the ladder program i e CPT or TOD instruction to convert binary data to BCD data before it is transferred to the 1771 OFE module s block transfer write data file Also when checking your program s operation remember to verify proper output voltage current values based on the data values sent to the module Program Action Example 1 Rung 1 The BTW is writing in an as fast as possible mode As soon as the instruction executes it is reenabled for another transfer Instruction execution could also be scheduled using a timer done bit or some other input condition Program Action Example 2 Rung 1 1 The enable bits of both instructions alternate execution between rungs This rung is executed first When the BTR is done
18. 140 F 40 C to 85 C 40 F to 185 F 5 to 95 Non Condensing Catalog No 1771 WC 7 9 pound inches 0 6 1 1Nm CSA certified CSA Class 1 Division 2 Groups D certified Hazardous or non hazardous locations UL listed UL Class 1 Division 2 Groups B C D certified Hazardous or non hazardous locations CE marked for all applicable directives Multiple GET Instructions Appendix B Block Transfer with Mini PLC 2 and PLC 2 20 Processors Programming multiple GET instructions is similar to block format instructions programmed for other PLC 2 family processors The data table maps are identical and the way information is addressed and stored in processor memory is the same The only difference is in how you set up block transfer write instructions in your program For multiple GET instructions individual rungs of ladder logic are used instead of a single rung with a block transfer instruction A sample rung using multiple GET instructions is shown in Figure B 1 and described in the following paragraphs Rung 1 This rung is used to set four conditions e EXAMINE ON Instruction 113 02 This is an optional instruction When used block transfers will only be initiated when a certain action takes place If you do not use this instruction block transfers will be initiated every I O scan First GET Instruction 030 120 Identifies the module s physical address 120 by rack group and s
19. 1771 6 5 30 November 1998 SOC 2 Summary of Changes Publication 1771 6 5 30 November 1998 Manual s Purpose Audience Vocabulary Manual Organization Module Module Installation Module Configuration Preface Preface This manual shows you how to use the analog output module with an Allen Bradley programmable controller It describes methods for installing programming calibrating and troubleshooting your module To make efficient use of your module you must be able to program and operate an Allen Bradley programmable controller In particular you must be able to program block transfer instructions In this manual we assume that you know how to do this If you do not refer to the appropriate programming and operations manual for the processor that you are using In this manual we refer to the Analog Output Module cat no 1771 OFE as the output module Programmable Controller as the processor or controller The manual is divided into seven chapters The following chart shows each chapter with its corresponding title and a brief overview of the topics covered in that chapter Title Topics Covered Overview of the Analog Output Description of the module including general and hardware features How modules communicate with programmable controllers Power requirements keying module location and hard ware configuration Software configurations output range selection
20. 1998 Figure 6 3 Location of Configuration Jumpers and Resistor Pots Resistor Potentiometers Adjustment Screws 12993 8 Place processor in TEST or PROG mode 9 Output full scale 10 either with write block transfer data or by placing the LAST STATE configuration jumpers in the MAX position 10 Adjust R66 until the reading is 10V 1mV 11 Output 10V either with write block transfer data or placing the LAST STATE configuration jumpers in the MIN position 12 Adjust R67 until the reading is one half the difference between 10V and the initial reading 13 Output full scale 10V again either with write block transfer data or by placing the LAST STATE configuration jumpers in the MAX position 14 Adjust R66 again until the reading is 10V 1 15 Reconnect voltmeter to appropriate screws field wiring arm Repeat Steps 9 through 14 for Channels 2 3 and 4 until you obtain the desired tolerance Table 6 B lists the appropriate resistor pots for each channel Table 6 B Resistor Pots Channel Resistor Pots 1 R66 R67 2 R73 R74 3 R80 R81 4 R87 R88 16 Turn off power to the module 17 Return the LAST STATE configuration jumpers to the position they were in before you started calibration 18 Return the channel configuration jumpers to their original positions 19 Remove the extender card and return the circuit board to the module 20 Replace the module covers 21
21. 2 and 3 These OUTPUT ENERGIZE instructions 012 01 and 012 02 define the number of words to be transferred This is accomplished by setting a binary bit pattern in the module s output image table control byte The binary bit pattern used Bits 01 and 02 energized is equivalent to six words or channels and is expressed as 110 in binary notation Rung Summary Once the block transfer read operation is complete the processor automatically sets Bit 07 in the input image table status byte and stores the block length of the data transferred Figure B 1 Multiple GET Instructions 010 Output Image Table Control 012 2 Byte Contains Read Enable Bit and Block 017 Length in Binary Code 027 Data Address 030 Contains Module Address in BCD First Address Destination of Transferred Data 060 065 110 Input Image Table Status Byte 117 Contains Done Bit T5 T 6 T mw imere Address in BCD R Read 07 Bit 12994 Setting the Block Length Multiple GET Instructions Only For Block Transfer Active Operations Only B 3 The output module is capable of transferring up to 13 words in one program scan The number of words transferred is determined by the block length entered in the output image table control byte The bits in the output image table control byte Bits 00 05 must be programmed to specify a binary value equal to the number of words to be transferred For
22. 5V 20mA 2mV Figure 6 6 10 Output 4mA 1V minimum scale either with write block transfer data or by placing the LAST STATE configuration jumpers in the MIN position MIN 11 Adjust R67 until the reading is 3 4 the difference between and the initial minimum scale reading Publication 1771 6 5 30 November 1998 6 8 Configuration Jumpers set for 10V scale Channel 0 Channel 1 Channel 2 Channel 3 MAX Publication 1771 6 5 30 November 1998 Figure 6 6 Location of Resistor Pots Resistor Potentiometers Adjustment Screws 12993 12 Output full scale 20mA again either with write block transfer data or by placing the LAST STATE configuration jumpers in the MAX position 13 Adjust R66 until the reading is 5V 2mV 14 Reconnect voltmeter to the appropriate screws on the field wiring arm Repeat Steps 8 through 13 for Channels 2 3 and 4 until the desired tolerance is obtained Table 6 C lists the appropriate resistor pots Table 6 C Resistor Pots Channel Resistor Pots 1 R66 R67 2 R73 R74 3 R80 R81 4 R87 R88 Current Output Version 1771 15 Remove extender card and return the circuit board to module 16 Replace the LAST STATE configuration jumpers to their original position 17 Replace the module covers 18 Return the module to the I O rack 19 Replace your analog device wires or the original field wiring arm if you used a spare for calibr
23. Address 030 Module Address 101 Block Length 00 File 200 277 BLOCK XFER READ Data 55 031 Module Address 101 Block Length 00 File 300 377 FILE TO FILE MOVE Counter Address Position File Length File A File R Rate per Scan Publication 1771 6 5 30 November 1998 4 4 Table 4 A Data Table Map Allen Bradley Programmable Controller Data Table MAP 128 word PAGE ADDRESS TO PROJECT NAMEOFE_Data Table Write Block PROCESSOR__PLC 2 Family DESIGNER DATA TABLE SIZE STARTING WORD ADDRESS STARTING WORD ADDRESS 00 0 BIT NUMBER BIT NUMBER 17 10 07 00 DESCRIPTION 10 07 DESCRIPTION 2 00 mS 00 gt 01 01 Buffer Area 02 5 Words No Scaling 02 BTR 03 Configuration 03 04 Data 04 05 05 06 06 07 01mW Qr E pee op Jp npe pes pe ei Se 10 13 words With Scaling 10 11 11 12 is STARTING WORD ADDRESS 15 16 BIT NUMBER 17 17 10 07 DESCRIPTION 20 00 21 01 Input Data 22 02 File FFM 23 03 24 04 25 05 26 06 22 _ 0 1 54 1144 1 d d o odd d od d d os i ews 30 10 31 11 32 12 33 13 34 14 35 15 36 16 2 Ur IEEE um 40 20 41 21 42 22 43 23 44 24 45 25 46 26 Ar ll 44 eee 2 104745 dd qoid qd dd d as 50 30
24. BCD or 12 bit binary 7 3 Chapter Summary The fifth word contains the status of each DAC word that is whether data is out of range or scaling is improperly programmed The fifth word also indicates that I O RESET has been established when the processor is in the PROG TEST or RUN mode Description When set indicate invalid channel data is sent to the module These bits are not reset until a correct write block transfer is sent Bit 03 corresponds to Channel 4 Bit 02 to Channel 3 and so on Is the RESET bit When set it indicates that the processor is in TEST or PROGRAM mode block transfer data is not being written to the module Bits 00 03 In this chapter you learned how to use the indicator lights and word 5 in the BTR for troubleshooting your module Publication 1771 6 5 30 November 1998 7 4 Publication 1771 6 5 30 November 1998 Appendix Specifications Outputs per Module Module Location Output Voltage Ranges Nominal 1771 OFE1 Output Current maximum Output Current Ranges Nominal Digital Resolution Output Capacitance Output Impedance Max Loop Impedance in the Current Mode Output Overload Protection Backplane Power Power Dissipation Thermal Dissipation Isolation D A Converter Specifications Settling Time Internal Scan Rate Accuracy Including Linearity Gain and Offset at 25 C Temperature Coefficient Specifications continued on next page
25. Calibrating Your Output Module In this chapter you will read how to calibrate your output module For information on See page Tools and test equipment 6 1 Calibrating your module 6 1 Voltage Output version 1771 OFE1 6 2 Current Output version 1771 2 6 5 Current Output version 1771 6 9 Table 6 A lists tools and test eguipment reguired for module calibration Table 6 A Test Eguipment Description 0 01 Accuracy Minimum 1 0K or Greater 0 25W 1 0 P N 628217 01 Current Versions Both Voltage and Current Pot Tweeker Alignment Tool Calibrating Your Module 250 ohm or Greater 0 25W 0 01 P N 940719 01 Small Jeweler s Screwdriver Newark Electronics or 500 North Pulaski Road Chicago IL 60624 Cat No 1771 EX The analog output module is shipped from the factory already calibrated If it becomes necessary to recalibrate the analog output module you must calibrate it in an I O chassis The module needs to communicate with the processor Calibration consists of two tasks preparing the module for calibration calibrating each channel The calibration procedure for the voltage output version module is different from the calibration procedure for the current output version module Refer to the appropriate section for your module ATTENTION Do not attempt c
26. Configuration Values Output Range Minimum Maximum Selection Value Value 4 20mA o 20mA 0 50mA 50mA 1 5V EE 5V 0 10V 10V 10V 10V These output conditions are active only if the following conditions exist the module faults e the processor is in the PROGRAM or TEST mode rack switch 1 is in reset position Publication 1771 6 5 30 November 1998 Publication 1771 6 5 30 November 1998 Rack switch 1 determines what output conditions occur during fault Rack Switch 1 Configuration Jumper Setting Setting HOLD LAST STATE Last State Last State Last State in e set last state configuration jumpers proceed as follows ATTENTION Do not insert modules into or remove modules from the I O chassis while system power is ON Failure to observe this rule could result in damage to module circuitry and unexpected machine operation 1 Locate the jumpers as shown in Figure 2 1 2 Carefully pull up on the jumpers to remove from the pins 3 Reposition as necessary to provide the value selected in Table 2 A Setting Voltage Range Configuration Jumpers 1771 OFE1 only If you ordered the voltage output version you must set several configuration jumpers located inside the module on the circuit board To do this follow these steps 2 Locate the configuration jumpers and set them according to your output voltage requirements Figu
27. In order for the processor to exchange data with the output module you must include block transfer read and write instructions in your program The types of programming formats available for block transfer are block format and multiple GET instructions You can program most processors that use the 1771 I O structure with block format instructions Exceptions are the Mini PLC 2 cat no 1772 LN3 and PLC 2 20 cat no 1772 LP1 LP2 processors they use the multiple GET instructions Refer to Appendix B for information on block transfer with the Mini PLC 2 and the PLC 2 20 There are three types of block format instructions one each for the PLC 2 PLC 3 and PLC 5 processors Each is described in the paragraphs that follow Publication 1771 6 5 30 November 1998 4 2 Block Transfer Programming PLC 2 Family Processors Only Output data is transferred from the processor s data table to the module with a write block transfer Diagnostic information is transferred from the module to the processor s data table with a read block transfer In order for these transfers to take place you must enter certain parameters into your block transfer instructions A sample program segment with block transfer read and write is shown in Figure 4 1 and described in the following paragraphs An example program with block transfer instructions is shown in Figure 4 2 A data table map Table 4 A and a data table word assignment Table 4 B are also s
28. PN 955107 82 PLEASE FASTEN HERE DO STAPLE Other Comments PLEASE FOLD HERE Ei me pd POSTAGE WILL BE PAID BY THE ADDRESSEE ON Rockwell Automation Allen Bradley 1 ALLEN BRADLEY DR MAYFIELD HEIGHTS OH 44124 9705 Publication 1771 6 5 30 November 1998 mamm NECESSARY IF MAILED IN THE UNITED STATES PLEASE REMOVE Support Services At Allen Bradley customer service means experienced representatives at Customer Support Centers in key cities throughout the world for sales service and support Our value added services include Technical Support SupportPlus programs telephone support and 24 hour emergency hotline software and documentation updates technical subscription services Engineering and Field Services application engineering assistance integration and start up assistance e field service maintenance support Technical Training e lecture and lab courses self paced computer and video based training job aids and workstations training needs analysis Repair and Exchange Services your only authorized source current revisions and enhancements worldwide exchange inventory local support on Rockwell Automation Allen Bradley a Rockwell Automation Business has been helping its customers improve productivity and quality for more than 90 years We design manufacture a
29. Polarity 1 Negative 0 Positive 12883 Maximum and Minimum Scaling Values Words 6 13 of the write block transfer contain maximum and minimum scaling values for each channel Word 6 corresponds to Channel 1 scale minimum word 7 to Channel scale maximum word 8 to Channel 2 scale minimum and so on Figure 3 3 The maximum and minimum scaling values are the upper and lower limits for output data The module s microprocessor reads these values and automatically scales output data from the write block transfer 3 7 The largest value that you can enter for maximum scaling value is 9999 The smallest value you can enter for a minimum scaling value is 9999 the minus sign is implemented by setting the appropriate bit in the configuration word Important The maximum scale value must be larger than the minimum scale value If not block transfers continue but data is not acknowledged by the module s microprocessor Outputs remain in their last state before the fault Even if you scale fewer than four channels a full 13 word block transfer is performed When scaling all scaling information must be entered into the data table using the same format that the module sends to the data table If Module is configured for Then enter scaling values in BCD format BCD 2 s complement Binary Signed Magnitude Binary Important PLC 2 users should always use BCD format because the PLC 2 processor performs math funct
30. Systems Catalog publication B111 This equipment is classified as open equipment and must be mounted in an enclosure during operation to provide safety protection The analog output module receives its power through the 1771 I O chassis backplane from the chassis power supply It does not require any other external power supply When planning your system you must consider the power usage of all modules in the I O chassis to prevent overloading the I O chassis backplane and or power supply Add this to the requirements of all other modules in the I O chassis Analog Module Power Requirement 1771 OFE1 1 5A 9 5V dc 1771 1771 2 5A 9 5V dc ATTENTION Do not insert or remove modules from the I O chassis while system power is ON Failure to observe this rule could result in damage to module circuitry Determine Module Location in the I O Chassis Setting Module Configuration Jumpers 2 3 You can place your module in any I O module slot of the I O chassis with the following guidelines Do not put the module in the same module group as a discrete high density module Avoid placing output modules close to ac modules high voltage dc modules Group output modules together within an I O chassis whenever possible to minimize noise interference from other modules Youcan put two output modules in the same module group The module configuration jumpers consist of the last state configuratio
31. alibration without reading and thoroughly understanding all steps in this procedure Also do not attempt to calibrate this module in an operating system Publication 1771 6 5 30 November 1998 6 2 Voltage Output Version 1771 1 Publication 1771 6 5 30 November 1998 Preparation for Calibration 6 7 Turn off processor and I O chassis power Remove the field wiring arm 1 2 3 4 5 Remove the analog output module from the I O chassis Remove the module covers Connect the backplane extender card cat no 1771 EX to the circuit board Insert the extender card circuit board assembly in the I O chassis Reinstall the field wiring arm Important If you have a spare or unused field wiring arm you may want to temporarily switch it with the module s present field wiring arm You can use this spare arm for test purposes in order to avoid disconnecting your analog device wires Important The accuracy of this calibration procedure is dependent upon the precision of your load resistors Use resistors with a tolerance of 1 0 You should be able to attain voltage readings to 1mV For greater accuracy use load resistors with tolerances less than 1 0 Use load resistors with values of 1K ohms For greater accuracy you can substitute the 1K ohm resistor with a resistor that more closely approximates your actual device load Calibration Procedure 1 Disconnect your ana
32. ary Coded Decimal 0X23 0 0X22 0 0x2 0 109021 0x23 0 0X22 0 1 21 2 0x20 0 0x23 0 0X22 0 1 21 2 1 20 1 1X23 8 0X22 0 2 0 1 20 1 of of of of of 1j of oj of 15 of oj t 1 2 3 9 12955 1 Publication 1771 6 5 30 November 1998 Table C A BCD Representation 23 8 2 m no 1 SNR 0 0 0 1 0 2 0 3 0 4 0 5 0 6 0 7 1 8 1 9 Sig ned magnitude Binary Signed magnitude binary is a means of communicating numbers to your processsor It should be used with the PLC 2 family when performing computations in the processor It cannot be used to manipulate binary 12 bit values or negative values Example The following binary number is equal to decimal 22 10110 2210 The signed magnitude method places an extra bit sign bit in left most position and lets this bit determine whether the number is positive or negative The number is positive if the sign bit is 0 and negative if the sign bit is 1 Using the signed magnitude method 0 10110 22 1 10110 22 Publication 1771 6 5 30 November 1998 Two s Complement Binary Two s complement binary is used with PLC 3 processors when performing mathematical calculations internal to the processor To complement a number means to change it to a negative number For example the following binary number is equal to decimal 22 101102 2210 First the two s complement method places an extra bit sign bit in the left most posit
33. ation procedures Your module should now be properly calibrated and ready for use Preparation for Calibration 1 Turn off power to the processor and I O chassis 2 Remove the analog output module from I O chassis 3 Remove the module covers 4 Connect the backplane extender card cat 1771 EX to the circuit board and insert the extender card into the I O chassis 5 Reconnect the wiring arm to the circuit board Channel Calibration 1 Disconnect your analog device wiring from the module s wiring arm Important If you have a spare or unused field wiring arm you may want to temporarily switch it with the module s present wiring arm Use the spare wiring arm for test and calibration purposes to eliminate disconnecting your device wiring Important The accuracy of this calibration procedure depends on the precision of the load resistors used Use resistors with a tolerance of 0 0196 You should be able to obtain voltage readings to 5mV If you use resistors of a value different from 250 ohms you should be able to obtain voltage readings of 0 05 of V out If you require greater accuracy use load resistors with tolerances less than 0 01 If greater accuracy is required substitute resistors that more closely approximate your actual device load Publication 1771 6 5 30 November 1998 Publication 1771 6 5 30 November 1998 2 Attach 250 ohm resistor across Channel 1 top two scre
34. ber 1998 4 10 Other Programming Considerations Publication 1771 6 5 30 November 1998 When writing your program there are some additional programming technigues that you should consider They are block length and scaling considerations block transfer boundary word PLC 2 family processors module update time buffering data PLC 2 family processors only system expansion recommendations Block Length and Scaling Considerations There are three possible write block configurations that involve scaling nochannels scaled fewer than four channels scaled e all four channels scaled No Channels Scaled If you do not wish to scale any of your data you can enter a block length of five words in the write block transfer instruction The bit that indicates BCD or 12 bit binary data format Bit 17 in Word 5 the module configuration word is the only bit in Word 5 that is examined by the module The remaining bits 00 16 are ignored by the module because these bits indicate scaling value polarity and data polarity The module does not acknowledge negative data unless scaling is used Fewer than Four Channels Scaled To scale only one two or three of the four channels enter a block length of 00 and enter the appropriate scaling values for the channels to be scaled You must enter 0 or 4095 for the minimum scaling value and 4095 for the maximum scaling value for any unscaled channels depending on the rang
35. brated and ready for use In this chapter you learned how to calibrate your module using simple test equipment Publication 1771 6 5 30 November 1998 6 12 Publication 1771 6 5 30 November 1998 Chapter Objectives Interpreting the Indicator Lights Chapter 7 Diagnostics and Troubleshooting In this chapter you will read how to troubleshoot your output module using indicator lights and diagnostic bits For information on See page Interpreting the indicator lights 7 1 Read Block Transfer words 7 2 The front panel of the module contains a green RUN and a red FLT fault indicator Figure 7 1 At power up the red FLT indicator lights and remains ON during an initial module self check If a fault is found initially or occurs later the red FLT indicator stays lit Ifa fault is not found the red indicator will turn off and the green RUN indicator will turn on and remain on Possible module fault causes and corrective actions are shown in Table 7 A Figure 7 1 Diagnostic Indicators 17948 Publication 1771 6 5 30 November 1998 7 2 Table 7 A Troubleshooting Chart Condition Possible Cause Recommended Action Green RUN indicator does not No Power to Module Check I O chassis for power come On Bad internal fuse e Turn off power to I O chassis Remove Red FAULT indicator is on continuously with the and reinsert module into chassis Return power
36. d resistors with values of 250 ohms For greater accuracy you can use a resistor that more closely approximates your actual device load 2 Attach a resistor with a value of 250 ohms across Channel 1 the top two screws of the field wiring arm 3 Attach three more 250 ohm resistors across the remaining three channels on the field wiring arm just as you did in step 2 Figure 6 4 Figure 6 4 Resistor Placement on Field Wiring Arm D poe 1 poem 2 250 ohm resistors 3 onm 4 Field Wiring Arm 12991 Publication 1771 6 5 30 November 1998 6 7 4 Place LAST STATE configuration jumpers Figure 6 5 in MAX position if they are not there already MAX Figure 6 5 LAST STATE Configuration Jumpers in MAX Position 4 LAST STATE Printed Circuit Board View Front n uj of Position plugs as required o Oo Mod CO TI iy eee n 5 of I Hold last state Min Mid Max 11919 1 5 Connect voltmeter leads across top two screws the field wiring arm Channel 1 The top screw is positive and the second lower screw is negative 6 Turn on the processor VO chassis and the industrial terminal 7 Place the processor in the TEST or PROG mode Output full scale 20mA either with write block transfer data by placing the LAST STATE configuration jumpers in the MAX position MAX 9 Adjust R66 until the reading is
37. data format and data scaling Writing data to the module and other programming Module Programming considerations default block length block transfer boundary word and watchdog timer Module Status and Input Data Reading data from the module Calibrating Your Output Module Calibration procedures Diagnostics and Troubleshooting Troubleshooting Guide for problem diagnosis Publication 1771 6 5 30 November 1998 2 Preface Appendices Related Products Product Compatibility Related Publications Publication 1771 6 5 30 November 1998 Catalog tput i i cantar ane Addressing 1771 OFE Title Specifications Block Transfer with Mini PLC 2 and PLC 2 20 Processors Data Table Formats You can install your output module in any system that uses Allen Bradley programmable controllers that have block transfer capabilities and the 1771 I O structure For more information on your programmable controllers contact your nearest Allen Bradley office The 1771 OFE module can be used with any 1771 I O chassis Communication between the discrete analog module and the processor is bidirectional the processor block transfers output data through the output image table to the module and block transfers input data from the module through the input image table The module also requires an area in the data table to store the read block transfer data and write block transfer data I O image table use is an important factor in m
38. e Programming In this chapter you will read about For information on See page Block Transfer with the Analog Output Module 4 1 Block tTansfer Programming Formats 4 1 Block tTansfer Programming Formats PLC 2 Family Processors only ERA rud 4 2 Block tTansfer Programming Formats PLC 3 Family Processors only s cete or edad dus 4 6 Block tTansfer Programming Formats PLC 5 Family Processors only oust ond 4 8 Other Programming Considerations 4 10 System Expansion Recommendations PLC 2 Processors ebrei dan S dator 4 13 If you have used other intelligent I O modules you may familiar with bidirectional block transfer programming Bidirectional block transfer is the sequential performance of both read and write operations Typically in previous bidirectional block transfer modules the enable bits of both read and write instructions could be set ON at the same time Although the module can perform both read and write operations the module does not allow the enable bit of both read and write instructions to be set ON at the same time Your program must toggle requests for the read and write instructions as shown in our sample programs ATTENTION At no time should both the read and write instructions be enabled Undesirable data could transfer resulting in unpredictable machine operation
39. e inner conductors place a nut with captive washer on top of each ground lug Ground Lug EN Nut ane Nut and Captive gt D Washer N ES Grounding Stud Use heat shrink tubing or other suitable insulation NS where wire exits cable jacket 3 ound Lug I O Chassis Side Shield and Drain twisted together 1Use the cup washer if crimp on lugs are not used Shield and Drain twisted together Tu 10 Thread forming screw External tooth Washers Publication 1771 6 5 30 November 1998 2 11 Interpreting the Indicator The front panel of the module contains a green RUN and a red FLT Lights fault indicator At power up the red FLT indicator lights and remains ON during an initial module self check If a fault is found initially or occurs later the red FLT indicator stays lit If a fault is not found the red indicator will turn off and the green RUN indicator will turn on and remain on Possible module fault causes and corrective actions are discussed in Chapter 7 Diagnostics and Troubleshooting Figure 2 7 Diagnostic Indicators 17948 Chapter Summary In this chapter you learned how to set the module configuration jumpers connect the field wiring to the field wiring arm and install your module in the I O chassis Publication 1771 6 5 30 November 1998 2 12 Publication
40. e selected Fewer than Four Channels Scaled All Four Channels Scaled 4 11 All Four Channels Scaled To scale all four channels enter a block length of 00 and enter the appropriate scaling values for the four channels as shown in the following table And Channel Is If You Want Configured for Then Enter No Channels A Block Length of 5 Scaled No Scaling Information A Block Length of 00 Appropriate Scaling Values 4095 Minimum Scaling Value and 4095 Maximum Scaling Value for Unscaled Channel s A Block Length of 00 Appropriate Scaling Values 0 Minimum Scaling Value and 4095 Maximum Scaling Value for Unscaled Channels A Block Length of 00 Appropriate Scaling Values Block Transfer Boundary Word PLC 2 Family Processors Only The purpose of the boundary word is to tell the processor not to search for additional block transfer addresses You set the boundary word by entering one word 16 bits of zeros in the timer counter accumulated value area of the data table after the word containing the last block transfer module address For example if the last block transfer data address in the accumulated value area of the data table 15 035 the block transfer boundary word is addressed as 036 Figure 4 8 shows the data table structure and a sample GET PUT instruction used to program a block transfer boundary word Publication 1771 6 5 30 November 1998 4 12 Figure 4 8 Data Table Structure and GET PUT Instr
41. er 1998 Table 5 A Bit Word Description for Block Transfer Read Decimal Bits cm Word Octal Bits Description Bits 00 15 1 00 17 Channel 1 DAC input data Bits 00 15 00 17 Channel 2 DAC input data Bits 00 15 00 17 Channel 3 DAC input data Bits 00 15 00 17 Channel 4 DAC input data When set indicate invalid channel data is sent to the module Bits 00 03 These bits are not reset until a correct write block transfer is sent Bit 00 corresponds to Channel 1 Bit 01 to Channel 2 and 50 5 Bits 04 13 04 15 Reserved Is the I O RESET bit When set it indicates that the processor Bit 14 16 is in TEST or PROGRAM mode i e block transfer data is not being written to the module The first four words of the block transfer read show the actual 12 bits of data sent to module s digital to analog converters DACs The first four words in the block transfer read appear in 12 bit binary format regardless of the module s mode of operation BCD or 12 bit binary The fifth word contains the status of each DAC word that is whether data is out of range or scaling is improperly programmed The fifth word also indicates that I O RESET has been established when the processor is in the PROG TEST or RUN mode In this chapter you learned the meaning of the status data the module sends to the processor Chapter Objectives Tools and Test Eguipment 5 1 2 Digit Voltmeter Voltage Versions Chapter 6
42. example Figure B 2 shows if your output module is set up to transfer five words you would set Bits 00 and 02 of the lower output image table control byte The binary equivalent of five words as stated in the look up table is 000101 Figure B 2 Setting Block Length Block Transfer Read Enable Bit Read 5 Words from Module 010 Data Table PUE Image Ue yte Contains Rea 012 Enable Bit and Block zs ae ose Length in Binary Code 017 027 Data Address 030 Contains Module Address in BCD Number of Binary Bit Pattern Words Lower Output Image Table Byte to Transfer po fo o oo Po o qo fo po o fo Pe yt t t i po t 12995 Publication 1771 6 5 30 November 1998 4 Publication 1771 6 5 30 November 1998 4 Digit Binary Coded Decimal BCD Appendix C Data Table Formats The 4 digit BCD format uses an arrangement of 16 binary digits to represent a 4 digit decimal number from 0000 to 9999 Figure C 1 The BCD format is used when the input values are to be displayed for operator viewing Each group of four binary digits is used to represent a number from 0 to 9 The place values for each group of digits are 20 21 22 and 23 Table The decimal equivalent for group of four binary digits is determined by multiplying the binary digit by its corresponding place value and adding these numbers Figure C 1 4 Digit Bin
43. gage 19809 Publication 1771 6 5 30 November 1998 Connect the Wiring User Analog Device 2 9 The analog devices connect to the analog module through a field wiring arm cat no 1771 WC The field wiring arm pivots on the front of the chassis to connect with the module You can remove the module from the chassis without disconnecting user wiring because wiring connections are made on the field wiring arm The connection diagram Figure 2 5 shows connections to the field wiring arm ATTENTION avoid injury to personnel and damage to equipment disconnect and lockout ac power from the processor and system power supplies before wiring the module Figure 2 5 Connection of Analog Devices to the Field Wiring Arm cat no 1771 WC oo Channel 1 output lead 0 Channel 1 output lead 1 Channel 2 output lead 2 Channel 2 output lead Functional Ground 3 Channel 3 output lead Channel 3 output lead Channel 4 output lead Channel 4 output lead Not used Not used Field Wiring Arm Cat No 1771 WC 12878 The sensor cable must be shielded The shield must TWC e extend the length of the cable but be connected only at the 1771 chassis extend up to the point of termination Important The s
44. hield should extend to the termination point exposing just enough cable to adequately terminate the inner conductors Use heat shrink or another suitable insulation where the wire exits the cable jacket Publication 1771 6 5 30 November 1998 2 10 The module reguires shielded cable for signal transmission to analog devices Use Belden 8761 shielded cable which consists of a single insulated twisted pair of conductors covered along their entire length by a foil shield and encased in plastic The shield reduces the effect of induced noise at any point along the cable Ground the Chassis and You must ground the shield at the chassis end only We recommend Module connecting each output cable s shield to a properly grounded common bus Refer to Industrial Automation Wiring and Grounding Guidelines for Noise Immunity publication 1770 4 1 for additional information Figure 2 6 Cable Grounding Remove a length of cable Pull the foil shield and bare Twist the foil shield and drain Attach a ground lug jacket from the Belden 8761 drain wire from the insulated wire together to form a single cable wires strand Bare drain 0 Ee wir Belden 8761 Cable Insulated wires 20104 Chassis Ground Single point Grounding When you connect grounding conductors to the I O chassis Extend shield to termination point grounding stud place a star washer under the first lug then Expose just enough cable to adequately terminat
45. hown Figure 4 3 shows how the binary representation of configuration options is represented in BCD as it appears in our data table map Figure 4 1 PLC 2 Family Sample Program Structure Program Action At power up the program performs a write block transfer that configures the module When the first write block transfer is complete the program toggles between read and write block transfers The program takes into account that the read and write request bits cannot be set simultaneously Upon completion of a successful read block transfer data from the module is moved from the buffer file block transfer read file to a storage data file This prevents the processor from using invalid data should block transfer communications fail Rungs 1 and 2 The first two rungs of the sample program segment toggle requests for the read and write instructions Notice that the EXAMINE ON instructions in Rungs 1 and 2 are the done bits of the read and write instructions By latching or unlatching a storage bit the write done bit XXX X6 triggers the read block transfer instruction and the read done bit XXX X7 triggers the write block transfer instruction Rung 3 The write block transfer instruction in Rung 3 sends configuration output and scaling data to the module from the processor in one program scan Rung 4 The read block transfer instruction in Rung 4 sends module status information and a copy of the output data to the processor
46. ibrating Your Output Module Diagnostics and Troubleshooting Publication 1771 6 5 30 November 1998 Chapter 4 Chapter OBJECIV S i i ced wk RR rs tei Block Transfer with the Analog Output Module Block Transfer Programming Formats Block Transfer Programming PLC 2 Family Processors Only Block Transfer Programming PLC 3 Family Processors Only Block Transfer Programming PLC 5 Family Processors Only Other Programming Considerations Block Length and Scaling Considerations Block Transfer Boundary Word PLC 2 Family Processors Only Module Update Time oe System Expansion Recommendations PLC 2 Processors Only Chapter SUMMA 4 23 2 2510052 Chapter 5 Chapter Objectives ss sss ked m mos XR areas base Reading Data from the Module Chapter SUMMA edd tunes Chapter 6 Chapter Objectives Tools and Test Equipment x en Calibrating Your Module Voltage Output Version 1771 1 Calibration Proced re Current Output Version 1771 2 Channel Calibration 1 e ao ken Current Output Version 1771 0OFE3 PPP Channel Calibration Chapter Summary
47. if a module or system fault occurs Or If the system processor changes from RUN to PROG mode You do this by placing the LAST STATE configuration jumpers on eight four jumpers on sets of pins of the stake pins marked MAX MIN MID on the module s circuit board Figure 2 1 If you do not place configuration jumpers in one of these positions the module defaults to the HOLD LAST VALUE setting Figure 2 1 shows jumper positions for the 1771 OFE Series B Analog Output Module LAST STATE Configuration Jumpers Important Ignore the MAX MIN MID markings on the printed circuit board Important On power up the module s output is disabled until the module receives the first block transfer write The output then enables with the value that you send it in the block transfer write block Important We ship 1771 OFE modules with the LAST STATE configuration jumpers in the MID position ATTENTION Switch 1 of the I O rack affects the function of the configuration settings as indicated in the table below Configuration Jumper Setting j r m Rack Switch 1 Setting HOLD LAST STATE Last State Last State Last State Figure 2 1 LAST STATE Configuration Jumper Last State Output Level Configuration Jumpers J of Circuit Board HOLD LAST STATE Men c min MIN 1 LI I8 8j Table 2 A lists the output ranges and their minimum maximum and middle values Table 2 A Output Last State
48. ion and lets this bit determine whether the number is positive or negative The number is positive if the sign bit is 0 and negative if the sign bit is 1 Using the complement method 0 10110 22 To get the negative using the two s complement method you must invert each bit from right to left after the first 1 is detected In the above example 0 10110 22 Its two s complement would be 1 01010 22 Note that in the above representation for 22 starting from the right the first digit is a so it is not inverted the second digit is a 1 so it is not inverted All digits after this one are inverted If a negative number is given in two s complement its complement a positive number is found in the same way 1 10010 14 0 01110 14 All bits from right to left are inverted after the first 1 is detected The two s complement of 0 is not found since no first 1 is ever encountered in the number The two s complement of 0 then is still 0 Publication 1771 6 5 30 November 1998 C 4 Publication 1771 6 5 30 November 1998 Block Length Default 4 10 Block Length Setting 4 10 Block Transfer Boundary Word 4 11 Multiple GET Instructions B 1 Programming Formats 4 1 Read 4 2 Write 4 2 4 7 4 8 4 9 block transfer 1 3 write 1 3 block transfer read 5 1 Buffering Data 4 2 4 7 C cable reguirements 2 11 Calibration Preparation Current Version 6 5 6 9 Preparation Vo
49. ions using BCD data The PLC 3 PLC 5 and PLC 5 250 use integer math you should use 2 s complement binary for any data that will be used with math instructions including PID and CAR routines BCD format is usually reserved for display purposes only Figure 3 3 Location of Maximum and Minimum Scaling Values in the Write File Word Description Channel 1 Data Value Channel 2 Data Value Channel 3 Data Value Channel 4 Data Value Configuration Word Channel 1 Minimum Scaling Value Channel 1 Maximum Scaling Value Channel 2 Minimum Scaling Value BY c Channel 2 Maximum Scaling Value o Channel 3 Minimum Scaling Value Channel 3 Maximum Scaling Value Nn Channel 4 Minimum Scaling Value wo Channel 4 Maximum Scaling Value Publication 1771 6 5 30 November 1998 If you do not wish to scale a particular channel set scaling values as shown below VT usi 4 20mA 1 5V 4095 0000 0 10V 1 This also requires you to set the appropriate sign bit in the configuration word for the minimum scaling value For example suppose you choose the to 5 volt range and BCD data format for your module You have a thermocouple input that reports a temperature between 100 C and 900 C back to your processor You would like this input temperature scale to correspond to an output meter scale You would enter the following minimum and maximum scaling values into Words 6 and 7 of the w
50. ite Word 5 Decimal Bit Word Octal Bit Description 00 03 Data polarity bits When set 1 indicate negative data When reset 0 indicate positive data Bit 00 corresponds to channel 1 bit 01 to channel 2 etc When set 1 indicates negative minimum scaling value for Channel 1 When reset 0 indicates positive minimum scaling value for channel 1 When set 1 indicates negative maximum scaling value for Channel 1 When reset 0 indicates positive maximum scaling value for channel 1 When set 1 indicates negative minimum scaling value for Channel 2 When reset 0 indicates positive minimum scaling value for channel 2 7 When set 1 indicates negative maximum scaling value for Channel 2 When reset 0 indicates positive maximum scaling value for channel 2 08 10 When set 1 indicates negative minimum scaling value for Channel 3 When reset 0 indicates positive minimum scaling value for channel 3 Cc Publication 1771 6 5 30 November 1998 Mord Octal Bit Description 09 11 When set 1 indicates negative maximum scaling value for Channel 3 When reset 0 indicates positive maximum scaling value for channel 3 10 12 When set 1 indicates negative minimum scaling value for Channel 4 When reset 0 indicates positive minimum scaling value for channel 4 3 d 11 13 When set 1 indicates negative maximum scaling value for Channel 4 When
51. llow Example 1 Output Range 4 20mA Data Format BCD 0 4095 Desired Output 9 5mA D 0 0039mA Bit from Table 3 B Remember 4mA corresponds to scale minimum 9 5mA 4mA 1410 decimal 0001 0100 0001 0000 BCD 0 0039mA Bit You would enter 1410 BCD or 0001 0100 0001 0000 into the data word in order to get an output of 9 5 mA Example 2 Output Range 0 10V Data Format 12 bit binary 0 FFF Desired Output 9 0V D 2 44mV Bit from Table 9 0V 3689 decimal 0000 1110 0110 1001 binary 2 44mV Bit You would enter 0000 1110 0110 1001 into the data word to get an output of 9 0V These values are loaded into the module s memory from processor with a block transfer write Important If you are using BCD data format you must download values to the module in the BCD format and set the corresponding data polarity bit see Figure 3 1 if a negative output is desired Important If the binary data format is selected data can be downloaded in a binary or 2 s complement binary data format If binary is used the appropriate data polarity bit must be set to express a negative value The 2 s complement format expresses a negative value via the bit pattern If the processor input information governs the module s outputs remember that data written to the output module must fall within certain limits Both BCD and binary data must fall within the range 9999
52. log device wires from module s field wiring arm if you are not using a spare field wiring arm for calibration Attach a resistor with a value of 1K or greater to approximate your actual load across Channel 1 the top two screws in Figure 6 1 of the field wiring arm Attach three more 1K resistors across the remaining three channels on the field wiring arm just as you did in Step 2 Figure 6 1 Place the LAST STATE configuration jumpers Figure 6 2 in MAX position if they are not there already Select the 10V output range by placing the four channel configuration jumpers in the position shown in Figure 6 2 6 3 6 Connect voltmeter leads across top two screws the field wiring arm Channel 1 The top screw is positive and the second lower screw is negative 7 Turn on the processor VO chassis and the industrial terminal Figure 6 1 Resistor Placement on Field Wiring Arm Field Wiring Arm 1 2 1K or greater resistors 3 4 12898 Figure 6 2 LAST STATE Configuration Jumpers 4 LAST STATE 4 Printed Circuit Board View Position plugs as required p nj 2 Module LLITLI CLIT 5 Hold last state Min Mid Max 11918 1 Publication 1771 6 5 30 November 1998 6 4 Configuration Jumpers set for 10V scale Channel 0 Channel 1 Channel 2 Channel 3 Publication 1771 6 5 30 November
53. lot and where in the accumulated area of the data table this data is to be stored 030 Second GET Instruction 130 060 Indicates the address of the first word of the file 060 to which or from which the data is transferred The file address is stored in Word 130 100g above the data address OUTPUT ENERGIZE Instruction 012 07 Enables the block transfer read operation If all conditions of the rung are true the block transfer read enable bit 07 is set in the output image data table control byte The output image table control byte contains the read enable bit and the number of words to be transferred The OUTPUT ENERGIZE instruction is defined as follows e 0 indicates that it is an output instruction e 1 indicates the I O rack address 2 indicates the module group location within the rack e 07 indicates that the module is in the lower slot and that this is a block transfer read operation if this were a block transfer write operation 07 would be replaced by 06 Important OUTPUT ENERGIZE Address 012 07 in this example indicates that the module is in Slot 0 The address could be 012 17 which indicates that the module is in Slot 1 012 06 or 012 16 for a write operation Publication 1771 6 5 30 November 1998 2 Output Image Table Timer Counter Accumulated Values Area Timer Counter Preset Values Area Publication 1771 6 5 30 November 1998 Rungs
54. ltage Version 6 1 Resistor Pot Adjustment 6 5 Resistor Pot Location 6 4 6 8 Tools 6 1 Configuration Plugs 2 4 Scaling 3 6 Word 3 3 configuration plugs 2 3 Connections Extender Board 6 2 6 5 User Devices 2 10 current output version 2 3 D Data Buffering 4 2 4 7 Data Formats BCD 3 4 Binary 3 4 data formats 25 complement binary C 3 4 digit binary coded decimal C 1 signed magnitude binary C 2 Data Polarity 4 10 data polarity 3 3 Table of Contents Default Block Length 4 10 Defaults module 3 4 Diagnostics 4 2 7 1 F Fault Indicator LED 2 12 7 1 Features 1 2 Field Wiring Arm 2 10 6 1 6 6 6 9 Formats Block Transfer 4 1 Formats Data 3 4 G grounding 2 11 installation of module 2 8 Installing the Module 2 2 K keying bands 2 8 L last state configuration plugs 2 3 LED Indicators 2 12 7 1 Module Configuration 3 1 Module Defaults 3 4 module installation 2 8 module location 2 3 Module Troubleshooting 7 2 Multiple GET Instructions 4 1 B 1 0 Output Ranges 1 2 Publication 1771 6 5 30 November 1998 Table of Contents Publication 1771 6 5 30 November 1998 Polarity Data 4 10 Scaling 3 6 power reguirements 2 2 pre installation considerations 2 2 Preparation for Calibration 6 1 6 5 6 9 Programming Formats Block Transfer Multiple GET Instructions PLC 2 2 20 B 1 PLC 2 Family Processors 4 2 PLC 3 Family Processors 4 6 PLC 5
55. ming your module ATTENTION To avoid injury to personnel and damage to equipment disconnect and lockout all ac power supplies before installing and wiring the output module If this product has the CE mark it is approved for installation within the European Union and EEA regions It has been designed and tested to meet the following directives EMC Directive This product is tested to meet Council Directive 89 336 EEC Electromagnetic Compatibility EMC and the following standards in whole or in part documented in a technical construction file EN 50081 2EMC Generic Emission Standard Part 2 Industrial Environment e EN 50082 2EMC Generic Immunity Standard Part 2 Industrial Environment This product is intended for use in an industrial environment Low Voltage Directive This product is tested to meet Council Directive 73 23 EEC Low Voltage by applying the safety requirements of EN 61131 2 Programmable Controllers Part 2 Equipment Requirements and Tests Publication 1771 6 5 30 November 1998 2 2 Calculating Power Reguirements Publication 1771 6 5 30 November 1998 For specific information reguired by EN 61131 2 see the appropriate sections in this publication as well as the following Allen Bradley publications Industrial Automation Wiring and Grounding Guidelines For Noise Immunity publication 1770 4 1 Guidelines for Handling Lithium Batteries publication AG 5 4 Automation
56. mmary In this chapter you learned how to write data to the module the data formats used for block transfer special programming techniques and were given sample program examples Publication 1771 6 5 30 November 1998 4 14 Publication 1771 6 5 30 November 1998 What This Chapter Contains Reading Data from the Module Chapter 5 Module Status and Input Data In this chapter you will read about For information on See page Reading Data from the Module 5 1 Block transfer read BTR programming moves status and data from the module to the processor s data table in one I O scan The processor user program initiates the request to transfer data from the module to the processor The transferred words contain module status channel status and input data from the module The maximum BTR data file length required is five words Figure 5 1 Word Assignment for Block Transfer Read od NC ES ER ERES COERER CAE SS e ERA RR EY RR no si E Re ae Hen o Word 1 2 3 4 5 Channel 1 DAC Input Data Channel 2 DAC Input Data Channel 3 DAC Input Data Channel 4 DAC Input Data V0 Reserved Data Valid Reset Important The user program that uses the read block transfer must make sure that Bits 06 and 07 the write enable and read enable request bits of the MCB are not set simultaneously Publication 1771 6 5 30 November 1998 Chapter Summary Publication 1771 6 5 30 Novemb
57. n jumper all versions the voltage range configuration jumpers 1771 OFE1 only Current Output Version Current version modules 1771 OFE2 and OFE3 have all configuration jumpers installed and require no additional configuration The configuration jumper for the Last State mode output level is in the default position MID See Last State Configuration Jumpers below Voltage Output Version If you are using the voltage output version you need to set several configuration jumpers on the module s circuit board You must set these jumpers before you can proceed with configuring the module When you set these jumpers you configure each channel for one of the three voltage ranges listed above The module is shipped with the plugs in the 10 position Important You do not have to remove the module cover to set the configuration jumpers Last State Configuration Jumpers The LAST STATE configuration jumpers determine the value of all the module s outputs whenever communication between the module and the processor is lost This condition occurs when a processor or adapter faults or the processor is placed in the PROG or TEST mode or if the remote I O cable breaks Publication 1771 6 5 30 November 1998 2 4 Publication 1771 6 5 30 November 1998 This is a significant safety feature You can choose to have module s outputs go to the maximum minimum or middle of their respective ranges or hold their last state
58. nd support a broad Allen Bradley range of automation products worldwide They include logic processors power and motion control devices operator interfaces sensors and a variety of software Rockwell is one of the world s leading technology companies a Worldwide representation E Argentina Australia e Austria e Bahrain Belgium Brazil e Bulgaria Canada Chile e China PRC Colombia Costa Rica Croatia Cyprus Czech Republic Denmark e Ecuador Egypt e El Salvador e Finland France Germany e Greece e Guatemala e Honduras Hong Kong Hungary Iceland e India e Indonesia Ireland e Israel e Italy e Jamaica e Japan Jordan Korea Kuwait e Lebanon e Malaysia e Mexico Netherlands New Zealand e Norway e Pakistan Peru Philippines Poland Portugal Puerto Rico e Qatar e Romania e Russia CIS e Saudi Arabia Singapore e Slovakia e Slovenia South Africa Republic e Spain Sweden Switzerland Taiwan e Thailand Turkey e United Arab Emirates e United Kingdom United States Uruguay e Venezuela e Yugoslavia Allen Bradley Headquarters 1201 South Second Street Milwaukee WI 53204 USA Tel 1 414 382 2000 Fax 1 414 382 4444 Publication 1771 6 5 30 November 1998 P N 955124 45 Supersedes publication 1771 6 5 30 March 1994 and 1771 6 5 30 RN1 December 1995 Copyright 1996 Allen Bradley Company Inc Printed in USA
59. odule placement and addressing selection Compatibility and data table use is listed in the following table Table P A Compatibility and Use of Data Table Use of Data Table Compatibility Bits 1 2 Slot SIS A Compatible with 1771 A1 2 A4 B Compatible with 1771 A1B A2B A3B A3B1 A4B Y Compatible without restriction Youcan place your module in any I O module slot of the I O chassis Youcan put two output modules in the same module group Do not put the module in the same module group as a discrete high density module Avoid placing output modules close to ac modules or high voltage dc modules For a list of publications with information on Allen Bradley programmable controller products consult our publication index SD499 Overview of the Analog Output Module Module Installation Module Configuration Table of Contents Chapter 1 Chapter Objectives 1 1 Module Descrplloll ss di ta 1 1 Module F dt f66 22563 ss das 1 1 Output RArig s sed 1 2 How Analog Modules Communicate with Programmable Controllers 1 2 PCI fee 1 3 Chanter seres 1 3 Chapter 2 Chapter Objectives ed sader anas 2 1 Compliance to European Union Directives 2 1 EMC Directive
60. or current outputs 3 These module outputs drive external analog devices 4 When instructed by your ladder program the processor performs a read block transfer of output values and module status 5 The processor and module determine that the transfer was made without error 6 Your ladder program can use and or move the data if valid before it is written over by the transfer of new data in a subseguent transfer The accuracy of your output module 15 described in Appendix In this chapter you read about the functional aspects of the output module and how the module communicates with the programmable controller Publication 1771 6 5 30 November 1998 1 4 Publication 1771 6 5 30 November 1998 What This Chapter Contains Compliance to European Union Directives Chapter 2 Module Installation In this chapter you will read about For information on See page Compliance to European Union Objectives 2 1 Calculate the Power Requirements 2 2 Set Module Configuration Jumpers 2 3 Key the Backplane Connectors 2 7 Install the module and Field Wiring Arm 2 8 Connect the Wiring eee eee eee eee 2 10 Ground the Chassis and Module 2 11 Read this installation chapter completely before you install your module Double check all connections and option selections before you begin program
61. re 2 3 Last State Output Level Configuration Jumpers Access holes for Configuration Jumpers iki S S 5 Position jumpers as indicated in Figure 2 3 2 7 Figure 2 3 Configuration Jumper Locations LA Configuration Desired Voltage Range Output o Jumper Channel LAST STATE Location 040V 10v 15V P3 Jumper 5 In Out Out 6 In Out Out 7 Out In Out 1 8 Out In Out 9 Out Out In 10 Out Out In P5 Jumper 5 In Out Out ae 6 In Out Out 7 Out In Out 2 8 Out In Out 9 Out Out In ni 10 Out Out In P7 Jumper 5 In Out Out 6 In Out Out 7 Out In Out 3 8 Out In Out 9 Out Out In m In 10 Out Out In nn P9 Jumper 5 In Out Out x 7 Out In Out side view 8 Out In Out of jumper 9 Out Out In 10 Out Out In Install the Keying Bands ATTENTION Observe the following Position the keying bands in the backplane connectors to precautions when inserting or correspond to the key slots on the module Place the keying bands REJA between 10 and 12 Insert or remove keys with your between 26 and 28 fingers A m Make sure the key placement is Y correct Incorrect keying or the use of a tool can result in damage to backplane
62. reset 0 indicates positive maximum scaling value for channel 4 12 14 14 16 Reserved 15 17 When set 1 tells the module to expect binary data When reset 0 signifies four digit BCD data Default Configuration At power up the module s microprocessor assumes default Data Format conditions of positive data words noscaling BCD data The module s microprocessor receives these values if you do not enter data into the configuration word The voltage or current value at one of the module s outputs is directly proportional to the value specified in that channels data word The output scale is divided into 4095 parts which means that as the data word is incremented or decremented the output signal is incremented or decremented 1 4095 of the full scale Table 3 B shows the incremented voltage or current assigned to each bit for the four different output scales For example if the data word for Channel 1 contains the value 0000 0111 1111 1111 2047 decimal the output for Channel 1 would be 2047 4095 or approximately 1 2 of the full scale Table 3 B Output Ranges and Resolution Nominal Range A VIBit or A 1 to 5 volts 0 976 mV Bit 0 to 10 volts 2 44 10 to 10 volts 4 88 mV Bit 410 20 0 0039 mA Bit 010 50 mA 0 0122 mA Bit Publication 1771 6 5 30 November 1998 3 5 Some examples of how to determine value of data word needed to produce the desired output voltage or current fo
63. rite block Unscaled Meter Scale Value Scaled Value Output Voltage Value BCD Meterscale 100 900 C 4095 Example Word 6 0100 500 C 3 0V 2048 Word 7 0900 Example Meterscale 31 350 C 2 25V 1280 Meterscale 25 300 C 2 0V 1024 Meterscale 0 100 C 0 If the processor sends a data value to the module that corresponds to 350 C the value is scaled to the 100 C to 900 C range and the corresponding output voltage for that channel is 2 25 volts which would position the scale accordingly at 31 of full scale Publication 1771 6 5 30 November 1998 Procedure for Configuring Your Module Chapter Summary 3 9 Now that we have explained the purpose and function of each word in the block transfer write block you should be ready to enter configuration data Consult your programming manuals for the proper technigues reguired to set up block transfer instructions with your programmable controller Refer to chapter 4 for example programs Important A block transfer write length of O will result in a default length of 13 A block transfer read length of 0 will result in a default length of 5 In this chapter you learned how to configure your module using a block transfer write instruction Publication 1771 6 5 30 November 1998 3 10 Publication 1771 6 5 30 November 1998 What This Chapter Contains Block Transfer with the Analog Output Module Block Transfer Programming Formats Chapter A Modul
64. rt you to possible injury to people or damage to equipment under specific circumstances ATTENTION Identifies information about practices or circumstances that can lead to personal injury or death property damage or economic loss Attention helps you Identify a hazard Avoid the hazard Recognize the consequences Important Identifies information that is especially important for successful application and understanding of the product Important We recommend you frequently backup your application programs on appropriate storage medium to avoid possible data loss Summary of Changes Summary of Changes Summary of Changes This release of the publication contains updated information from the last release Updated Information This publication covers the Series B version of the Analog Output module In addition this version of the manual contains information formally included in publication 1771 6 5 30 dated December 1995 A revised circuit board layout has the configuration jumpers relocated from previous versions Access holes are included in the side cover so that covers no longer have to be removed to adjust the jumpers or potentiometers The module also contains information on Compliance to European Union Directives Change Bars To help you find new and updated information in this release of the publication we have included change bars as shown to the right of this paragraph Publication
65. set When the done bit XXXXX XXXX 15 is set it enables the file to file move instruction The read block transfer data file buffer is then moved into a storage data file This prevents the processor from transmitting invalid data should a block transfer communication fault occur Write Block Transfer Done Bit Storage Bit L Read Block Transfer Done Bit Storage Bit BTW Storage Bit BLOCK XFER WRITE EN y Rack Addrress XXX 02 Group Address X Done Module Address XXXXXX DN Data Address XXXXX XXXX 05 Length Error CNTL ER 03 BTR Enable Storage Bit BLOCK XFER READ EN Rack Address XXX 12 Group Address X Done Module Address XXXXXX DN Data Address XXXXX XXXX 15 Length X CNTL Read Block Transfer Done FILES FROM ATO R EN File A XXXXX XXXX 12 File R XXXXX XXXX Done Counter Address XXXXX 15 Position Length 0 x Error Mode All Scan ER Publication 1771 6 5 30 November 1998 4 8 Rung Number RM1 Rung Number RM2 Rung Number Word 00000 00008 Block Transfer Programming PLC 5 Family Processors Only Publication 1771 6 5 30 November 1998 Figure 4 5 PLC 3 Example Program FB001 0000 B0000 L 05 00 FB001 0000 B0000 BLOCK XFER WRITE Rack Address 001 Group Address 0 Module Address 1 High Data Address FB002 0001 Length 0 CNTL FB001 0000 BTR CNTL B0000 BLOCK XFER READ LE Rack Address
66. to 275 Channel 4 100 to 500 Program Action 4 7 Figure 4 4 PLC 3 Sample Program Structure Upon completion of a successful read block transfer data from the module is moved from the buffer file block transfer read file to a storage data file This prevents the module from using invalid data should block transfer communications fail At power up the program performs a write block transfer that configures the module When the first write block transfer is complete the program toggles between read and write block transfers The program takes into account that the read and write reguest bits cannot be set simultaneously Rungs 1 and 2 The first two rungs of the sample program segment toggle reguests for the read and write instructions Notice that the EXAMINE ON instructions in Rungs 1 and 2 are the done bits of the read and write instructions By latching or unlatching a storage bit the write done bit XXXXX XXXX 05 triggers the BTR instruction and the read done bit XXXXX XXXX 15 triggers the BTW instruction Rung 3 The write block transfer instruction in Rung 3 sends configuration output and scaling data to the module from the processor in one program scan Rung 4 The read block transfer instruction in Rung 4 sends module status information and a copy of the output data to the processor from the module in one program scan Rung 5 When a read block transfer has been successfully completed its done bit is
67. to I O chassis Unsuccessful Power Up EPROM Fault Cycle power processor in program and Checksum Error e Replace faulty module if necessary run modes Block transfers are not being Block Transfer Check user program performed Instructions Programmed Read Block Transfer Status Words Incorrectly e Cycle power Module has failed e Replace faulty module if necessary self diagnostics The module allows a five word read block transfer for rudimentary program or hardware debugging Figure 7 2 If a read block transfer request is for more or less than five words the module will not perform a read block transfer Figure 7 2 Word Assignment for Read Block Transfer sa C NEC ES EIC eee eS See ES EE EC se eae Word 1 2 3 Publication 1771 6 5 30 November 1998 Channel 1 DAC Input Data Channel 2 DAC Input Data Channel 3 DAC Input Data Channel 4 DAC Input Data Not VO Reserved Data Valid used Reset Important The user program that utilizes the read block transfer must make sure that bits 06 and 07 the write enable and read enable reguest bits of the MCB are not set simultaneously The first four words of the read block transfer show the actual 12 bits of data sent to module s digital to analog converters DACs The first four words in the read block transfer appear in 12 bit binary format regardless of the module s mode of operation
68. uction Example for Block Transfer Boundary Word First Block Transfer Data Address 035 Last Block Transfer Data Address Timer Counter 10 Of 0 0 Of Of 0 0 0 0 036 Address of Block Transfer Boundary pO Accumulated Values 037 Beginning Address for Timer Counter Area Block Transfer Boundary Word Instruction Publication 1771 6 5 30 November 1998 Module Update Time Update time is defined as the amount of time it takes for the output module to receive a block transfer scan and update all output channels Refer to Figure 4 9 The output module updates the four output channels in 8 milliseconds when BCD data format and scaling are used 1 6 milliseconds when binary data format and no scaling are used Block transfer from the processor is inhibited during this time span Figure 4 9 Module Output Update Time Legend X Block Transfer inhibited while update is being completed for 8 milliseconds with BCD and scaling 1 6 milliseconds with binary and no scaling Y Block transfer enabled 12896 System Expansion If you plan to add more block transfer modules to your system at Recommendations PLC 2 some future date we recommend that you reserve a few words in the Processors Only first available time counter value area of the data table for block transfer addresses This eliminates the need to reconfigure your data table Chapter Su
69. um Scaling Value Channel 4 Maximum Scaling Value Important A block transfer write length of O will result in a default length of 13 A block transfer read length of 0 will result in a default length of 5 Publication 1771 6 5 30 November 1998 Publication 1771 6 5 30 November 1998 Note Programmable controllers that use 6200 software programming tools can take advantage of the IOCONFIG utility to configure this module IOCONFIG uses menu based screens for configuration without having to set individual bits in particular locations Refer to your 6200 software literature for details Programmable controllers that use process configuration and operation software cat no 6190 PCO can take advantage of those development and runtime tools used for the application of programmable controllers in process control The PCO worksheets and the menu driven configuration screens and faceplates let you configure test debug and operate the I O module Refer to your 6190 PCO software literature for details The first four words in the BTW contain the actual data in binary or four digit BCD format which is converted by the module into voltage or current signals When using the PLC 5 the 2 s complement binary can be used provided the 10V range is not used Decimal Bit Octal Bit Description 00 15 00 17 Channel 1 Data Value 00 15 00 17 Channel 2 Data Value ce 00 15 00 17 Channel 3 Data Value
70. ws the field wiring arm Figure 6 7 Resistor Placement on Field Wiring Arm N fom 1 2 250 resistors 3 ons 4 Field Wiring Arm 12991 Attach three more 250 ohm resistors across Channels 2 3 and 4 Figure 6 7 Place the LAST STATE configuration jumpers in the MAX position if they are not there already Connect a voltmeter across the top two screws on the field wiring arm top screw is positive and second screw is negative Turn processor chassis and industrial terminal ON Place processor in the TEST or PROG mode Output full scale 450mA with write block transfer data Adjust R66 Figure 6 6 until the reading is 12 5 50mA 5mV 10 Repeat steps 8 and 9 for channels 2 3 and 4 Adjust as necessary until the desired tolerance is obtained Associated resistor potentiometers are shown in Table 6 D Chapter Summary Table 6 D Resistor Potentiometers Channel Resistor Potentiometer 1 R66 2 R73 3 R80 4 R87 6 11 11 Remove the extender card and circuit board from chassis 12 Replace Last State configuration jumpers to their original position 13 Replace the module covers and insert the module into the I O chassis 14 Replace field wiring on field wiring arm or position original wiring arm on module if you used a spare field wiring arm for this calibration procedure Your module is now properly cali

Download Pdf Manuals

image

Related Search

Related Contents

Loctite® 300ml Cartridge Pusher  Model Number: HMT-D70EIP-A Portable Dehumidifier  babel user`s manual  GPS Module DataSheet  GSM-Nano  HP Color LaserJet CM3530 MFP Series User Guide  IDIS Solution Suite  Black & Decker CCV900 Instruction Manual  取扱説明書|UHF・BS・CSブースター UBCB35:マスプロ電工  Texto Completo - Centro de Documentación e Información en  

Copyright © All rights reserved.
DMCA: DMCA_mwitty#outlook.com.