Home

1771-6.5.115, Analog Input Module, User Manual

image

Contents

1. Channel 1 g Channel 1 N Channel 2 3 Channel 2 4 Not used s Channel 3 UN 3 7 GI Channel 4 N Channel 4 N Not used Channel 5 11 N Channel 5 S Channel 6 13 N Channel 6 S Not used ic GJ Channel 7 Channel 7 17 N Channel 8 18 Channel 8 GJ 19 Module Common 20 Module Common a 1771 WG Field Wiring Arm 10949 1 Grounding Installing the Input Module 2 13 When using shielded cable wire ground the foil shield and drain wire only at one end of the cable We recommend that you wrap the foil shield and drain wire together and connect them to a chassis mounting b olt grounding stud or chassis single point grounding point Figure 2 5 Use heat shrink tubing to seal the exit point of the wires At the opposite end of the cable tape exposed shield and drain wire withe Figure 2 5 Cable Ground Pull the foil shield and bare drain wire from the insulated wires Remove a length of cable jacket from the Belden 8761 cable TEBE Belden 8761 Cable Bare drain V Insulated Jj 4 wires Foil S shield Chassis Ground When you connect grounding conductors to the I O chassis grounding stud place a star washer under the first lug then place a nut with captive lock washer on top of each ground lug I
2. Keying Band Location Between10 and 12 Between 24 and 26 ATTENTION Insert or remove keying bands with your fingers The keying bands can be repositioned if subsequent system design Upper Connector 110224 and rewiring make insertion of a different type of module necessary Publication 1771 6 5 115 February 1999 Installing the Input Module 2 7 Installing the Analog To install your module in an I O chassis Module 1 First turn off power to the I O chassis ATTENTION Remove power from the 1771 I O chassis backplane and field wiring arm before removing or installing an I O module Failure to remove power from the backplane or wir ing arm could cause module damage degradation of performance or injury Failure to remove power from the backplane could cause injury or equipment damage due to possible unexpected operation Place the module in the card guides on the top and bottom of the slot that guide the 1771 IFE C module into position Important Apply firm even pressure on the module to seat it into its backplane connector 1771 A1B A2B A3B1 A4B I O chassis 1771 A1B A2B A3B1 A4B Series 1 0 chassis locking bar pin locking bar locking tab card guides card guides pub d 2 IFE module w IFE module Snap the chassis latch over Swing
3. PLEASE FOLD HERE BUSINESS REPLY MAIL FIRST CLASS MAIL PERMIT NO 18235 CLEVELAND OH POSTAGE WILL BE PAID BY THE ADDRESSEE 9 Rockwell Automation Allen Bradley TECHNICAL COMMUNICATION 1 ALLEN BRADLEY DR MAYFIELD HEIGHTS OH 44124 9705 NO POSTAGE 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 field service maintenance support Technical Training 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 D 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 and support a broad Allen Bradley range of automation products worldwide They include logic
4. Note Refer to transmitter manufacturers specifications for power supply connections Power 4 Wire Supply Transmitter Power 4 Wire Supply Transmitter XX DU Source Ground NOTE 1 Unused channels must have their and inputs jumpered together and tied to module common to reduce noise Tie power supply grounds together to minimize ground loops Attention Analog input signals must be within 14 25V referenced to module common If an input channel exceeds this range channel to channel crosstalk can cause invalid input readings and invalid underrange or overrange bits The 1771 IFE module does not supply loop power for the input device The user must supply loop power for loop powered input devices Configuring the module for differential inputs does not provide isolation The sensor cable must be shielded The shield must extend the length of the cable but be connected only at the 1771 I O chassis extend up to the point of termination Important The shield 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 115 February 1999
5. Setting the Configuration Plugs on the Module Key the Backplane Installing the Analog Module Wiring Your Analog Input Module Minimizing Ground Cable Indicator Lights Chapter Summary Module Programming Chapter 3 Chapter Objectives 3 1 Block Transfer Programming 3 1 PLC 2 Programming PLC 3 Programming PLC 5 Programming Module Scan Chapter Publication 1771 6 5 115 Configuring Your Module Chapter 4 Chapter Objectives Configuring Your Input Module Input Range Selection eieiei Data Format i32 vies wae hee ete E Digital Fiternng ioa Heal Time Saling ass kone ties Implementing the Scaling Feature Scaling Ranges x ERR x3 Default Configuration Chapter Summ
6. February 1999 3 4 Module Programming The PLC 5 program is very similar to the PLC 3 program with the following exceptions PLC 5 Programming 1 You must use enable bits instead of done bits as the conditions on each rung 2 separate control file must be selected for each of the block transfer instructions Refer to Appendix Figure 3 3 PLC 5 Family Sample Program Structure BTR Enable Program Action Bit Rungs 1 and 2 At power up the program enables a block transfer read and examines the power up bit in the BTR file rung 1 Then it initiates one block transfer write to configure the module rung 2 Thereafter the program continuously reads data from the module rung 1 A subsequent BTW operation is Pushbutton enabled by a pushbutton switch rung 2 2 Changing processor mode will not initiate a block transfer write Power up Bit Publication 1771 6 5 115 February 1999 BTR BLOCK TRANSFER READ RACK GROUP MODULE CONTROL DATA FILE xxxx CER LENGTH CONTINUOUS BIW BLOCK TRANSFER WRITE RACK GROUP MODULE CONTROL DATA FILE LENGTH CONTINUOUS 10956 1 Module Scan Time Module Programming 3 5 Scan time is defined as the amount of time it takes for the input module to read the input channels and place new data into the data buffer Scan time for your module is shown in The following description references the sequence numbe
7. February 1999 7 4 Troubleshooting Your Input Module Checking Module The following allows you to run a check on module operation and Operation isolate a fault either to the module or external to the module Connect the Module in a Simple Test System Set up a 1771 I O chassis with PLC 5 processor in the leftmost slot This sets the chassis to 1 slot addressing Set the chassis backplane switch 5 to ON All other backplane switches to Off Note Check the processor screen to verify that the processor is set for 1 slot addressing nmo ZO IS Off Switches Addressing Always Off 4 5 ressed in NC OFF OFF 250 on right ON closed OFF ON 1 slot e c Pressed in 1 2 slot m Off ON OFF 2 slo on left OFF open Always Off a Place the module in the card guides on the top and bottom of the first slot next to the 2 processor These slots guide the 1771 IFE C module into position Important Apply firm even pressure on the module to seat it into its backplane connector 1771 A1B A2B A3B1 A4B 1 0 chassis 1771 A1B A2B A3B1 A4B Series B I O chassis locking bar pin locking tab locking bar card guides card guides pub PLC 5 Processor P
8. Gain Calibration Calibrating gain requires that you apply 5 000V 10 000V or 20mA as determined by your range and mode Table 6 across each input channel 1 Apply power to the module 2 Apply the gain voltage as shown in Table 6 A all 16 channels single ended or 8 channels differential 3 After the connections stabilize request the gain calibration by sending a 39 word block transfer write BTW to the module Refer to chapter 4 Chapter 4 When the BTW is sent all selected channels are calibrated set to 1 shown in Table 6 A If a channel 1 not selected for calibration its bit is 0 In Differential mode the upper byte of word 39 is not set bits 8 15 decimal or 10 17 octal are 0 bits in word 38 will be set to 0 Write Block Transfer Word 39 for Gain Calibration Decimal Bits Octal Bits Word 39 Publication 1771 6 5 115 February 1999 Chapter Summary Calibrating Your Module 6 5 The BTR echoes back the status of each of the channels to verify the calibration If all channels were calibrated satisfactorily the BTW will reflect this by having all bits set to 1 Read Block Transfer Word 22 Decimal Bits Octal Bits Word 22 In this chapter you learned how to calibrate your input module Publication 1771 6 5 115 February 1999 Chapter Objective Diagnostics Reported by the Module ANALOG IN 12 BIT RUN 10528 1 Chapter Troubleshooting You
9. wy Allen Bradley Analog Input Module Cat No 1771 IFE Series C User Manual 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
10. 10948 1 Publication 1771 6 5 115 February 1999 2 10 Installing the Input Module Figure 2 2 Connection Diagram for 16 Single ended Inputs and Four Wire Transmitters Channel 1 1 Note Refer to transmitter manufacturers Channel 2 2 specifications for power supply connections 2 N Channel 3 3 E E N Channel 4 Power 4 Wire t 4 N Supply Transmitter _ Channel 5 5 6 6 VE d 4 Wire Channel 7 Supply Transmitter dg we Channel 8 S 3 1Module Common S 10 Channel 9 i Q Channel 10 i Channel 11 1 Source Ground 13 N All commons are electrically tied Channel 12 together inside the module anne 14 GI Module Common Jumper all unused channels to 15 N module common to reduce noise Channel 13 5 3 Tie power supply grounds together to Channel 14 minimize ground loops N Channel 15 Attention Analog input signals must be within 14 25V referenced to module common Channel 16 This input signal includes any common mode voltage present between either input terminal TModule Common 19 N and module common If input terminal exceeds this range c
11. designated words of the block transfer write instruction Table 4 A Use BTW word 1 for range selection of channels 1 through 8 and BTW word 2 for channels 9 through 16 Two bits are allocated for each channel Table 4 A Input Range Selection Bits Voltage or current input 1 to 5V dc 4 to 20mA 0 to 5V dc 0 to 20mA 5 to 5V dc 20 to 20 2 10 to 10 dc 0 to 10V dc Current input mode selected by configuration plug Configurable using bi polar scaling EC EO RC e d eo s ad Description Octal Bits Write Word 1 E EE EGG ED E EE pe fee Ie ee 33 Range Selection Channels 1 thru 8 Write Word 2 16 1 4 1 9 Range Selection Channels 9 thru 16 Publication 1771 6 5 115 February 1999 Table 4 B khows the incremented voltage or current assigned to each bit for the seven different input ranges For example if the channel 1 input range is 0 to 5V and the actual incoming signal is at mid range 2 5V the value in the module s data word would be 0000 1000 0000 0000 binary or 2048 decimal The input is 2048 4096 or 1 2 of full scale Configuring Your Module 4 3 Table 4 B Input Voltage and Current Ranges for the Analog Input Module Nominal Voltage or Corresponding 4 Digit BCD Corresponding 12 Bit Voltage or Current Range Output Range Binary Output Range Current Per Bit Note Voltage and current input ranges are selectable on a per channel basis Input Type Sel
12. for any reason or add interlocks to the BTW rung to prevent writes from happening at certain times you are allowed to do it You may not eliminate any storage bits or interlocks that are included in our examples If interlocks are removed the program may not work properly The analog input module will work with a default configuration of zeroes entered in all five words of a five word BTW configuration block See the configuration default section to understand what this configuration will look like Also refer to Appendix C example configuration blocks and instruction addresses to get started ATTENTION In PLC 2 family processors you must not enable both the read and write instructions at the same time Undesirable data could transfer resulting in unpredictable machine operation Using the prescribed programs will prevent this situation Publication 1771 6 5 115 February 1999 3 2 Module Programming PLC 2 Programming The PLC 2 program example regulates when each block transfer will be initiated to eliminate problems caused by limited regulation of bidirectional block transfers Both storage bits are needed as shown in the example to accomplish this task in all PLC 2 systems local or remote with long or short program scans Therefore the program as shown is the minimum required Note that PLC 2 processors that do not have the block transfer instruction must use the GET GET block transfer format which is outlined in App
13. 027 Data Address 030 Contains Module Address in BCD 12172 Binary Bit Pattern Lower Output Image Table Byte Publication 1771 6 5 115 February 1999 Appendix Forms This appendix contains forms useful in setting up your data table Publication 1771 6 5 115 February 1999 Position Position 10 11 12 13 14 15 16 17 18 19 20 Forms Analog Block Transfer Read Be FCR E E E oh Ed ed d File Word eld d Diagnostic bits Channel Publication 1771 6 5 115 February 1999 Position Position Position Forms F 3 Analog Block Transfer Write ze MESES E EE EST E E File Word S ESSI RS Channels 1 through 8 Range Selection hannels 9 through 16 Range Selection J np Q Module Configuration Minimum scaling value sign bits Maximum scaling value sign bits Channel Number Channel Number Min Max Value Min Max Value n2 MNI MY N N e co any Po n2 Publication 1771 6 5 115 February 1999 BCD BCD format digital filtering and scaling block transfer communication using read and write file lengths write block transfer 3 usen bit word format 5 2 2 word assignments 5 1 block transfer write 3 2 configuration block 4 8 filter settings input range se
14. 115 February 1999 1 2 Overview of the Analog Input Module Program Selectable Input Ranges Voltage Current 1 to 5V dc 410 20mA 0 to 5V de 0 to 20mA 5 to 5V de 20 to 20mA 10 to 10V de 0 to 10V de How Analog Modules The processor transfers data to the module block transfer write and Communicate with from the module block transfer read using BTW and BTR Programmable Controllers instructions in your ladder diagram program These instructions let the processor obtain input values and status from the module and let you establish the module s mode of operation 1 The processor transfers your configuration data to the module via a block transfer write instruction 2 External devices generate analog signals that are transmitted to the module Communication Between Processor and Module Chassis Backplane 6 ee lt LILO Input Module PC Processor Cat No 1771 IFE C 109471 Publication 1771 6 5 115 February 1999 Chapter Summary Overview of the Analog Input Module 1 3 3 The module converts analog signals into binary or BCD format and stores theses values until the processor requests their
15. 3 bits 00 07 The digital filter equation is a classic first order lag equation Figure 4 1 Using a step input change to illustrate the filter response Figure 4 2 you can see that when the digital filter constant time elapses 63 2 of the total response is reached Each additional time constant achieves 63 2 of the remaining response Figure 4 1 Digital Filter Equation At Xn Yn 1 Yn 1 Where Yn present output filtered peak voltage PV Yn 1 previous output filtered PV At module channel update time seconds TA digital filter time constant seconds Xn present input unfiltered PV Figure 4 2 Digital Filter Lag Equation Illustration Unfiltered Input TA 0 01 sec TA 0 5 sec 777777 0 99 sec 0 0 01 0 5 0 99 Time in Seconds 16723 Digital filter time constant values of 0 00 BCD to 0 99 BCD 0 00 BCD no filter 0 99 BCD maximum filter are set in bits 00 through 07 of word 3 of the block transfer write instruction If an invalid digital filter value is entered 1 0 1F bit 02 word 1 of the block transfer read instruction will be set If an invalid digital filter value is entered the module will not perform digital filtering If you use the digital filtering feature the filter time constant value chosen will apply to all input signals Configuring Your Module 4 5 Real Time Sampling The real time sampling RTS mode of operation
16. 3ms for filtering Publication 1771 6 5 115 February 1999 2 Specifications Description Environmental conditions operational temperature storage temperature relative humidity Operating Storage Conductors Wiring Category Keying Wiring Arm Field Wiring Arm Screw Torque Agency Certification when product is marked Installation Instructions Value 0 to 60 C 32 to 140 F 40 to 85 C 40 to 1850F 5 to 95 without condensation 5 to 85 without condensation 14 gauge 2mm stranded max 3 64 inch 1 2mm insulation max Category 23 between 10 and 12 between 24 and 26 Catalog Number 1771 WG 7 9 inch pounds CSA certified CSA Class Division 2 Groups A B C D certified UL listed CE marked for all applicable directives 1771 5 45 1 The inputs are protected to 200V However if an input terminal s voltage exceeds 14 25V as referenced to module common channel to channel crosstalk can cause invalid input readings and invalid underrange overrange bits Only 8 volts can be placed directly across the input when configured in the current mode 3 Refer to publication 1770 4 1 Programmable Controller Wiring and Grounding Guidelines Publication 1771 6 5 115 February 1999 Appendix Feature Indicator lights Input Data Default Scaling Block Transfer Lengths Configuration Plugs Compatibility Calibration Procedures Agency Approvals Differences Between S
17. 9 2 gt Attach the wiring arm 1771 WG 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 1771 WG horizontal bar install After connecting the field wiring arm to the module proceed to check the module operation when receiving inputs Publication 1771 6 5 115 February 1999 Troubleshooting Your Input Module 7 7 Checking for Common Common mode voltage on any input must not exceed 14 25V as Mode Voltages referenced to module common terminals 20 and 21 Common mode voltages occur when the ground potentials of current transmitter and or voltage device power sources are at differential potentials as referenced to module common The resulting ground currents can cause voltage potentials at the input terminals Observe the following guidelines whenever possible to prevent common mode voltages use single ended mode use 2 wire transmitters with a common power supply separate 2 wire and 4 wire transmitters between different modules tie 4 wire transmitter and or separate power supply grounds together Affect of Common Mode Voltage on Inputs If common mode voltage exceeds 14 25V on any input channel to channel crosstalk can occur channel input data in the programmable controller data table could be invalid I
18. Grounding Stud Ground Lug Nut Nut and Captive Washer Chassis Side Plate Shield and Drain twisted together 1Use the cup washer if crimp on lugs are not used 19480 Refer to Wiri information Use heat shrink tubing or other suitable insulation where wire exits cable jacket lectrical tape to insulate it from electrical contact ing Attach a ground lug and apply heat shrink tubing to the exit area Length as needed CRY e Twist the foil shield and drain wire together to form a single strand 20104 Single point Grounding Extend shield to termination point Expose just enough cable to adequately terminate inner conductors ANA ANY AAT UNS SAY ZZ 217 IN EE EE IV 7737 ZA 7 CS iw Ss 77 c S S2 Se AS CRs S gt Wa 7 Shield and Drain twisted together 10 Thread forming screw 9 External tooth Washers ng and Grounding Guidelines publication 1770 4 1 for additional Publication 1771 6 5 115 February 1999 2 14 Installing the Input Module Indicator Lights The front panel of the analog input module contains a green RUN indicator and a red FAULT indicator At power up an initial module self check occurs If there is no fault the red indicator turns off ANALOG IN 12 BIT Green RUN indica
19. Location Contains File Timer Counter Address in BCD Preset Values Area 130 R Read 07 Bit Multiple GET Instructions 113 030 130 012 Rung 1 02 120 060 or 012 01 012 Rung 2 Rung 3 02 12172 Publication 1771 6 5 115 February 1999 Setting the Block Length Multiple GET Instructions only Block Transfer Mini PLC 2 and PLC 2 20 Processors E 3 The input module transfers a specific number of words in one block length The number of words transferred is determined by the block length entered in the output image table control byte corresponding to the module s address 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 example Figure E 2 shows if your input module is set up to transfer 6 words you would set bits 01 and 02 of the lower image table control byte The binary equivalent of 6 words is 000110 You would also set bit 07 when programming the module for block transfer read operations Bit 06 is used when block transfer write operations are required Figure E 2 Setting Block Length Multiple GET Instructions only Block Transfer Read 6 Words Read Enable Bit from Module For Block Transfer Active Operations Only Number of Words to Transfer 010 cee Image Table Control Byte Contains Read 012 Enable Bit and Block Length in Binary Code 017
20. PLC 5 Processor IFE module IFE module Swing the chassis locking bar down into place to secure Snap the chassis latch over the modules Make sure the locking pins engage 19809 the top of the module to secure it After inserting the module into the slot apply power to the chassis Publication 1771 6 5 115 February 1999 Troubleshooting Your Input Module 7 5 Enter the following ladder logic into the processor BT9 0 BT9 1 BTW E BLOCK TRANSFER WRITE i ingi RACK Note This programming is only to test EN EN the block transfer write and read functions GROUE o DN Itis not intended for regul MODULE IS not intended regular use CONTROL BLOCK BT9 0 ER DATA FILE N7 0 LENGTH 0 CONTINUOUS N BT9 1 BT9 0 BTR y BLOCK TRANSFER READ EN EN RACK 00 GROUP MODULE CONTROL BLOCK DATA FILE LENGTH CONTINUOUS DN ER The module lights the green RUN indicator when operating without fault or lights the red FAULT indicator when it detects fault conditions If the module is operating correctly the module will be receiving BTRs and sending BTWs The indicator light will indicate green flashing green If the indicator is blinking green the module has not received a configuration block transfer write 5 This configuration sets the IFE module for 1 5V range Block Transfer Write Single ended inputs BCD data format No digital filter No real time samplin
21. 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 module placement and addressing selection Compatibility and data table use is listed below Compatibility and Use of Data Table Use of Data Table Compatibility Input Output Read Write Addressing Image Image Block Block Bits Bits Words Words 112 5101 1 Slot 2 Slot Chassis Series You can place your input module in any I O module slot of the I O chassis You can put two input modules in the same module group You can put an input and an output module in the same module group Do not put the module in the same module group as a discrete high density module Avoid placing analog input modules close to ac modules or high voltage dc modules Do not use this module with a cat no 1771 AL PLC 2 20 2 30 Local Adapter For a list of publications with information on Allen Bradley programmable controller products consult our publication index SD499 Publication 1771 6 5 115 February 1999 Chapter Objectives Module Description Features Chapter 1 Overview of the Analog Input Module This chapter we describe e features of the module how the module communicates with programmable controllers The Analog input module is an intelligent block transfer module that interfaces analog input signals with any Alle
22. and 5 DATA ADDR VEN These rungs provide a read write read Storage MODULE ADDR RGS 7 sequence to the module at power up Bit B BLOCK LENGTH XX DONE They also make sure that only one FILE DN block transfer read or write is enabled CUNT Stor during a particular program scan 0 Bic p BE BTW 7 ENABLE Rungs 6 and 7 BLOCK XFER WRITE DATA ADDR XXX EN These rungs are the conditioning block Storage MODULE ADDR RGS X6 transfer rungs Include all the input BitA BLOCK LENGTH Xx DONE conditioning shown in the example program FILE XXXX 1 You can replace the pushbutton with a timer done bit to initiate the block transfer write on timed basis You can also use any storage bit in memory 10954 1 Publication 1771 6 5 115 February 1999 PLC 3 Programming Program Action At power up the user program examines the BTR done bit in the block transfer read file initiates a block transfer write to configure the module and then does consecutive block transfer reads continuously The power up bit can be examined and used anywhere in the program Rungs 1 and 2 Rungs 1 and 2 are the block transfer read and write instructions The BTR done bit in rung 1 being false initiates the first read block transfer After the first read block transfer the module performs a block transfer write and then does continuous block transfer reads until the pushbutton is used to request ano
23. 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 read 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 and described in the following paragraphs Rung 1 This rung is used to set four conditions 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 e First GET Instruction 030 120 identifies the module s physical address 120 by rack group and slot 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 that designates where the data will be 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 instruct
24. for Noise Immunity After determining that the module is operating correctly troubleshoot any faulty inputs by measuring each input with respect to module common disconnecting inputs from the field wiring arm one at a time while observing module action testing for input channel functionality Measuring Each Input with Respect to Module Common During this procedure monitor the input data table of the programmable controller and observe any changes which occur 1 2 Make sure the field wiring arm is in position on the module Apply power to the 1771 I O chassis Check each input either single ended or differential for common mode voltages exceeding 14 25V with respect to module common A Hold the positive probe of the voltmeter on the first input terminal B Hold the negative probe of the voltmeter on a module common terminal terminals 20 or 21 If any voltage is seen that exceeds 14 25V remove that channel s input wiring and observe the affect on the input data table of the programmable controller ATTENTION Remove power from the 1771 I O chassis backplane and field wiring arm before removing or installing input wiring Failure to remove power from the backplane or wiring arm could cause module damage degradation of performance or injury Failure to remove power from the backplane could cause injury or equipment damage due to possible unexpected operation If no other common mode vo
25. processors power and motion control devices operator interfaces sensors and a variety of software Rockwell is one of the world s leading technology companies Worldwide representation Gu Argentina e Australia e Austria e Bahrain Belgium e Brazil Bulgaria e Canada Chile e China PRC e Colombia e Costa Rica e Croatia e Cyprus e Czech Republic e Denmark e Ecuador e Egypt e El Salvador e Finland e France Germany e Greece e Guatemala e Honduras Hong Kong Hungary Iceland e India e Indonesia e Ireland e Israel Italy e Jamaica e Japan e Jordan e Korea e Kuwait e Lebanon e Malaysia Mexico Netherlands e New Zealand e Norway e Pakistan Peru e Philippines e Poland e Portugal e Puerto Rico e Qatar e Romania e Russia CIS e Saudi Arabia e Singapore e Slovakia e Slovenia South Africa Republic e Spain e Sweden e Switzerland Taiwan e Thailand e Turkey e United Arab Emirates e United Kingdom e United States e Uruguay 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 115 February 1999 supersedes publication 1771 6 5 115 March 1996 and 1771 6 5 115 RN1 September 1996 PN955129 78 Copyright 1999 Allen Bradley Company Inc Printed in USA
26. provides data gathered at precisely timed intervals for use by the processor BTW word 3 bits 11 15 13 17 octal are used to set the real time sampling interval RTS is invaluable for time based functions such as PID and totalization in the PLC It allows accurate time based calculations in local or remote I O racks In the RTS mode the module scans and updates its inputs at a user defined time interval T instead of the default interval The module ignores block transfer read BTR requests for data until the sample time period elapses The BTR of a particular data set occurs only once at the end of the sample period and subsequent requests for transferred data are ignored by the module until a new data set is available If a BTR does not occur before the the end of the next RTS period a time out bit is set in the BTR status area When set this bit indicates that at least one data set was not transferred to the processor The actual number of data sets missed is unknown The time out bit is reset at the completion of the BTR Set appropriate bits in the BTW data file to enable the RTS mode You can select RTS periods ranging from 100 milliseconds ms to 3 seconds Refer to the table below for actual bit settings Note that the default mode of operation is implemented by placing all zeroes in bits 11 15 13 17 octal Table 4 E Bit Settings for the Real Time Sample Mode s T BEG Sample Time Period Sample Tim
27. the chassis locking bar down into place to secure the top of the module to secure it the modules Make sure the locking pins engage 19809 3 Attach the wiring arm 1771 WG to the horizontal bar at the bottom of the I O chassis wiring 7 m H The wiring arm pivots upward connects with 1771 WG the module so you can install or remove the module without disconnecting the wires H horizontal install en Publication 1771 6 5 115 February 1999 2 8 Installing the Input Module Wiring Your Analog Input Module Publication 1771 6 5 115 February 1999 Connect your I O devices to the cat no 1771 WG wiring arm shipped with the module The wiring arm is attached to the pivot bar at the bottom of the I O chassis It pivots upward and connects with the module so you can install or remove the module without disconnecting the wires ATTENTION Remove power from the 1771 I O chassis backplane and field wiring arm before removing or installing an I O module Failure to remove power from the backplane or wir ing arm could cause module damage degradation of performance or injury Failure to remove power from the backplane could cause injury or equipment damage due to possible unexpected operation Input connections for the 1771 IFE module with single ended inputs are shown in Figurd 2 1 and 2 24 Input connections for the 1771 IFE with differential inputs are shown in Figu
28. to possible unexpected operation 4 When the offending input channel is disconnected the input data table will stabilize to some predictable values Publication 1771 6 5 115 February 1999 7 10 Troubleshooting Your Input Module Chapter Summary Publication 1771 6 5 115 February 1999 Testing for Input Channel Functionality To test the functionality of an input channel 1 Remove the input wiring from the field wiring arm ATTENTION Remove power from the 1771 I O chassis backplane and field wiring arm before removing or installing input wiring Failure to remove power from the backplane or wiring arm could cause module damage degradation of performance or injury Failure to remove power from the backplane could cause injury or equipment damage due to possible unexpected operation 2 Connect a battery or other voltage source across the input terminals When the 4 20mA range is selected the voltage source must not exceed 1 5V ATTENTION The voltage source must be within the selected voltage range If the source voltage is greater than the selected voltage range of the input module damage will result 3 Monitor the input data table for predictable values values relative to the input source voltage In this chapter you learned how to interpret the indicator lights and troubleshoot your input module Appendix Specifications Description Inputs per module Module Location Input voltage r
29. 10 7 5 Offset Calibration Results NNI CIC CR CR URL Where PU Power up bit OR Out of range bit IS Invalid scaling bit RTS Real time sampling bit HF Hardware Fault EE EEPROM status bits CS Calibration status bits 1 These bits are set 1 at approximately the input range limits selected Table 5 B During normal operation the processor transfers up to 20 words 22 during calibration to the module when you program a BTR instruction to the module s address When a BTR length of 0 is programmed the 1771 IFE C will respond with the series A module default length of 20 Publication 1771 6 5 115 February 1999 5 2 Module Status and Input Data Block Transfer Read The bit word description for the block transfer read of the Analog Format Input Module is described below Table 5 A BTR Word Format for the Analog Input Module Word Decimal Bit Octal Bit Description Word 1 Power up bit PU Used by the module to tell the processor that it is Bit 00 alive but not yet configured It is a key element in the application program Out of range bit OR This bit is sent to tell the processor that one or more channels are either over or under range Invalid scaling bit IS This bit reports that the scaling is somehow Bit 02 invalid Usually both values are equal or minimum is greater than maximum when this bit comes on Can also be an invalid filter value Real time sample fault bit RTS This bit
30. 115 February 1999 P 2 Using This Manual Conventions Related Products Appendix Topics Covered Programming Examples Data Table Formats Block Transfer Mini PLC 2 and PLC 2 20 Processors Information on BCD 2s complement binary signed magnitude 12 bit binary How to use GET GET instructions Useful forms for identifying your data table We use these conventions in this manual In this manual we show Like this that there is more information about a topic in another chapter in this manual that there is more information about the topic in another manual You can install your input module in any system that uses Allen Bradley programmable controllers with block transfer capability and the 1771 I O structure Contact your nearest Allen Bradley office for more information about your programmable controllers Publication 1771 6 5 115 February 1999 Product Compatibility Related Publications Catalog Number meets fo fete te fv tr Compatible with 1771 A1 A2 A4 Compatible with 1771 A1B A2B A3B A3B1 MB Compatible without restriction Using This Manual P 3 The 1771 IFE series C 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
31. 771 6 5 115 February 1999 Programming Examples C 3 1 Press SHIFT MODE to display your ladder diagram on the industrial terminal 2 Press DD 03 0 ENTER to display the block transfer write file The industrial terminal screen should look like Figure C 2 Notice the highlighted block of zeroes This highlighted block is the cursor It should be in the same place as it appears in Figure 2 If it is not you can move it to the desired position with the cursor control keys Once you have the highlighted cursor in the right place as shown above you can go on to step 3 Figure C 2 Write Block Transfer for a PLC 3 Processor START 1 0003 0000 WORD 000000 00000000 00000000 00000000 00000000 000004 00000000 00000000 00000000 00000000 000010 00000000 00000000 00000000 00000000 000014 00000000 00000000 00000000 00000000 000020 00000000 00000000 00000000 00000000 W0310 PROG I O OFF NO FORCES NO EDITS RUNG RM000000 MEM PORT OFF 3 Enter the data corresponding to your bit selection in word 0 through 4 4 When you have entered your data press ENTER If you make a mistake make sure the cursor is over the word you desire to change Enter the correct data and press ENTER 5 Press CANCEL COMMAND This returns you to the ladder diagram Publication 1771 6 5 115 February 1999 C 4 Programming Examples PLC 5 Family Processors The following is a sample procedure for e
32. 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 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 For specific information required 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 Systems Catalog publication B111 Publication 1771 6 5 115 February 1999 2 2 Installing the Input Module Before You Install Your Input Module Electrostatic Damage Power Requirements Publication 1771 6 5 115 February 1999 Before installing your input module in the chassis You need to As described under Power Requirements page 2 2 Determine where to place the module in the I O Module Location in the I O Chassis chassis page Calculate the power requirements of all modules in each chassis Setting the A B Simu
33. ach bit represents a channel After 00 17 a Calibration BTW has been sent the module confirms calibration by echoing back the channels that were calibrated during the offset calibration BTW In differential mode channels 09 thru 16 are zero Word 22 Bits 00 15 Gain calibration results bits Each bit represents a channel After a 00 17 calibration BTW has been sent the module confirms calibration by echoing back the channels that were calibrated during the gain calibration BTW In differential mode channels 09 thru 16 are zero 1 Attention it an input terminal s voltage exceeds 14 25 as referenced to module common channel to channel crosstalk can cause invalid input readings and invalid underrange overrange bits Publication 1771 6 5 115 February 1999 Chapter Summary Module Status and Input Data 5 3 Table 5 B Input Range Selection Voltage input Current input 1 to 5V dc 4 to 20mA 0 to 5V dc 0 to 20mA 5 to 5 dc 20 to 20 10 to 10 dc 0 to 10V dc Current input mode selected by configuration plug Configurable using bi polar scaling In this chapter you learned the meaning of the status information that the input module sends to the processor Publication 1771 6 5 115 February 1999 Chapter Objective When and How to Calibrate Your Analog Input Module Tools and Equipment Tool or Equipment Precision Voltage Source Industrial Terminal and Interconnect Cable Chapter 6 Cal
34. alert 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 DeviceNet DeviceNetManager and RediSTATION are trademarks of Allen Bradley Company Inc PLC 2 PLC 3 and PLC 5 are registered trademarks of Allen Bradley Company Inc Windows is a trademark of Microsoft Microsoft is a registered trademark of Microsoft IBM is a registered trademark of International Business Machines Incorporated other brand and product names are trademarks or registered trademarks of their respective companies Summary of Changes New Information Updated Information Summary of Changes This edition of this publication contains new and revised information not included in the previous edition This edition of this document includes information formally included in a release note publication 1771 6 5 115 September 1996 This information covered addition of an A B simulation switch that allowed the Se
35. alog Input Module Single ended Differential 20 to 20 20 000 Offset Calibration Normally all inputs are calibrated together To calibrate the offset of an input proceed as follows 1 Apply power to the module 2 Apply the offset voltage of OV or current of 0 000mA Table 6 A as required to all 16 channels 3 After the connections stabilize set all bits in write word 38 to 1 and all bits in word 39 to 0 Send a 39 word block transfer write BTW to the module to calibrate the offset Refer to chapte In Differential mode the upper byte of word 38 is not set bits 8 15 decimal or 10 17 octal are 0 When the BTW is sent all channels are calibrated to 0 000V Write Block Transfer Word 38 for Offset Calibration Decimal Bits 00 Octal Bits 00 Channel 1 ws Publication 1771 6 5 115 February 1999 6 4 Calibrating Your Module The BTR echoes back the status of each of the channels to verify calibration If selected channels were calibrated satisfactorily the BTR will reflect this by having their bits set to 1 In Differential mode the upper byte of word 21 in the BTR is not set bits 8 15 decimal or 10 17 octal are 0 Read Block Transfer Word 21 Decimal Bits me e es e ree pepe Word 21 EZ EE 4 Proceed to Gain Calibration below
36. anges nominal Input current ranges nominal Resolution Accuracy Linearity Repeatability Isolation Voltage Input overvoltage protection Input overcurrent protection current ranges Common mode voltage Input impedance Common mode rejection Current Requirements Temperature Coefficient Power Dissipation Thermal Dissipation Unscaled BCD and binary output to processor Engineering units sent to processor Internal scan rate Specifications continued on next page Value 16 single ended 8 differential low level 1771 1 0 rack 1 slot 1 to 5V dc 0 to 5V de 5 to 5V de 10 to 10V de 0 to 10V de 4 to 20 0 to 20mA 20 to 20 12 bit binary 12 bits plus sign on bipolar ranges 0 1 of full scale range 25 C 1 LSB 1 LSB Isolation meets or exceeds the requirements of UL Standard 508 and CSA Standard 22 2 No 142 200V voltage mode 8V current mode 30mA 14 25 Volts 10 Megohms for voltage ranges 250 ohms for current ranges 80 db dc 120Hz 500mA 9 5 from I O chassis backplane 50ppm C of full scale 2 5 Watts maximum 8 52 BTU hr maximum 0000 to 4095 for polar ranges 0 to 5V 1 to 5V 0 to 20mA and 4 to 20mA 409540 to 409510 for bipolar ranges 5V 10V 20 99990 with selectable scaling 13 7ms for 8 differential inputs no digital filtering add 0 3ms for filtering 27 4ms for 16 single ended input no digital filtering add 0
37. ary Module Status and Input Chapter 5 Data Chapter Objectives Reading Data From Your Module Block Transfer Read Chapter Sumilldly oues endo eR ERE CE ED Calibrating Your Module Chapter 6 Chapter Objective When and How to Calibrate Your Analog Input Module Tools and Equipment Checking Module Calibration Calibrating your Input Module Offset Calibration Write Block Transfer Word 38 for Offset Calibration Read Block Transfer Word 21 Write Block Transfer Word 39 for Gain Calibration Read Block Transfer Word 22 Chapter Summaly ie aco nem eq EM a es RES YN do Troubleshooting Your Input Chapter 7 Module Chapter Objective Diagnostics Reported by the Module Diagnostic Bits Reported By the Analog Input Module Troubleshooting Chart for Analog Input Module 1771 IFE C CheckingModule Operation Connect the Module in a Simple Test System Checking for Common Mode Voltages Affect of Common Mode Vol
38. brating Your Module Checking Module Calibration Publication 1771 6 5 115 February 1999 If a calibration check of your module becomes necessary 1 Verify that the module is in voltage mode In single ended mode apply voltages to channels 1 through 16 2 Send a configuration block transfer write to the module that replicates the specific application This forces the module to do an internal calibration 3 Apply 10V 5 2 5 OV 2 5V 5V and 10V to the module In differential apply voltages to channels 1 through 8 Verify that the values returned are within 0 1 of bipolar full scale Range 0 to 5V 1 to 5V 5 to 5V 10 to 10V 4 to 20mA 0 to 20mA 20 to 20 Range 0 to 5V 1 to 5V 5 to 5V 10 to 10V 4 to 20mA 0 to 20mA 20 to 20mA 0 5000 1000 5000 0 010V 5000 5000 400 2000 0 2000 0 04mA 2000 2000 Error counts no scaling 9999 9999 0 020V 4 4 8 8 4 4 4 4 If values are within tolerance no calibration is necessary If not perform calibration below Calibrating your Input Module Calibrating Your Module 6 3 The analog input module is shipped already calibrated Calibration of the module consists of applying a voltage or current across each input channel for offset and gain calibration Offset and gain values are shown in the following table Table 6 A Offset and Gain Values for Calibrating the 1771 IFE series C An
39. calibrate and troubleshoot your module You must be able to program and operate an Allen Bradley programmable controller to make efficient use of your input module In particular you must know how to program block transfers We assume that you know how to do this in this manual If you do not refer to the appropriate programming and operations manual before you attempt to program this module In this manual we refer to The analog input module as the input module or the module The programmable controller as the controller This 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 1 S1 Overview the Analog Input Description of the module including general and hardware Modules features Installing the Input Module Module power requirements keying chassis location Wiring of the field wiring arm Module Programming Sample programs Hardware and software configuration Configuring Your Module Input range selection Data format Reading data from the module Module Status and Input Data Head block format Calibrating Your Module Information on calibrating your module Troubleshooting Your Module Troubleshooting guide for problem diagnosis Differences Between Series A and B Modules and Series C Lists major differences between module series Modules Publication 1771 6 5
40. d adjust the gain correction values If used 00 17 on 0 to 5 or 1 to 5V ranges a value of 5V is expected If used on 10V range 10V is expected In differential mode bits 08 thru 15 10 thru 17 in octal are ignored In current mode apply 20mA Publication 1771 6 5 115 February 1999 4 10 Configuring Your Module Chapter Summary In this chapter you learned how to configure your module s features condition your inputs and enter your data Publication 1771 6 5 115 February 1999 Chapter 5 Module Status and Input Data Chapter Objectives In this chapter we describe reading data from your module block transfer read block format Reading Data From Your Block transfer read programming moves status and data from the Module input module to the processor s data table in one I O scan Figure 5 1 The processor s user program initiates the request to transfer data from the input module to the processor Figure 5 1 Word Assignments for Analog Input Module 1771 IFE C Block Transfer Read ZU ESAE RE EG d God o o s Description e p p n pe o o or I LLLLLIEBII UNCLE CER ER ER ER ER CT mme 4 wipes p omen 5 Channel 1 Input Channel 1 Input 6 Channel 2 Input Channel 2 Input Channel 3 Input Channel 3 Input 8 Channel 4 Input Channel 4 Input 20 Channel 16 Input Channel 16 Input 21 16 15 13 12 11
41. dule the I O Chassis Setting the Configuration Plugs on the Module Installing the Input Module 2 3 Place your module in any I O module slot of the I O chassis except for the extreme left slot This slot is reserved for PC processors or adapter modules Group your modules to minimize adverse affects from radiated electrical noise and heat We recommend the following Group analog input and low voltage dc modules away from ac modules or high voltage dc modules to minimize electrical noise interference Do not place this module in the same I O group with a discrete high density I O module when using 2 slot addressing This module uses a byte in both the input and output image tables for block transfer The analog input module 1771 IFE C has configuration plugs for determining the input type voltage or current desired for each input The module comes from the factory with the configuration plugs positioned for voltage mode Note that you can select either voltage or current for each input but they must all be either single ended or all differential Important Do not mix single ended and differential inputs on the module To set the configuration plugs for your desired inputs to the module and remove the covers 1 Remove the four screws securing the side cover 19805 Publication 1771 6 5 115 February 1999 2 4 Installing the Input Module 2 Reposition the configuration plugs associated with each i
42. e Period Octal Bits Eo ee a eee pe pee 5 D ee gu ppm qs rur LO wem Je e 9 po pe praes e ssp pose me EE E po ppp ex e E c Apre pq Default Settings Single ended inputs 25 ms Differential inputs 12 5 ms Publication 1771 6 5 115 February 1999 4 6 Configuring Your Module Scaling Publication 1771 6 5 115 February 1999 Your module can perform linear conversion of unscaled data to engineering units for example gallons minute degrees C degrees F and pounds square inch Unscaled data in the module has a range of 0 through 4095 for the unipolar ranges 0 to 5V 4 0 to 20mA and 1 to SV dc 4 to 20mA and 4095 to 4095 8190 for the bipolar ranges 5V 20mA and 10V BTW words 6 through 37 are the scaling words for channels 1 through 16 Channel 1 minimum scaling values are set in word 6 and maximum scaling values are set in word 7 Channel 2 minimum scaling values are set in word 8 and maximum scaling values are set in word 9 and so on for the other chan
43. ect single ended or differential inputs using the designated bit in the configuration file Inputs to a particular module must be all single ended or all differential Set BTW word 3 bit 08 bit 10 octal as shown below Table 4 C Selecting Single ended or Differential Inputs Decimal Bit 8 Octal Bit 10 Input type differential inputs single ended inputs ER Oe Description ee ea Write Word 3 Real Time Sampling Digital Filter Aneel data format input Data Format You must indicate what format will be used to read data from your module Typically you select BCD with PLC 2 processors and 2 s Appendix complement binary with PLC 3 and PLC 5 processors See Appendi or details on data format You use BTW word 3 bits 09 10 11 12 octal to set the data format Table 4 D Selecting the Data Format Decimal Bit 10 Decimal Bit 09 Octal Bit 12 Octal Bit 11 Datalkormat BCD Reserved two s complement binary signed magnitude binary Publication 1771 6 5 115 February 1999 4 4 Configuring Your Module Digital Filtering Amplitude Publication 1771 6 5 115 February 1999 The module has hardware based high frequency filters on all channels to reduce the effect of electrical noise on the input signal Software digital filtering is meant to reduce the effect of process noise on the input signal Digital filtering is selected using BTW word
44. endi Figure 3 1 PLC 2 Family Sample Program Structure Rung 1 Block Transfer Read Block transfer read buffer the Done Bit FILE TO FILE MOVE ENABLE file to file move instruction holds the COUNTER ADDR EN block transfer read BTR data file A POSITION 1 until the processor checks the data integrity If the data was successfully transferred the processor energizes the BTR done bit initiating a data transfer to the buffer file R for use in the program If the data is corrupted during the 2 operation the BTR done bit is not energized and data is not transferred to the buffer file In this case the data in the BTR file will be overwritten by data from the next BTR FILE LENGTH FILE YYYY DONE FILE R XXX RATE PER SCAN XXX 15 Storage Pushbutton 1 BitA Block Transfer Write Storage Done Bit Pushbutton 1 Bit Fa E 3 E D Block Transfer Write Storage Done Bit Bit B e Rungs 2 and 3 These rungs provide for a user initiated block transfer write BTW after the module is initialized at power up Pressing the pushbutton locks out BTR operation and initiates a BTW that reconfigures the module Block transfer writes will continue for as long as the A Block Transfer Read Ej Storage Done Bit usd Bit ce M O pushbutton remains closed Power up Storage Done BTR 6 y yt 1 BLOCK XFER READ ENABLE Rungs 4
45. equal to decimal 22 101105 2210 First the two s complement method places extra bit sign bit in the 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 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 0 so it is not inverted the second digit is a 1 so it is not inverted 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 110010 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 115 February 1999 Multiple GET Instructions Mini PLC 2 and PLC 2 20 Processors Appendix E Block Transfer 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
46. eries A and B Modules and Series C Modules The following is a list of the major differences between the Series A and B 1771 IFE modules and the series C 1771 IFE module Figure B 1 Differences Between 1771 IFE Series A and B and 1771 IFE Series C Modules Series A and B Series C At power up the green run indicator 1 At powerup the green run indicator blinks until a comes on and stays on configuration BTW is received After a configuration BTW Limited to 3 bits of diagnostic is received the green indicator stay on information 2 Has 6 bits of diagnostic information representing 6 possible faults Input clamped at range ends Will not go Returns input data above and below the range end points For above or below range limits example a 1 5V input with default scaling will return all values between 5 2V Jumper settable for Series A and B simulation to internally limit input to range end points Allows default scaling with both maximum and minimum scaling values as zero No scaling error will be reported Maximum block transfers lengths of 20 Maximum block transfers lengths of 22 words for BTR and 39 words for BTR and 37 words for BTW words for BTW due to autocalibration Default length of 0 Default length of 0 words words same as series A 24 configuration plugs to set on 3 row 16 configuration plugs to set on eight 2 row headers headers The series A and modules are compatible The series C module is not compa
47. es for under range conditions When a particular channel input is under range the associated bit will be set As long as inputs are under range the associated bit remains set Bit 00 corresponds to channel 1 bit 01 to channel 2 etc Word 3 Word 3 provides for over range conditions When a particular channel input is over range the associated bit will be set As long as inputs are in range the associated bit remains reset Bit 00 corresponds to channel 1 bit 01 to channel 2 etc Word 4 Word 4 provides an indication of a particular channel s input polarity set or 1 negative reset or 0 positive Bit 00 corresponds to channel 1 bit 01 to channel 2 etc Legend of on BW Blinking O Troubleshooting Your Input Module 7 3 The following table lists the probable cause and recommended actions for some common trouble indications Troubleshooting Chart for Analog Input Module 1771 IFE C Indicators RUN green FLT red RUN blinking FLT off RUN green FLT red RUN Neither LED FLT comes on Probable Cause Normal operation Awaiting configuration Block Transfer Write Hardware failure in module Recommended Action None Send configuration BTW Return module for repair Turn off power Remove and reinsert module into chassis Return power If problem still exists and chassis power supply is functioning properly return the module for repair Publication 1771 6 5 115
48. etermined by multiplying the binary digit by its corresponding place value and adding these numbers Figure D 1 4 Digit Binary Coded Decimal 0x23 0 0 22 0 0 21 0 1 20 1 0x23 0 0x22 0 2 1X2 2 0 20 0 0X 23 0 0X 22 0 1X2 2 1X20 1 1 23 8 0 22 0 1 20 1 sf of of fof of of Says a Publication 1771 6 5 115 February 1999 D 2 Data Table Formats Table D A BCD Representation Decimal Equivalent Signed magnitude binary is a means of communicating numbers to Signed magnitude Binary 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 101105 2210 The signed magnitude method places extra bit sign bit in the 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 110110 22 Publication 1771 6 5 115 February 1999 Two s Complement Binary Data Table Formats D 3 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
49. g single ended inputs Table 4 G Analog Input Module 1771 IFE C Block Transfer Write Configuration Block Eee Description Sec E E Nel c Word 1 2 37 38 39 Data Input Ei Real time sampling data format input Format Type Digital Filter type and digital filter 116 15 fis e m ol 9 8 432 t Sign Bits minimum scaling values 16 15 1413 12 m fo 9 e 5 432 Ff Sign Bits maximum scaling values y U Pe prin p PP EPP nem Real Time Sampling Publication 1771 6 5 115 February 1999 Configuring Your Module 4 9 Bit Word Descriptions for the Analog Input Module Block Transfer Write Configuration Block Note that decimal bits are shown with octal bits in parentheses Decimal Bit bere Word Octal Bit Description Words 1 and Bits 00 15 Input range selections allow the user to configure the inputs for any of 7 input voltage or current ranges Two 2 00 17 bits are required for each channel Bits 00 and 01 for channel 1 bits 02 and 03 for channel 2 etc Bit 00 Voltage or Current Input 1 to 5V dc 4 to 20mA default 0 to 5V dc 0 to 20mA 5 to 5V de 20 to 20 10 to 10V de 0 to 10V de Word 3 oven Digital filter reduces effect of noise on input See Digital Filtering on page 4 4 Default is no filter Bit 08 Input type set bit for differential mode on all channels 10 Re
50. g 0 4095 scaling Monitor the status bits in word 1 of the BTR file when troubleshooting your module Data Table Report PLC 5 11 Addr4 IFE Data Table File N7 0 ADDRESS 0 1 2 7 0 Write block transfer 7 10 configuration data N7 20 N7 30 N7 40 N7 50 N7 60 N7 70 N7 80 N7 90 N7 100 Read block transfer data 0 0 0 0 0 0 0 0 0 0 0 Note 1653349 409516 BCD Note If all input terminals are shorted together and tied to module common the input data for all channels will read zero Publication 1771 6 5 115 February 1999 7 6 Troubleshooting Your Input Module The module also reports status and specific faults if they occur in every transfer of data BTR to the PC processor Monitor the green and red indicators and the status bits in word 1 of the BTR file when troubleshooting your module Data Table Report PLC 5 11 Addr4 IFE Data Table File N7 0 ADDRESSEN ST DN ERCO EW NR TO RWRLEN DLEN FILE ELEM R G M 011 0 1 0 03 0000 Block transfer control files BT9 1 1 1 0 0 1 1 020 7 40000 00000 0 0 0000 Memory Report PLC 5 11 Addr 4 IFE Data Table File N7 0 FILE TYPE LASTADDRESS SIZE elements SIZE words output 0 037 32 38 input I 037 32 38 status 8 127 134 binary orbit B3 15 timer T4 0 counter C5 0 control R6 0 integer N7 103 floating point F8 0 BT block transfer
51. ge or over range bit bit 01 that is set when any input is under or over range Publication 1771 6 5 115 February 1999 7 2 Troubleshooting Your Input Module Publication 1771 6 5 115 February 1999 An invalid scaling data bit bit 02 is set if invalid scaling data is entered into any of the minimum maximum scaling value words Note that minimum equal to maximum is an invalid value If invalid values are entered into the minimum or maximum scaling words the corresponding read block transfer input channel word will be set to 0000 Bit 02 is set if an invalid digital filter value is entered e g 1F If an invalid digital filter value is entered the module will not perform digital filtering The real time sample RTS fault bit bit 03 is set if the module is configured for RTS and a block transfer read has not occurred within the user programmed period Bit 04 is the calibration status bit This bit is reset 0 when a successful calibration is completed If the bit is set 1 an incorrect voltage current was applied or offset and gain calibrations were attempted together The EEPROM status bit 05 is set when an error occurs when saving calibration data to nonvolatile memory If this bit is set at powerup the EEPROM data did not pass checksum and calibration values are being used The hardware failure bit 06 is set when a blown fuse is detected or when the EEPROM can t recover from a fault Word 2 Word 2 provid
52. hannel to channel crosstalk 20 N can cause invalid input readings and invalid underrange or overrange bits 1Module Common 21 The 1771 IFE module does not supply loop power for the input device The user must supply loop power for loop powered input devices The sensor cable must be shielded The shield must e extend the length of the cable but be connected only at the 1771 1771 WG I O chassis Field Wiring Arm e extend up to the point of termination Important The shield 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 115 February 1999 10948 1 Installing the Input Module 2 11 Figure 2 3 Connection Diagram for 8 Differential Inputs and Two Wire Transmitters Channel 1 TAN Note Refer to transmitter manufacturers Channel 1 specifications for power supply connections 2 CJ Channel 2 uo 2 Wire Channel 2 i Transmitter XX Not used 5 UN Channel 3 Channel 3 2 Wire Ch 4 i Transmitter XX Bo 8 Channel 4 lt Not used CJ Cha
53. ibrating Your Module In this chapter we describe checking your calibration calibrating your module Your module is shipped to you already calibrated If you are checking calibration or if it becomes necessary to recalibrate the module you must do so with the module in an I O chassis The module must communicate with the processor and industrial terminal Before calibrating the module you must enter ladder logic into the processor memory so that you can initiate BTWSs to the module and the processor can read inputs from the module Periodically frequency based on your application check your module calibration Calibration may be required to remove module error due to aging of components in your system Calibration can be accomplished using either of two methods manual calibration as described below 6200 I O CONFIGURATION software refer to your 6200 software publications for procedures for calibrating When calibrating your module you must perform offset calibration first gain calibration second In order to calibrate your input module you will need the following tools and equipment Model Type Available from 0 100mV resolution Analogic 3100 Data Precision 8200 or equivalent Programming terminal for Cat 1770 T3 or Cat Allen Bradley Company family processors 1784 145 T47 T50 etc Highland Heights OH Publication 1771 6 5 115 February 1999 6 2 Cali
54. ion is defined as follows e 0 indicates that it is an output instruction indicates the I O rack address e 2 indicates the module group location within the rack e 07 indicates this is a block transfer read operation if this were a block transfer write operation 07 would be replaced by 06 Publication 1771 6 5 115 February 1999 E 2 Block Transfer Mini PLC 2 and PLC 2 20 Processors Rungs 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 6 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 E 1 Multiple GET Instructions Mini PLC 2 and PLC 2 20 Processors Only 010 Output Image Table Control Output 012 Byte Contains Read Image Table Enable Bit and Block 5 017 Length in Binary Code 027 Data Address 030 Contains Module Address in BCD Timer Counter First Address 060 Destination of Values Area Transferred Data 065 110 Input Image Table Status Byte 117 Contains Done Bit 112 Storage
55. is set if the module is Bit 03 configured for RTS and a block transfer read has not occurred within the user programmed period Calibration status bit CS When calibrating the module this bit will 3 be cleared if the calibration was successful If the bit is set Bit 04 adc incorrect voltage current was applied or offset and gain calibrations were attempted simultaneously status bit EE This bit is set if an error occurs saving Bit 05 calibration data to nonvolatile memory If this bit is set at powerup the data from the EEPROM did not pass the checksum and no calibration values are used Hardware fault HF When this bit is set the dc dc converter fuse Bit 06 ae has blown Digital logic will continue to operate Bits 07 15 07 17 Not used Word 2 Bits 00 15 Underrange bits for each channel Bit 00 for channel 1 bit 01 for d 17 channel 2 These bits are set 1 at approximately the input 00 17 range limits selected from Table 5 B Word 3 Bits 00 15 Overrange bits for each channel Bit 00 for channel 1 bit 01 for aa 17 channel 2 etc These bits are set 1 at approximately the input 00 17 range limits selected from Tabld 5 B Word 4 Bits 00 15 Polarity bits Set when input is less than zero Bit 00 for channel 1 00 17 bit 01 for channel 2 etc Word 5 thru 20 Input values Word 5 for channel 1 word 6 for channel 2 etc Word 21 Bits 00 15 Offset calibration results bits E
56. lation Jumper Set the Series A B simulation jumper page 2 5 Key the backplane connector in the chassis Module Keying page 2 6 Wiring Your Input Module page and Grounding page 2 13 Important The 1771 IFE module is shipped from the factory set for voltage mode and Series C applications Refer to Setting the Configuration Plugs on the page 2 3 for other combinations of current and voltage inputs and Setting the Series Simulation Jumper on page 2 5 Make connections to the wiring arm Electrostatic discharge can damage semiconductor devices inside this module if you touch backplane connector pins Guard against electrostatic damage by observing the following precautions ATTENTION Electrostatic discharge can degrade performance or cause permanent damage Handle the module as stated below Wear an approved wrist strap grounding device or touch a grounded object to rid yourself of electrostatic charge before handling the module Handle the module from the front away from the backplane connector Do not touch backplane connector pins Keep the module in its static shield bag when not in use Your module receives its power through the 1771 I O power supply The module requires 500mA from the backplane Add this current to the requirements of all other modules in the I O chassis to prevent overloading the chassis backplane and or backplane power supply Locating the Mo
57. lection ton 4 2 programming 3 calibration periodic 6 1 tools common mode voltages affect of checking for configuration block bit word descriptions block transfer write 4 8 configuration calibration time 3 5 connection diagram 16 single ended inputs 2 wire transmitters 4 wire transmitters 8 differential inputs 2 wire transmitters 4 wire transmitters 2 11 considerations pre installation 2 2 Index D data format bit selection settings 4 3 data formats default configuration block transfer write 3 11 4 8 default length series 5 1 diagnostic bits 7 1 diagnostics word 1 7 1 F factory setting fault indicator features field wiring arm filtering description 4 4 format data IFE module input channel jumpers IFE module install indicator lights indicators input range selection 5 3 input ranges program selectable input voltage current ranges 4 3 installation IFE module of module 2 6 J jumpers input channel 2 4 Publication 1771 6 5 115 February 1999 Index S module shipping saele sample program 3 7 module configuraion 2 module installation module location in chassis 2 3 sping description 4 6 N implementation 4 6 minimum block transfer requirements noise interference ranges 4 6 scan time module P Ns specifications power re
58. ltages are present the input data for all other channels should stabilize to some predictable value Troubleshooting Your Input Module 7 9 5 Attempt to equalize all grounds at the offending channel before reconnecting the input wiring ATTENTION Remove power from the 1771 I O chassis backplane and field wiring arm before removing or installing input wiring Failure to remove power from the backplane or wiring arm could cause module damage degradation of performance or injury Failure to remove power from the backplane could cause injury or equipment damage due to possible unexpected operation 6 If the common mode voltage cannot be removed on the input an isolation device may be required on that channel Disconnecting Inputs from the Field Wiring Arm One at a Time While Observing Module Action During this procedure monitor the input data table of the programmable controller and observe any changes which occur 1 Make sure the field wiring arm is in position on the module 2 Apply power to the 1771 I O chassis 3 While observing the input data table remove one input at a time ATTENTION Remove power from the 1771 I O chassis backplane and field wiring arm before removing or installing input wiring Failure to remove power from the backplane or wiring arm could cause module damage degradation of performance or injury Failure to remove power from the backplane could cause injury or equipment damage due
59. n Bradley programmable controllers that have block transfer capability Block transfer programming moves input data words from the module s memory to a designated area in the processor data table in a single scan It also moves configuration words from the processor data table to module memory The input module is a single slot module and requires no external power supply If using passive transducers for input the user must supply loop power After scanning the analog inputs the input data is converted to a specified data type in a digital format to be transferred to the processor s data table on request The block transfer mode is disabled until this input scan is complete Consequently the minimum interval between block transfer reads is the same as the total input update time for each analog input module The Analog input module senses up to 16 single ended or 8 differential analog inputs and converts them to a proportional four digit BCD or twelve bit binary value You can select from five voltage or three current input ranges Each input can be configured as a current or voltage input with internal jumpers This module s program selectable features include 16 single ended or 8 differential inputs User program selectable input ranges on a per channel basis see table Selectable real time sampling e Selectable scaling to engineering units Selectable digital filtering Selectable data format Publication 1771 6 5
60. ncorrect overrange and underrange bits could also occur Data Table Report PLC 5 11 Addr4 IFE Data Table File N7 0 Data Table Report PLC 5 11 Addr4 IFE Data Table File N7 0 ADDRESS 0 ADDRESS 0 0 10 N7 20 N7 30 N7 40 N7 50 N7 60 N7 70 N7 80 N7 90 N7 100 0 16533 0 0 16533 N7 10 0 16533 N7 20 N7 30 N7 40 N7 50 N7 60 N7 70 N7 80 N7 90 N7 100 0 16533 0 16533 0 16533 0 Normal block transfer read with all f Block transfer read with channel 1 input 14 25V T channels connected to module common and all channels connected to module common Data Table Report PLC 5 11 Addr4 IFE Data Table File N7 0 ADDRESS 0 N7 0 10 N7 20 N7 30 Block transfer read with channel 1 input approximately 20V N7 40 and all channels connected to common gt 7 50 60 N7 70 N7 80 N7 90 N7 100 0 16533 16533 16533 0 0 0 0 0 0 0 0 0 0 0 Publication 1771 6 5 115 February 1999 7 8 Troubleshooting Your Input Module Troubleshooting a Bad Input Publication 1771 6 5 115 February 1999 A noise spike which exceeds 14 25V on an input will also cause crosstalk to occur This transient condition will affect all inputs Refer to publication 1770 4 1 Wiring and Grounding Guidelines
61. nels The format of this data is 4 digit BCD The resolution at the module of scaled values is the same as for unscaled data one part in 4095 for to 5V dc 0 to 20mA and 1 to 5V dc 4 to 20mA ranges and one part in 8190 for the 5V 20mA and 10V ranges Resolution at the processor however is determined by the scaled ranges i e if 0 minimum and 500 2 maximum resolution is now 1 part in 500 Each input channel can be scaled independently of the other channels Note To achieve the 0 to 10 range you must use bipolar scaling Select the 10V range and scale for the actual intended range If you need 0 to 100 gpm set scaling values at 100 and 100 You will effectively be creating a 0 to 10V range that is scaled from 0 to 100 Implementing the Scaling Feature You implement the scaling feature by inserting minimum and maximum scaled values in the appropriate configuration words using BCD format A If any of the minimum or maximum values are negative set the appropriate sign bits in the minimum or maximum sign bit word B Ifa single channel is scaled all channels must be scaled and all 37 configuration words must be written to the module Scaling Ranges The maximum range of the scaling values is 9999 BCD These values must be entered in BCD Typically invalid values are minimum greater than maximum or minimum equal to maximum If invalid values are entered into the scaling words the corresponding inpu
62. ngle ended mode 2s configure 4 5s calibration Differential mode 1s configure 2 5s calibration Scan time 13 7ms for 8 differential inputs no scaling or digital filter 27 4ms for 16 single ended inputs no scaling or digital filter 12689 Chapter Summary In this chapter you learned how to program your programmable controller You were given sample programs for your PLC 2 PLC 3 and PLC 5 family processors You also read about module scan time Publication 1771 6 5 115 February 1999 Chapter Objectives Configuring Your Input Module Chapter 4 Configuring Your Module In this chapter we describe configuring your module s features conditioning your inputs entering your data Because of the many analog devices available and the wide variety of possible configurations you must configure your module to conform to the analog device and specific application that you have chosen Data is conditioned through a group of data table words that are transferred to the module using a block transfer write instruction Before continuing make sure you read Setting the Configuration Plugs on the Module in chapted 2 The software configurable features available with the Analog Input Module cat no 1771 IFE C are input range selection inputtype data format digital filtering real time sampling scaling to engineering units calibration Note that digital filtering and scaling values mu
63. nnel 4 2 Wire i 4 Transmitter Module Common E AN Channel 5 Channel 6 2 Wire Channel 7 Transmitter 8 N Channel 8 Module Common 10 Channel 9 N Channel 10 jj 1 Channel 11 All commons are electrically tied Source Ground 13 N together inside the module Channel 12 N 14 2 Jumper all unused channels to 1Module Common 6 amp common to reduce noise Channel 13 3 Tie power supply grounds together to 16 N minimize ground loops Channel 14 Attention Analog input signals must be within 14 25V referenced to module Channel 15 18 lt common This input signal includes common mode voltage present between Channel 16 either input terminal and module common If an input terminal exceeds this range 1 19 N channel to channel crosstalk can cause invalid input readings and invalid Module Common di underrange overrange bits 1 Common 21 The 1771 IFE module does not supply loop power for the input device The user must supply loop power for loop powered input devices The sensor cable must be shielded The shield must extend the length of the cable but be connected only at the 1771 1 0 chassis 1771 WG extend up to the point of termination Field Wiring Arm Important The shield 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
64. nnel 5 HUG Channel 5 i Source Ground Channel 6 N 1 Unused channels must have their and inputs jumpered Channel 6 together and tied to module common to reduce noise 14 N Not used Tie power supply grounds together to 15 N minimize ground loops Channel 7 Attention Analog input signals must be within 14 25V referenced to module common If Channel 7 an input channel exceeds this range channel to channel crosstalk can cause invalid input 17 Q readings and invalid underrange or overrange bits Channel 8 18 GI The 1771 IFE module does not supply loop power for the input device The user must Channel 8 19 lt supply loop power for loop powered input devices Module Common 20 Module Common RN Configuring the module for differential inputs does not provide isolation 1 gt 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 e extend up to the point of termination _ Important The shield should extend to the termination point Field Wiring Arm exposing just enough cable to adequately terminate the inner conductors Use heat shrink or another suitable insulation where the wire exits the cable jacket 1771 WG 10949 1 Publication 1771 6 5 115 February 1999 2 12 Installing the Input Module Figure 2 4 Connection Diagram for 8 Differential Inputs and Four Wire Transmitters
65. nput channel according to your requirements You can mix voltage mode and current mode settings on the module Make sure that the entire module is set for either single ended or differential Do not mix them Voltage Mode Differential or Single ended factory set o OHO Current Mode Differential Current Single ended Current o Single ended Odd channel current O m Even channel voltage t ven channel curren Odd channel voltage OO Reposition the cover and secure with the fours screws removed in step 1 Publication 1771 6 5 115 February 1999 Single ended Differential Channel Channel 1 1 and 2 Channel Channel 2 d 3and4 Channel Channel 3 5 and 6 9 Channel Channel 4 7 8 Channel Channel 5 9 and 10 Channel Channel GSS 11 and 12 Channel Channel7 2889 13 and 14 88 o Channel Channels go 15 and 16 19813 Selection Plugs 10950 1 Installing the Input Module 2 5 Setting the Series A B The module is shipped with the series A B simulation jumper set in Simulation Jumper position POS G for Series C applications This setting returns input data above and below the range end points If you are replacing a Series A or B 1771 IFE module with this module and your application cannot tolerate underrange overrange data reset the simulation jumper to the POS E position as shown below to internally limi
66. ntering data in the configuration words of the block transfer write instruction when using a PLC 5 processor and 6200 programming software 1 Enter the following rung BTW ENABLE BLOCK XFER WRITE EN RACK GROUP MODULE DN CONTROL DATA FILE ER LENGTH CONTINUOUS N7 60 1 the address of the BTW transfer file 2 Press F8 data monitor F5 change address and enter N7 60 to display the configuration block The industrial terminal screen should look like Figure C 3 Figure C 3 Sample PLC 5 Data File Hexadecimal Data ADDRESS 0 N7 60 5003 OOFF OOFF 0040 0040 0085 0040 0085 0040 N7 70 0085 0040 0085 0040 0040 0085 0040 0085 0000 N7 80 0000 0000 0000 0000 0000 0000 0000 0000 0000 N7 90 0000 0000 0000 0000 0000 0000 3 Enter the data corresponding to your bit selections and add scaling values if scaling is desired 4 ESC returns you to the ladder program Publication 1771 6 5 115 February 1999 4 Digit Binary Coded Decimal BCD Appendix D 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 D 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 29 2 2 and 23 lt The decimal equivalent for a group of four binary digits is d
67. pend on the number of channels selected and whether scaling is or is not performed for example the block may contain only 3 words if no scaling is performed but may contain 37 words if using 16 inputs with scaling Publication 1771 6 5 115 February 1999 2 Programming Examples The PLC 2 family write block transfer data file should look like Figure 1 Figure C 1 Write Block Transfer Data Transfer for a PLC 2 Family Processor DATA ADDR 030 BINARY DATA MONITOR BLOCK LENGTH 37 BLOCK TRANSFER WRITE MODULE ADDR 110 FILE 400 444 POSITION FILE DATA 001 00000000 00000000 002 00000000 00000000 003 00000000 00000000 004 00000000 00000000 005 00000000 00000000 006 00000000 00000000 007 00000000 00000000 008 00000000 00000000 009 00000000 00000000 010 00000000 00000000 011 00000000 00000000 012 00000000 00000000 013 00000000 00000000 014 00000000 00000000 015 00000000 00000000 DATA 00000000 00000000 PLC 3 Family Processor Following is a sample procedure for entering data in the configuration words of the write block transfer instruction when using a PLC 3 processor To enter data in the configuration words follow these steps Example Enter the following rung for a write block transfer BLOCK XFER WRITE RACK 001 GROUP 1 MODULE 1 HIGH DATA F0003 0000 LENGTH 37 CNTL FB004 0000 F0003 0000 1s the address of the write block transfer data file You want to enter examine word 1 Publication 1
68. quirements from backplane programming with multiple GETs T test system connecting 7 4 testing range selection by disconnecting input 79 j channel functionality 7 10 bit setting input to module 7 8 real time sampling troubleshooting 7 1 bit settings chart troubleshooting the module 7 8 U update time V voltage mode input devices recommended cable length 2 7 Publication 1771 6 5 115 February 1999 Allen Bradley uy Publication Problem Report If you find a problem with our documentation please complete and return this form Pub Name Analog Input Module User Manual Check Problem s Type Describe Problem s Internal Use Only Technical Accuracy text illustration Completeness procedure step illustration definition info in manual What information is missing L example L guideline L feature accessibility explanation other L1 info not in manual Clarity What is unclear Sequence What is not in the right order 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 May 1990 PN 955107 82 Other Comments
69. r Input Module In this chapter we describe how to troubleshoot your module by observing the indicators monitoring status bits reported to the processor checking module operation checking for common mode voltages isolating a bad input At power up the module momentarily turns on the red indicator as a lamp test then checks for correct RAM operation firmware errors Thereafter the module lights the green RUN indicator when operating without fault or lights the red FAULT indicator when it detects fault conditions The module also reports status and specific faults if they occur in every transfer of data BTR to the PC processor Monitor the green and red indicators and status bits in word 1 of the BTR file when troubleshooting your module Diagnostic Bits Reported By the Analog Input Module Diagnostic bits in the read block transfer status words provide diagnostic capabilities Word 1 provides power up and valid data status Words 2 3 and 4 provide channel data status If a module on board self test fault occurs block transfers will be inhibited the red fault FLT will light and the green run RUN light will go out Word 1 Diagnostics word 1 is the first data word in the read block transfer file for transfer to the central processor It contains a power up bit bit 00 that is set 1 when the module is first powered up It is reset 0 after a write block transfer It also contains an under ran
70. re 2 3 and F igurd 2 4 Minimizing Ground Loops To minimize ground loop currents on input circuits use single ended mode whenever possible use 2 wire transmitters with a common power supply separate 2 wire and 4 wire transmitters between different modules tie 4 wire transmitter and or separate power supply grounds together Important We do not recommend mixing 2 wire and 4 wire transmitter inputs on the same module Power supply placement can make it impossible to eliminate ground loops Cable Lengths Recommended maximum cable length for voltage mode input devices is 50 feet This recommendation is based on considerations of signal degradation and electrical noise immunity in typical industrial environments Cable length for current mode input devices need not be as restrictive because analog signals from these devices are less sensitive to electrical noise interference Installing the Input Module Figure 2 1 Connection Diagram for 16 Single ended Inputs and Two Wire Transmitters 2 9 Note Refer to transmitter manufacturers Cie 1 N specifications for power supply connections Channel 2 N 2Channel 3 4 S Cha
71. ries C module to be used in place of Series A or B modules anappendix listing the major differences between Series of the Analog module In addition minor corrections have been made in response to requests for change from users Change Bars The areas in this manual which are different from previous editions are marked with change bars as shown to the right of this paragraph to indicate the addition of new or revised information Publication 1771 6 5 115 February 1999 Table of Contents Overview of the Analog Chapter 1 Input Module Chapter Objectives Module Description ewer Features Program Selectable Input Ranges How Analog Modules Communicate with Programmable Controllers Communication Between Processor and Module RCCUIACY ofc Chapter Summary Installing the Input Module Chapter 2 Chapter osse s Led REED ERIS Des Chee ade 2 1 Compliance to European Union Directives EMG NL T Low Voltage Before You Install Your Input Module Electrostatic Damage Power Requirements Locating the Module in the Chassis
72. rs in Figurd 3 4 Following a block transfer write 1 the module inhibits communication until after it has configured the data 2 performed calibration check 3 if requested scanned the inputs 4 and filled the data buffer 5 Write block transfers therefore should only be performed when the module is being configured or calibrated Any time after the second scan begins 6 a BTR request 7 can be acknowledged This interrupts the scan and the BTR empties the buffer If RTS is enabled a BTR will only occur after the specified time period Refer to chapter 4 Following the BTR the input module inhibits block transfer communications with the programmable controller until it has scanned its inputs 8 and new data is ready 9 The input module repeats the scan sequence 10 updating the input values until another block transfer request is received Therefore BTRs will only be completed as frequently as the total scan time of the input module Publication 1771 6 5 115 February 1999 Block Transfer Write time Module Programming Scan Scan Scan Figure 3 4 Block Transfer Time End of block transfer write Module available to perform block transfer Block transfers are inhibited until any programmed RTS time has elapsed Configure Calibration time time 151 2 3rd See note Ba a Note Configure Calibration time Si
73. set 0 single ended inputs default Set 1 differential inputs Bits 09 10 Data format set to match your processor 11 12 Data Format BCD default EE Reserved EHEH Two s complement binary 1 E Signed magnitude binary p Real time sampling Default is no RTS See appendix A for timing details See Table 4 E for real time intervals Word 4 Bits 00 15 Minimum sign bits when set designate negative minimum scaling values for the corresponding input 00 17 channels Bit 00 corresponds to channel 1 bit 01 corresponds to channel 2 etc Maximum sign bits when set designate maximum scaling values that are negative Maximum scaling value must be greater than minimum on any particular channel Bit 00 corresponds to channel 1 bit 01 corresponds to channel 2 etc in Minimum and maximum scaling values for each channel Enter in BCD format Offset calibration Each bit represents a channel bit 00 to channel 1 bit 01 to channel 2 etc When the bit is Bits 00 15 Word 5 00 17 Word 38 set and a BTW has been sent the module will read the channels and adjust the offset to analog ground potential In differential mode bits 08 thru 15 10 thru 17 in octal are ignored In current mode apply OmA Gain calibration Each bit represents a channel bit 00 to channel 1 bit 01 to channel 2 etc When the bit is Word 39 Bits 00 15 set and a BTW has been sent the module will read the channels an
74. st be entered in BCD format only Change your display format to BCD in the PLC 5 and PLC 3 to accomplish this 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 Note Programmable controllers that use process configuration and operation software cat no 6190 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 Publication 1771 6 5 115 February 1999 4 2 Configuring Your Module Input Range Selection During normal operation the processor transfers 1 to 39 words to the module when you program a block transfer write instruction to the module s address This BTW file contains configuration words and calibration words words 38 and 39 for each channel When a block transfer transfer length of 0 is programmed the 1771 IFE C will respond with the series A default length of 37 You can configure the module to operate with any of five voltage or three current ranges You select individual channel ranges using the
75. t in the BTR data will be zero and the invalid scaling bit will be set Configuring Your Module 4 7 Important Scaling values must always be entered in BCD format even if the data format chosen is binary If scaling is selected for any channel all channels must be scaled If scaling is not required on certain channels set those to the default input range 0 to 4095 for 0 to voltage or current ranges and 4095 to 4095 for to voltage or current ranges If scaling is not selected the module requires specific minimum BTR file lengths for the number of channels used The BTW file length can be set to 3 words Table 4 F shows the required BTW and BTR file lengths Table 4 F Block Transfer Read and Write File Lengths Channels BTW File Used Length Length 7 5 Calibration 38 Words 39 Important Use decimally addressed bit locations for PLC 5 processors The module will return values outside the scaling range For example if a module is in the 0 5V dc mode scaled for 0 to 5000 and has 2V dc applied it will return 2000 Publication 1771 6 5 115 February 1999 4 8 Configuring Your Module Default Configuration If a write block of five words with all zeroes is sent to the Analog Input Module cat no 1771 IFE series C default selections will be 1to5V dc or 4 to 20mA dependent on configuration jumper setting BCD data format no real time sampling RTS no filtering no scalin
76. t input data to range end points Set the Series A B Simulation Jumper 1 Locate the simulation jumper at the top edge Simulation of the module circuit board Jumper 2 Using your fingers slide the jumper off the 2 posts 3 Carefully position the jumper on 2 of the 3 posts that correspond to your requirement Top edge of circuit board POSG POSE Simulation Jumper shown in POS position for series A and B simulation Series A and B Simulation Top edge of circuit board POS G POSE Series C Application Simulation Jumper shown in POS G position for series C Publication 1771 6 5 115 February 1999 2 6 Installing the Input Module Key the Backplane Place your module in any slot in the chassis except the leftmost slot Connector which is reserved for processors or adapters ATTENTION Observe the following precautions when inserting or removing keys insert or remove keys with your fingers make sure that key placement is correct Incorrect keying or the use of a tool can result in damage to the backplane connector and possible system faults The 1771 IFE C module is slotted at two places on the rear edge of the circuit board These slots mate with plastic keying bands which mount on the backplane connector Position the keying bands in the backplane connector to correspond to the key slots chassis Keying Bands
77. tage on Inputs Troubleshooting Bad Input Measuring Each Input with Respect to Module Common Publication 1771 6 5 115 Specifications Differences Between Series A and B Modules and Series C Modules Programming Examples Data Table Formats Block Transfer Mini PLC 2 and PLC 2 20 Processors Forms Disconnecting Inputs from the Field Wiring Arm One at a Time While Observing Module Action Testing for Input Channel Chapter Summary Appendix A Specifications Appendix B Differences Between Series Appendix C Sample Programs for the Analog Input Module PLC 2 Family Processors PLC 3 Family Processor PLC 5 Family Processors Appendix D 4 Digit Binary Coded Decimal BCD Signed magnitude Binary Two s Complement Binary Functionality and B Modules and Series C Modules B 1 Appendix E Multiple GET Instructions Mini PLC 2 and PLC 2 20 Processors E 1 Setting the Block Length Multiple GET Instructions only E 3 Appendix F Analog Block Transfer Read Analog Block Transfer Write Publication 1771 6 5 115 Purpose of Manual Audience Vocabulary Manual Organization Preface Using This Manual This manual shows you how to use your Analog Input module with an Allen Bradley programmable controller It helps you install program
78. ther block transfer write After this single block transfer write is performed the module returns to continuous block transfer reads automatically Module Programming 3 3 Block transfer instructions with the PLC 3 processor use 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 when programming a block transfer write or from your module when programming a block transfer read The address of the block transfer data files are stored in the block transfer control file The industrial terminal prompts you to create a control file when a block transfer instruction is being programmed The same block transfer control file is used for both the read and write instructions for your module A different block transfer control file is required for every module A sample program segment with block transfer instructions is shown below Figure 3 2 PLC 3 Family Sample Program Structure Block Transfer Read Done Bit BTR ENABLE BLOCK XFER READ RACK XXX GROUP X MODULE X XXXX DATA XXXXX XXXX LENGTH X CNTL Block Transfer Write Pushbutton Done Bit BIW BLOCK XFER WRITE RACK XXX GROUP X MODULE X XXXX Power up Bit DATA XXXX LENGTH X CNTL 10955 1 Publication 1771 6 5 115
79. tible with the 1771 AL PLC with the 1771 AL PLC local adapter local adapter Used jumpers and potentiometers to adjust Uses precision voltage source to supply voltage and a block 10V reference and null input offset transfer to set offset and gain Series A module not CE certified Series B Series C module CE certified module CE certified Publication 1771 6 5 115 February 1999 Appendix Programming Examples Sample Programs for the The following are sample programs for entering data in the Analog Input Module configuration words of the write block transfer instruction when using the PLC 2 PLC 3 or PLC 5 family processors PLC 2 Family Processors To enter data in the configuration words follow these steps Example Enter the following rung for a write block transfer 011 BLOCK XFER WRITE EN DATAADDR 030 MODULEADDR 110 BLOCK LENGTH 19 111 FILE 400 437 DN 06 400 is the address of the write block transfer data file You want to examine configuration word 1 Step Description 1 Press SEARCH 8 data address gt Finds the block transfer instruction 2 Press CANCEL COMMAND Removes preceding command 3 Press DISPLAY O or 1 Displays the file in binary or BCD 4 Move cursor to data to be modified 5 Enter new data 6 Press INSERT Writes data to file element Use the above procedure to enter the required words of the write block transfer instruction Be aware that the block length will de
80. tor Red FAULT indicator 10528 1 The green indicator comes when the module is powered It will flash until the module is programmed If a fault is found initially or occurs later the red fault indicator lights Possible module fault causes and corrective action is discussed in Chapte Troubleshooting Chapter Summary In this chapter you learned how to install your input module in an existing programmable controller system and how to wire to the field wiring arm Publication 1771 6 5 115 February 1999 Chapter Objectives Block Transfer Programming Chapter 3 Module Programming In this chapter we describe block transfer programming sample programs in the PLC 2 PLC 3 and PLC 5 processors module scan time issues Your module communicates with your processor through bidirectional block transfers This is the sequential operation of both read and write block transfer instructions The block transfer write BTW instruction is initiated when the analog module is first powered up and subsequently only when the programmer wants to write a new configuration to the module At all other times the module is basically in a repetitive block transfer read BTR mode The application programs for the three processor families were written to accomplish this handshaking in the described manner They are minimum programs all the rungs and conditioning must be included in your application program If you wish to disable BTRs
81. transfer 4 When instructed by your ladder program the processor performs a read block transfer of the values and stores them in a data table 5 The processor and module determine that the transfer was made without error and that input values are within specified range 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 subsequent transfer 7 Your ladder program should allow write block transfers to the module only when enabled by operator intervention or at power up The accuracy of your input module is described in Appendix A In this chapter you read about the functional aspects of the input module and how the module communicates with the programmable controller Publication 1771 6 5 115 February 1999 Chapter Objectives Compliance to European Union Directives Chapter 2 Installing the Input Module In this chapter we tell you about calculating the chassis power requirement choosing the module s location in the I O chassis configuring your module configuration plugs keying a chassis slot for your module installing the input module wiring the input module s field wiring arm 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

Download Pdf Manuals

image

Related Search

Related Contents

Optium Xceed User`s Manual  HP 16501A LOGIC User's Manual  nordmann at4 D  

Copyright © All rights reserved.
Failed to retrieve file