SLC 500™ Analog Input Modules Catalog Numbers 1746-NI16I and 1746-NI16V 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.
Table of Contents Preface Who Should Use this Manual. . . . . . . . . . . . . . . . Purpose of this Manual . . . . . . . . . . . . . . . . . . . . Contents of this Manual . . . . . . . . . . . . . . . . . Related Documentation . . . . . . . . . . . . . . . . . Common Techniques Used in this Manual . . . . . . Allen-Bradley Support . . . . . . . . . . . . . . . . . . . . . Local Product Support . . . . . . . . . . . . . . . . . . Technical Product Assistance . . . . . . . . . . . . .
Table of Contents ii Input Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13 Transducer Source Impedance . . . . . . . . . . . . . . . . . . . 3-13 Wiring Input Devices to the 1746-NI16 . . . . . . . . . . . . . 3-13 Chapter 4 Preliminary Operating Considerations Module ID Code . . . . . . . . . . . . . . . . . . . . . . . . Class 1 and Class 3 Interface . . . . . . . . . . . . . . . Module Addressing . . . . . . . . . . . . . . . . . . . . . . Class 1 Memory Map . . . . .
Table of Contents Filter Frequency (Bits 12 through 10) . . . . . . . . . . Calibrate Channel Status (Bits 9 through 7) . . . . . . Class 1 Handshaking (Bit 6) . . . . . . . . . . . . . . . . . Class 3 Data Format (Bits 6 through 4) . . . . . . . . . Class 1 Data Format (Bits 5 and 4) . . . . . . . . . . . . Input Type (Bits 3 and 2) . . . . . . . . . . . . . . . . . . . Class 1 Data or Status Configuration (Bits 1 and 0) iii . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents iv Appendix B Configuration Worksheet Appendix C Two’s Complement Binary Numbers Positive Decimal Values . . . . . . . . . . . . . . . . . . . . . . . . C-1 Negative Decimal Values . . . . . . . . . . . . . . . . . . . . . . . C-2 Appendix D Calibration Calibration Sequence. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Preface Read this preface to familiarize yourself with the rest of the manual. This preface covers the following topics: • • • • • • Who Should Use this Manual who should use this manual the purpose of this manual contents of this manual related documentation common techniques used in this manual Allen-Bradley support Use this manual if you are responsible for the design, installation, programming, or maintenance of an automation control system that uses Allen-Bradley small logic controllers.
Preface 2 Contents of this Manual Chapter Publication 1746-UM001A-US-P Title Content Preface Describes the purpose, background, and scope of this manual. Also specifies the audience for whom this manual is intended and gives directions to using Allen-Bradley support services. Provides listing of related documentation. 1 Overview Provides a hardware and system overview. Explains and illustrates the theory behind the input module.
Preface 3 Related Documentation The following documents contain information that may be helpful to you as you use Allen-Bradley SLC products. If you would like a manual, you can: • download a free electronic version from the internet: www.theautomationbookstore.com • purchase a printed manual by: – contacting your local distributor or Rockwell Automation representative – visiting www.theautomationbookstore.com and placing your order – calling 1.800.963.9548 (USA/Canada) or 001.330.725.
Preface 4 Common Techniques Used in this Manual The following conventions are used throughout this manual: Allen-Bradley Support Allen-Bradley offers support services worldwide, with over 75 Sales/ Support Offices, 512 authorized Distributors and 260 authorized Systems Integrators located throughout the United States alone, plus Allen-Bradley representatives in every major country in the world. • Bulleted lists such as this one provide information, not procedural steps.
Chapter 1 Overview This chapter describes the 1746-NI16 analog input module and explains how the SLC 500 processor gathers analog input data from the module. Included is information about: • the module’s hardware and diagnostic features • an overview of system operation General Description The module receives and stores digitally converted analog data into its image table for retrieval by all fixed and modular SLC 500 processors.
1-2 Overview The data presented to the processor can be configured as: • • • • • Engineering Units Scaled-for-PID Proportional Counts (-32,768 to +32,767 range) Proportional Counts with User Defined Range (Class 3 Only) 1746-NI4 Data Format Each input channel also provides open-circuit, out-of-range, and invalid configuration indication via the LED’s. These conditions are also displayed in the channel status word.
Overview Hardware Feature Function Channel Status LED Indicators Displays channel operating and fault status. Module Status LED Displays module operating and fault status. Side Label (Nameplate) Provides module information. Removable Terminal Block Provides physical connection to input devices. Door Label Permits easy terminal identification. Cable Tie Slots Secures and routes wiring from the module. Self-Locking Tabs Secures module in the chassis slot.
1-4 Overview Each time a channel is read by the module, that data value is tested by the module for a fault condition (i.e., open-circuit, over-range, and under-range). If a fault condition is detected, a unique bit is set in the channel status word and the channel status LED blinks. The SLC processor reads the converted analog data from the module at the end of the program scan or when commanded by the ladder program.
Chapter 2 Quick Start for Experienced Users This chapter can help you to get started using the 1746-NI16 analog input module. The procedures here are based on the assumption that the user has an understanding of SLC 500™ products. The user should understand electronic process control and be able to interpret the ladder logic instructions required to generate the electronic signals that control the application.
2-2 Quick Start for Experienced Users Procedures 1. Check the contents of shipping box. Reference Unpack the shipping box making sure that the contents include: • analog input module (Catalog Number 1746-NI16) • removable terminal block (factory-installed) • Installation Instructions If the contents are incomplete, call your local Allen-Bradley representative for assistance. 2. Ensure that your chassis and power supply support the 1746-NI16 module.
Quick Start for Experienced Users 3. Insert the 1746-NI16 module into the chassis. 2-3 Reference ATTENTION ! Never install, remove, or wire modules with power applied to the chassis or devices wired to the module. Make sure system power is off; then insert the module into your 1746 chassis. In this example procedure, local slot 1 is selected. Any slot may be used except 0. Chapter 3 (Installation and Wiring) Top and Bottom Module Releases Card Guide 4. Connect sensor cable.
2-4 Quick Start for Experienced Users 5. Configure the system. Reference Configure your system I/O for the particular slot the 1746-NI16 is in (slot 1 in this example). Enter the module ID code. The ID code is for Class 1 interface or Class 3 interface. See Chapter 4 for more information on Class 1 and Class 3 interfaces. Important: Not all programming software supports configuration for Class 3 operation. • Advanced Programming Software (APS) supports Class 3 configuration, after entering the ID code.
Quick Start for Experienced Users 2-5 1746-NI16 Module Output Image - Channel Configuration O:1.0 O:1.1 O:1.2 O:1.3 O:1.4 O:1.5 O:1.6 O:1.7 O:1.8 O:1.9 O:1.10 O:1.11 O:1.12 O:1.13 O:1.14 O:1.15 O:1.16 O:1.17 O:1.18 O:1.19 O:1.20 O:1.21 O:1.22 O:1.
2-6 Quick Start for Experienced Users 7. Program the configuration. Reference Do the programming necessary to establish the new configuration word setting in the previous step. 1. Create integer file N10. Integer file N10 should contain one element for each channel used. (For this example we only need one, N10:0.) 2. Enter the configuration parameters from step 6 for channel 0 into integer N10:0. 3. Program an instruction in your ladder logic to copy the contents of N10:0 to output word O:1.0.
Quick Start for Experienced Users 8. Write the ladder program. Reference Write the remainder of the ladder logic program that specifies how your analog input data is processed for your application. In this procedure the module is located in slot 1.
2-8 Quick Start for Experienced Users 9. Go through the system start-up procedure. Reference Apply power. Download your program to the SLC 500 processor and put the controller into Run mode. During a normal start up, the module status LED and any enabled channel status LED turn on. Chapter 6 (Module Diagnostics and Troubleshooting) INPUT Channel Status LEDs 0-3 4-7 8-11 12-15 Module Status LED ANALOG MODULE 10. Check that the module is operating correctly.
Chapter 3 Installation and Wiring This chapter tells you how to: • • • • • • Hazardous Location Considerations avoid electrostatic damage determine the chassis power requirement for the module choose a location for the module in the SLC chassis install the module wire the module’s terminal block wire input devices This equipment is suitable for use in Class I, Division 2, Groups A, B, C, D or non-hazardous locations only. The following ATTENTION statement applies to use in hazardous locations.
3-2 Installation and Wiring Environnements dangereux Cet équipement est conçu pour être utilisé dans des environnements de Classe 1, Division 2, Groupes A, B, C, D ou non dangereux. La mise en garde suivante s’applique à une utilisation dans des environnements dangereux. MISE EN GARDE ! DANGER D’EXPLOSION • La substitution de composants peut rendre cet équipement impropre à une utilisation en environnement de Classe 1, Division 2.
Installation and Wiring 1746-NI16 Power Requirements 3-3 The 1746-NI16 module receives its power through the SLC 500™ chassis backplane from the fixed or modular +5V dc/+24V dc chassis power supply. The +5V dc backplane supply powers the SLC circuitry, and the +24V dc backplane supply powers the module analog circuitry. The maximum current drawn by the module is shown in the table below. 5V dc Amps 24V dc Amps 0.125 0.
3-4 Installation and Wiring Next, plot each of the currents on the chart. If the point of intersection falls within the operating region, your combination is valid. If not, your combination cannot be used in a 2-slot, fixed I/O chassis. See the example on page 3-5. OA16 and IA16 (0, 455) 450 400 Current (mA) at 5V dc 350 300 OW16 and IA16 (180, 255) 250 Plotted from example shown on page 3-5.
Installation and Wiring 3-5 Fixed Chassis Example The following example shows how to use the chart and table on page 3-4 to determine if the module combination of an 1746-IN16 and 1746-NI16 is supported by the fixed I/O chassis. 1. Find the current draws of both modules in the table. IN16 = 85 mA at 5V dc and 0 mA at 24V dc NI16 = 125 mA at 5V dc and 75 mA at 24V dc 2. Add the current draws of both modules at 5V dc. 85 mA + 125 mA = 210 mA 3. Plot this point on the chart above (210 mA at 5V dc). 4.
3-6 Installation and Wiring General Considerations Most applications require installation in an industrial enclosure to reduce the effects of electrical interference. Analog inputs are highly susceptible to electrical noise. Electrical noise coupled to the analog inputs reduces the performance (accuracy) of the module. Group your modules to minimize adverse effects from radiated electrical noise and heat. Consider the following conditions when selecting a slot for the analog input module.
Installation and Wiring Module Installation and Removal 3-7 When installing the module in a chassis, it is not necessary to remove the terminal block from the module. However, if the terminal block is removed, use the write-on label located on the side of the terminal block to identify the module location and type. SLOT RACK • MODULE Terminal Block Removal ATTENTION ! Remove power before removing or inserting this module.
3-8 Installation and Wiring Module Installation Procedure 1. Read the “Module Location in Chassis” section beginning on page 3-3. 2. Align the circuit board of the analog input module with the card guides located at the top and bottom of the chassis. 3. Slide the module into the chassis until both top and bottom retaining clips are secured. Apply firm, even pressure on the module to attach it to its backplane connector. Never force the module into the slot. 4.
Installation and Wiring Terminal Wiring 3-9 The 1746-NI16 module contains an 18-position, removable terminal block. The terminal pin-out is shown below. ATTENTION ! Disconnect power to the SLC before attempting to install, remove, or wire the removable terminal wiring block. To avoid cracking the removable terminal block, alternate the removal of the slotted terminal block release screws.
3-10 Installation and Wiring Wiring Single-Ended Inputs 1746-NI16V (2) Channel 0 Voltage Transmitter + IN0 IN1 + IN2 IN3 + IN4 IN5 + IN6 IN7 + (2) Channel 2 Voltage Transmitter Channel 4 Voltage Transmitter + (2) + Channel 6 Voltage Transmitter - (2) + - (1) Vdc power supply(5) + Optional second Vdc power supply(6) + - - Analog Analog Com Com (1) IN8 IN9 (3) IN10 IN11 (3) IN12 IN13 (3) IN15 (3) IN14 (4) (1) There are two common terminals for all of the 16 vol
Installation and Wiring 3-11 1746-NI16I (2) Channel 0 2-wire current Transmitter + - Channel 2 2-wire current Transmitter + + IN0 IN1 IN2 IN3 + IN4 IN5 + IN6 IN7 (2) + - (2) Channel 4 2-wire current Transmitter + - (2) Channel 6 + 3-wire current Transmitter - (1) Vdc power supply(5) + Optional second Vdc power supply(6) + - - Analog Analog Com Com (3) IN8 IN9 IN10 IN11 (3) IN12 IN13 (3) IN14 (4) (1) IN15 (3) (1) There are two common terminals for all of the 16 c
3-12 Installation and Wiring Wiring Guidelines ATTENTION ! To prevent shock hazard, care should be taken when wiring the module to analog signal sources. Before wiring any analog module, disconnect power from the SLC 500 system and from any other source to the analog module. Follow the guidelines below when planning your system wiring. • To limit noise, keep signal wires as far away as possible from power and load lines.
Installation and Wiring Input Devices 3-13 Transducer Source Impedance If the source impedance of the input device and associated cabling is too high, it affects the accuracy of the channel data word. Source impedance of 2000 ohms produces up to 0.01% of module error over and above the specified accuracy of the module.
3-14 Installation and Wiring To wire your 1746-NI16 module follow these steps. 1. At each end of the cable, strip some casing to expose the individual wires. 2. Trim the signal wires to 50 mm (2 in.) lengths. Strip about 5 mm (3/16 in.) of insulation away to expose the end of the wire. 3. At one end of the cable, twist the drain wire and foil shield together. 4. At the other end of the cable, cut the drain wire and foil shield back to the cable. 5.
Chapter 4 Preliminary Operating Considerations This chapter explains how the analog input module and the SLC 500™ processor communicate through the module’s input and output image. It lists the preliminary setup and operation required before the module can function in a 1746 I/O system.
4-2 Preliminary Operating Considerations NOTE Not all programming software supports configuration for Class 3 operation. • Advanced Programming Software (APS) supports Class 3 configuration. After entering the ID code (NI16I - 10403, NI16V - 10406), enter 32 input words and 32 output words. • SLC 500 A.I. Series™ Programming Software supports Class 3 configuration. After entering the ID code (NI16I - 10403, NI16V - 10406), enter 32 input words and 32 output words. • RSLogix 500™, version 1.
Preliminary Operating Considerations Module Addressing 4-3 The following memory maps show you how the input image and output image tables are defined for Class 1 and Class 3. Class 1 Memory Map Bit 15 SLC 5/0X Data Files Slot e Analog Input Module Image Table Output Image Output Scan Output Image Channel 0 or 8 Configuration Word 0 Address O:e.0 Channel 1 or 9 Configuration Word 1 O:e.1 Channel 2 or 10 Configuration Word 2 O:e.
4-4 Preliminary Operating Considerations Class 3 Memory Map Slot e Output Scan Output Image 32 Words Output Image Slot e Input Image Publication 1746-UM001A-US-P Word 0 Word 1 Word 2 Word 3 Word 4 Word 5 Channel 10 Configuration Word Word 10 Channel 11 Configuration Word Word 11 Channel 12 Configuration Word Word 12 Channel 13 Configuration Word Word 13 Channel 14 Configuration Word Channel 15 Configuration Word Word 14 Word 15 Word 16 is Lower Limit Range 0 Word 17 is Upper Limit Range 0
Preliminary Operating Considerations 4-5 Output Image - Configuration Words The module output image (defined as the output from the processor to the module) contains information that you configure to define the way a specific module channel works. Each output word configures a single channel. Example - If you want to configure channel 2 on the analog module located in slot 4 in the chassis, your address would be O:4.2. File Type O:4.
4-6 Preliminary Operating Considerations channel and provide information about the channel’s operational state. To receive valid status information, the channel must be enabled, and the channel must have processed any configuration changes that may have been made to the configuration word. Class 1 Input Words - Status The status words for Class 1 are the input words 0 through 8.
Preliminary Operating Considerations 4-7 The 1746-NI16 module sequentially samples the channels in a continuous loop according to the following diagram. The next channel in the order is sampled if any channel is disabled. Channel 0 Channel 4 Channel 8 Channel 12 Channel 1 Channel 5 Channel 9 Channel 13 Channel Sample Order Channel 2 Channel 6 Channel 10 Channel 14 Channel 3 Channel 7 Channel 11 Channel 15 The following table shows the module update time.
4-8 Preliminary Operating Considerations The hardware architecture has some bearing on how the module firmware works and thus how a user can optimize performance when fewer than all 16 channels are required. You can enable any number of channels you want, but certain channel selections make data available to your ladder program more quickly than others. The module uses four A/D converters, each multiplexing four input channels.
Preliminary Operating Considerations Channel Filter Frequency Selection 4-9 The module uses a digital low-pass filter that provides noise rejection for the input signals. The digital filter is programmable, allowing you to select from eight filter frequencies for each group of four channels. Selecting a low value (i.e., 6 Hz) for the channel filter frequency provides the best noise rejection for that group of channels.
4-10 Preliminary Operating Considerations Aliasing Frequency Aliasing is a natural characteristic of discrete time sampling of analog signals. This can result in erroneous data in the data channel word. Aliasing is usually not a problem because the duration of the high-frequency signal is much shorter than the program scan time. Aliasing begins at a lower frequency when more channels are enabled.
Preliminary Operating Considerations Response to Slot Disabling 4-11 By writing to the status file in your modular SLC processor you can disable any chassis slot. Refer to your programming device’s manual for the slot disable/enable procedure. ATTENTION ! Always consider the implications of disabling a module before using the slot disable feature. Input Response When a slot is disabled, the 1746-NI16 module continues to update its input image table.
4-12 Preliminary Operating Considerations Publication 1746-UM001A-US-P
Chapter 5 Channel Configuration, Data, and Status This chapter examines the channel configuration word and the channel status word bit by bit and explains how the module uses configuration data and generates status during operation. It gives you information about how to: • configure a channel • scale the channel data • check a channel’s status Channel Configuration The channel configuration word is a part of the 1746-NI16 module’s output image as shown below.
5-2 Channel Configuration, Data, and Status After installation, each channel must be configured to establish the way the channel operates. You configure the channel by entering bit values into the configuration word using your programming device. A bit-by-bit examination of the configuration word is provided in the chart on page 5-3. Programming is discussed in Chapter 7. Addressing is explained in Chapter 4. The configuration word default setting is all zeros.
Channel Configuration, Data, and Status 5-3 Channel Configuration Word Define To Select Class 1 Data or Status Configuration Class 1 Handshaking 15 14 13 12 11 10 9 8 7 6 5 4 1 0 Read Data for Channel 0 to 7 0 0 Read Data for Channel 8 to 15 0 1 Read Status for Channel 0 to 7 1 0 Read Status for Channel 8 to 15 1 1 0 Transmit Channel Configuration 1 Not Used Input Type +/- 10 Vdc or +/- 20 ma 0 0 1 to 5 Vdc or 4 to 20 ma 0 1 0 to 5 Vdc or 0 to 1 ma 1 0 0 to 10 Vdc or
5-4 Channel Configuration, Data, and Status Select Channel Enable (Bit 15) Determine which channels are used in your program and enable them. Place a 1 in bit 15 to enable a channel. Place a 0 in bit 15 to disable the channel. In class 1, only the handshake bit (bit 2) needs to be set to transmit this configuration bit change. The 1746-NI16 only samples data from channels that are enabled.
Channel Configuration, Data, and Status A/D Groups 5-5 Channels in How to select Filter Frequencies for the different A/D A/D Group Groups Group 1 Channel 0 Channel 1 Channel 2 Channel 3 Filter selection for all the channels in group 1 is done in the configuration word for channel 0. Even if channel 0 is disabled, the filter setting needs to be selected in channel 0 for the rest of the channels in group 1.
5-6 Channel Configuration, Data, and Status Select Data Format (Bits 8 through 6) Select a data format for the data word value. Your selection determines how the analog input value from the A/D converter is expressed in the data word. Enter your 3-digit binary code in bit fields 8 through 6 of the channel configuration word.
Channel Configuration, Data, and Status 5-7 Class 1 Handshaking (Bit 2) In Class 1, the module provides handshaking to simplify configuration. This handshaking feature is the fastest way to configure the module’s 16 channels. To transmit a channel’s configuration, bit 2 should be set to 1. When the module has completed this instruction, a 1 is placed in bit 6 of the status word. To reset bit 6 of the status word to 0, reset bit 2 in the configuration word to 0.
5-8 Channel Configuration, Data, and Status Input Image - Channel Data Word The module input image uses 8 data word values in Class 1 and 16 data word values in Class 3. The converted voltage or current input data values reside in I:e.0 through I:e.7 (Class 1) or I:e.0 through I:e.15 (Class 3) of the module’s input image file. When an input channel is disabled, its data word is reset to zero. Class 1 Data Word Bit 1 set to(1) Bit 0 set to(1) I:e.0 channel 0 data word 14-bit integer 0 0 I:e.
Channel Configuration, Data, and Status 5-9 Class 3 Data Word I:e.0 channel 0 data word 16-bit integer I:e.1 channel 1 data word 16-bit integer I:e.2 channel 2 data word 16-bit integer I:e.3 channel 3 data word 16-bit integer I:e.4 channel 4 data word 16-bit integer I:e.5 channel 5 data word 16-bit integer I:e.6 channel 6 data word 16-bit integer I:e.7 channel 7 data word 16-bit integer I:e.8 channel 8 data word 16-bit integer I:e.9 channel 9 data word 16-bit integer I:e.
5-10 Channel Configuration, Data, and Status Channel Data Word Values for Scaled Data Input Type Signal Range Scaled-for-PID Proportional Counts (default) NI4 Data Format ±10V dc -10.00V to +10.00V 0 to 16383 -32768 to 32767 -32768 to 32767 0 to 5V dc 0.0V to +5.00V 0 to 16383 -32768 to 32767 0 to 16384 1 to 5V dc +1.00V to +5.00V 0 to 16383 -32768 to 32767 3277 to 16384 0 to 10V dc 0.0V to +10.00 V 0 to 16383 -32768 to 32767 0 to 32767 0 to 20 mA 0.0 mA to 20.
Channel Configuration, Data, and Status 5-11 The 1746-NI4 data format converts the current and voltage signals into 16-bit two’s complement binary values. The table below identifies the current and voltage input ranges for the input channels, the number of significant bits, and the resolution. Voltage/Current Range Decimal Representation Number of Significant Bits Resolution per LSB -10V dc to +10V dc - 1LSB -32768 to +32,767 16 bits 305.
5-12 Channel Configuration, Data, and Status Scaling Examples The following scaling examples show how to convert the channel data word from the configured data type to “real” units. Real units are the values being measured, such as temperature and pressure. To perform the scaling, you must know the defined voltage or current range for the channel’s input type. The lowest possible actual value for an input type is ScaledMin, and the highest possible actual value is ScaledMax.
Channel Configuration, Data, and Status 5-13 Engineering Units to Real Units Example #1: A transducer is being used to measure temperature. The 4 to 20 mA signal is proportional to 100 to 500°C (212 to 932°F). The input data is in engineering units, i.e.
5-14 Channel Configuration, Data, and Status Scaled-for-PID to Real Units Example: #3 A transducer is being used to measure temperature. The 4 to 20 mA signal range is proportional to 100 to 500°C (212 to 932°F) The input data is scaled for PID, i.e. input range of 0 to 16383 Input value to convert = 5500 The scaled range is 212 to 932°F The Input range is 0 to 16383 Find: Input value in °F Per the equation above: ( 932 – 212 ) Slope = -------------------------------- = 0.
Channel Configuration, Data, and Status 5-15 1746-NI4 Data Format Units to Real Units Example: #5 A transducer is being used to measure flow rate. The -10V dc to +10V dc signal range is proportional to 0 to 100 GPM The input data is in “1746-NI4” format, i.e.
5-16 Channel Configuration, Data, and Status Channel Status Checking If the module is in Class 3 mode, there are 8 additional input image words available for status information. The channel status word is a part of the module’s input image. Input words 16 to 31 correspond to and contain the configuration status of channels 0 to 15. You can use the data provided in the status word to determine if the input configuration data for any channel is valid per your configuration in O:e.0 through O:e.15.
Channel Configuration, Data, and Status 5-17 Class 3 Status Word I:e.16 channel 0 status word bit-mapped field I:e.17 channel 1 status word bit-mapped field I:e.18 channel 2 status word bit-mapped field I:e.19 channel 3 status word bit-mapped field I:e.20 channel 4 status word bit-mapped field I:e.21 channel 5 status word bit-mapped field I:e.22 channel 6 status word bit-mapped field I:e.23 channel 7 status word bit-mapped field I:e.24 channel 8 status word bit-mapped field I:e.
5-18 Channel Configuration, Data, and Status Class 1 Status Word Define To Select 1 0 Class 1 Data or Status Configuration Data from Channel 0 to 7 15 14 13 12 11 10 9 8 7 6 5 4 3 2 0 0 Data from Channel 8 to 15 0 1 Status for Channel 0 to 7 1 0 1 1 Status for Channel 8 to 15 Input Type ±10 Vdc or ± 20 mA 0 0 1 to 5 Vdc or 4 to 20 mA 0 1 0 to 5 Vdc or 0 to 1 mA 1 0 1 1 0 to 10 Vdc or 0 to 20 mA Data Format Engineering Units 0 0 Scaled-for-PID 0 1 Proportional Cou
Channel Configuration, Data, and Status 5-19 Class 3 Status Word Define Class 1 Data or Status Configuration Input Type To Select Data from Channel 0 to 7 Data from Channel 8 to 15 15 14 13 12 11 10 9 8 7 6 5 4 Status for Channel 0 to 7 Status for Channel 8 to 15 ± 10 Vdc or ± 20 mA 1 to 5 Vdc or 4 to 20 mA 0 to 5 Vdc or 0 to 1 mA 0 to 10 Vdc or 0 to 20 mA Data Format 0 0 0 0 1 1 1 1 Engineering Units Scaled-for-PID Proportional Counts 1746-NI4 Data Format User Limit Range 0 User Limit Range 1
5-20 Channel Configuration, Data, and Status NOTE Input Word Bit Definitions If the channel whose status you are checking is disabled (bit O:e.x/15 = 0), all bit fields are cleared. The status word for any disabled channel is always 0000 0000 0000 0000 regardless of any previous setting that may have been made to the configuration word in Class 3. Error Conditions (Bits 15 through 13) There are eight possible error codes to describe any given state of the 1746-NI16 module.
Channel Configuration, Data, and Status 5-21 Calibrate Channel Status (Bits 9 through 7) The calibrate channel status bits indicate the completion of the calibration process. The code of (0 0 0) indicates that the channel is in the normal run mode or this code can be used to exit the calibration mode. If bit 7 is set to 1, the channel is in the calibration mode. If bit 8 is set to 1, the channel has successfully calibrated the zero reference point.
5-22 Channel Configuration, Data, and Status Input Type (Bits 3 and 2) The input type bit field indicates what type of input signal the channel is configured for, based on the configuration word. The input type field is cleared when the channel is disabled. Class 1 Data or Status Configuration (Bits 1 and 0) When bits 1 and 0 are set to (0 0) or (0 1) in the configuration word, data is being requested from channels 0 to 7 or 8 to 15 in Class 1 to be reflected in the 8 input words.
Chapter 6 Module Diagnostics and Troubleshooting This chapter describes troubleshooting using the channel status LEDs as well as the module status LED. It explains the types of conditions that might cause an error to be reported and gives suggestions on how to resolve the problem. Major topics include: • • • • • • • • Module operation vs. Channel Operation module operation vs.
6-2 Module Diagnostics and Troubleshooting Channel Diagnostics When a channel is enabled (bit 15=1), a diagnostic check is performed to see that the channel has been properly configured. In addition, the channel is tested on every scan for configuration errors, out-of-range errors, and, for the 4 to 20 mA input type, open-circuit conditions. A failure of any channel diagnostic test causes the faulted channel status LED to blink.
Module Diagnostics and Troubleshooting 6-3 Open-Circuit Detection An open-circuit test is performed on all enabled channels configured for 4 to 20 mA input and all enabled channels with voltage configurations. Whenever an open-circuit condition occurs, the channel status LED blinks and the condition is reported in bits 15 through 13 of the channel status word. See “Error Codes” on page 6-5. Possible causes of an open-circuit include: • The sensing device may be broken. • A wire may be loose or cut.
6-4 Module Diagnostics and Troubleshooting LED State Tables Module Status LED If Module Status LED is: Indicated condition: Corrective action: On Proper Operation No action required. Off Module Fault Cycle power. If condition persists, call your local distributor or Allen-Bradley for assistance. All LEDs If Module Status LED is: And Channel Status LED is: Indicated Condition: Corrective action: On Channel Enabled No action required.
Module Diagnostics and Troubleshooting 6-5 Channel Status LEDs (Green) The channel status LED is used to indicate channel status and related error information contained in the channel status word. A solid green channel status LED indicates normal operation. The channel status LED blinks to indicate error conditions such as: • channel-related configuration errors • open-circuit errors • out-of-range errors All channel errors are recoverable errors and after corrective action, normal operation resumes.
6-6 Module Diagnostics and Troubleshooting Troubleshooting Flowchart Check LEDs on module. Module Status LED off Module Status LED on Module fault condition End Check to see that module is seated properly in chassis. Cycle power. Channel Status LED(s) blinking Channel Status LED off. Fault Condition Channel is not enabled. Check channel status word bits 15-13. Channel Status LED on. Channel enabled and working properly.
Module Diagnostics and Troubleshooting Replacement parts Contacting Allen-Bradley 6-7 The 1746-NI16 module has the following replacement parts: Part Part Number Replacement Terminal Block 1746-RT25G Replacement Terminal Cover 1746-R13 1746-NI16 User Manual 1746-UM001A-US-P If you need to contact Allen-Bradley for assistance, please have the following information available when you call: • a clear statement of the problem including a description of what the system is actually doing.
6-8 Module Diagnostics and Troubleshooting Publication 1746-UM001A-US-P
Chapter 7 Application Examples Operating Classes This chapter provides two application examples to help you use the analog input module. They are defined as a: • Class 1 example • Class 3 example Class 1 The Class 1 example shows how to configure, read status, and read data from the NI16 module. Class 1 mode provides 8 words of input image and 8 words of output image for communicating with the NI16 module.
7-2 Application Examples In contrast, Class 3 mode supports up to 32 I/O image words. Class 3 mode can be utilized with SLC 5/02, 5/03, 5/04, 5/05 and also in a remote ControlNet chassis (1747-ACN, ACNR). No multiplexing of data is required, making configuration and reading of status and analog data more straightforward. The following ladder program enters subroutine File 3 at power-up.
Application Examples 7-3 Ladder Files File 2 Subroutine file 3 is used to configure all 16 channels of the 1746-NI16. This rung allows subroutine 3 to be scanned until all 16 channels are configured. The status words for all 16 channels containing the results of the configuration will be placed consecutively beginning with N7:66.
7-4 Application Examples File 2 (Continued) I:6.3 0 1746-NI16V I:6.3 1 1746-NI16V MOV Move Source Dest I:6.3 0< N7:53 0< B3:4 L 3 I:6.4 0 1746-NI16V I:6.4 1 1746-NI16V MOV Move Source Dest I:6.4 0< N7:54 0< B3:4 L 4 I:6.5 0 1746-NI16V I:6.5 1 1746-NI16V MOV Move Source Dest I:6.5 0< N7:55 0< B3:4 L 5 I:6.6 0 1746-NI16V I:6.6 1 1746-NI16V MOV Move Source Dest I:6.6 0< N7:56 0< B3:4 L 6 I:6.7 0 1746-NI16V I:6.7 1 1746-NI16V MOV Move Source Dest I:6.
Application Examples 7-5 File 2 (Continued) B3:0 U 1 EQU Equal Source A B3:4 0000000000000000< Source B 255 255< B3:0 L 2 CLR Clear Dest B3:4 0000000000000000< The COP Instruction copies Control Words for channels 8 to 15, requesting analog data for those channels. The data is received from the NI16 in input image words I:6.0 through I:6.7, when bit 0 is set and bit 1 is reset for each of these input words.
7-6 Application Examples File 2 (Continued) I:6.3 0 1746-NI16V I:6.3 1 1746-NI16V MOV Move Source Dest I:6.3 0< N7:61 0< B3:5 L 3 I:6.4 0 1746-NI16V I:6.4 1 1746-NI16V MOV Move Source Dest I:6.4 0< N7:62 0< B3:5 L 4 I:6.5 0 1746-NI16V I:6.5 1 1746-NI16V MOV Move Source Dest I:6.5 0< N7:63 0< B3:5 L 5 I:6.6 0 1746-NI16V I:6.6 1 1746-NI16V MOV Move Source Dest I:6.6 0< N7:64 0< B3:5 L 6 I:6.7 0 1746-NI16V I:6.7 1 1746-NI16V MOV Move Source Dest I:6.
Application Examples 7-7 File 2 (Continued) EQU Equal Source A B3:5 0000000000000000< Source B 255 255< B3:0 U 2 B3:0 L 1 CLR Clear Dest B3:5 0000000000000000< 0004 END Publication 1746-UM001A-US-P
7-8 Application Examples File 3 CH 0 and 8 Configuration Handshake Status Bit I:6.0 CH 0 Configuration Complete B3:2 0000 6 1746-NI16V 0 MOV Move Source N7:0 -16142< O:6.0 0< Dest CH 0 and 8 Configuration Handshake Control Bit O:6.0 L 2 1746-NI16V CH 0 and 8 Configuration Handshake Status Bit I:6.0 CH 0 Configuration Complete CH 0 and 8 Configuration Handshake Control Bit B3:2 O:6.
Application Examples 7-9 File 3 (Continued) CH 2 and 10 Configuration Handshake Status Bit I:6.2 CH 2 Configuration Complete B3:2 0004 6 1746-NI16V 2 MOV Move Source Dest N7:2 -16142< O:6.2 0< CH 2 and 10 Configuration Handshake Control Bit O:6.2 L 2 1746-NI16V CH 2 and 10 Configuration Handshake Status Bit I:6.2 CH 2 Configuration Complete CH 2 and 10 Configuration Handshake Control Bit O:6.
7-10 Application Examples File 3 (Continued) CH 4 and 12 Configuration Handshake Status Bit I:6.4 CH 4 Configuration Complete B3:2 MOV Move Source 0008 6 1746-NI16V 4 Dest N7:4 -16142< O:6.4 0< CH 4 and 12 Configuration Handshake Control Bit O:6.4 L 2 1746-NI16V CH 4 and 12 Configuration Handshake Status Bit CH 4 Configuration Complete I:6.4 B3:2 CH 4 and 12 Configuration Handshake Control Bit O:6.
Application Examples 7-11 File 3 (Continued) CH 5 and 13 Configuration Handshake Status Bit I:6.5 CH 5 Configuration Complete CH 5 and 13 Configuration Handshake Control Bit B3:2 O:6.5 U 2 1746-NI16V 0011 6 1746-NI16V 5 CH 5 Configuration Complete B3:2 L 5 MOV Move Source Dest CH 6 and 14 Configuration Handshake Status Bit I:6.6 CH 6 Configuration Complete B3:2 0012 6 1746-NI16V I:6.5 0< N7:71 0< 6 MOV Move Source Dest N7:6 -16142< O:6.
7-12 Application Examples File 3 (Continued) CH 7 and 15 Configuration Handshake Status Bit I:6.7 CH 7 and 15 Configuration Handshake Control Bit CH 7 Configuration Complete B3:2 O:6.7 U 2 1746-NI16V 0015 6 1746-NI16V 7 CH 7 Configuration Complete B3:2 L 7 MOV Move Source Dest CH 0 Configuration Complete B3:2 CH 0 and 8 Configuration Handshake Status Bit I:6.0 CH 8 Configuration Complete B3:2 MOV Move Source 0016 0 6 1746-NI16V I:6.7 0< N7:73 0< 8 Dest N7:8 -16141< O:6.
Application Examples 7-13 File 3 (Continued) CH 1 and 9 Configuration Handshake Control Bit CH 1 and 9 Configuration Handshake Status Bit O:6.1 I:6.1 CH 9 Configuration Complete CH 1 and 9 Configuration Handshake Control Bit B3:2 O:6.1 U 0019 2 1746-NI16V 6 1746-NI16V 9 2 1746-NI16V CH 9 Configuration Complete B3:2 L 9 MOV Move Source Dest CH 2 Configuration Complete B3:2 CH 2 and 10 Configuration Handshake Status Bit I:6.2 CH 10 Configuration Complete B3:2 0020 2 6 1746-NI16V I:6.
7-14 Application Examples File 3 (Continued) CH 3 and 11 Configuration Handshake Status Bit CH 3 Configuration Complete B3:2 CH 11 Configuration Complete I:6.3 B3:2 0022 6 1746-NI16V 3 11 MOV Move Source Dest N7:11 -16141< O:6.3 0< CH 3 and 11 Configuration Handshake Control Bit O:6.3 L 2 1746-NI16V CH 3 and 11 Configuration Handshake Control Bit O:6.3 CH 3 and 11 Configuration CH 11 Configuration Handshake Status Bit Complete I:6.3 CH 3 and 11 Configuration Handshake Control Bit B3:2 O:6.
Application Examples 7-15 File 3 (Continued) CH 4 and 12 Configuration CH 4 and 12 Configuration Handshake Control Bit Handshake Status Bit O:6.4 CH 12 Configuration Complete I:6.4 CH 4 and 12 Configuration Handshake Control Bit B3:2 O:6.4 U 2 1746-NI16V 0025 2 1746-NI16V 6 1746-NI16V 12 CH 12 Configuration Complete B3:2 L 12 MOV Move Source Dest CH 5 Configuration Complete CH 5 and 13 Configuration Handshake Status Bit B3:2 I:6.5 CH 13 Configuration Complete B3:2 0026 5 6 1746-NI16V I:6.
7-16 Application Examples File 3 (Continued) CH 6 and 14 Configuration CH 6 and 14 Configuration Handshake Status Bit Handshake Control Bit O:6.6 I:6.6 CH 14 Configuration Complete CH 6 and 14 Configuration Handshake Control Bit B3:2 O:6.6 U 2 1746-NI16V 0029 2 1746-NI16V 6 1746-NI16V 14 CH 14 Configuration Complete B3:2 L 14 MOV Move Source Dest CH 7 Configuration Complete B3:2 CH 7 and 15 Configuration Handshake Status Bit I:6.7 CH 15 Configuration Complete B3:2 0030 7 6 1746-NI16V I:6.
Application Examples 7-17 File 3 (Continued) B3:3 B3:3 L 1 0032 0 CH 8 Configuration Complete CH 9 Configuration Complete CH 10 Configuration Complete CH 11 Configuration Complete CH 12 Configuration Complete B3:2 B3:2 B3:2 B3:2 B3:2 B3:2 8 9 10 11 12 13 CH 13 Configuration Complete 0033 CH 14 Configuration Complete CH 15 Configuration Complete B3:2 B3:2 14 15 B3:3 L 0 B3:3 U 1 CLR Clear Dest B3:2 0000000000000000< END 0034 The following table shows configuration and control
7-18 Application Examples Class 3 Example Publication 1746-UM001A-US-P The following ladder logic program configures all 16 channels of a 1747-NI16 analog input module. It then monitors the module status information and uses the analog data from the 16 channels when status for each channel is good. In Class 3 mode, the processor can read/write up to 32 I/O words from the module. In this mode, the SLC 5/02 or later processor can configure all 16 channels with one COPY instruction.
Application Examples 7-19 Ladder File 2 At power-up, clear the input image table for the NI16 to be sure old status and analog data is not used and then copy the configuration words for each of the analog modules’16 channels. These configuration words are stored from N7:0 through N7:15. First Pass S:1 0000 15 FLL Fill File Source Dest Length 0 #I:6.0 32 COP Copy File Source Dest Length #N7:0 #O:6.
7-20 Application Examples File 2 (Continued) N7:52 N7:52 N7:52 13 14 15 0008 MOV Move Source Dest N7:53 N7:53 N7:53 13 14 15 0009 MOV Move Source Dest N7:54 N7:54 N7:54 13 14 15 0010 MOV Move Source Dest N7:55 N7:55 N7:55 13 14 15 0011 MOV Move Source Dest N7:56 N7:56 N7:56 13 14 15 0012 MOV Move Source Dest N7:57 N7:57 N7:57 13 14 15 0013 MOV Move Source Dest N7:58 N7:58 N7:58 13 14 15 0014 MOV Move Source Dest N7:59 N7:59 N7:59 13 14 15 0015
Application Examples 7-21 Data File N7 The table below is Data Table File N7. Words N7:0 through N7:15 are the configuration words for channels 0 through 15 of the NI16 module in the decimal radix. Refer to Chapter 5, Channel Configuration, Data and Status for an explanation of each bit in these words. Since this is bit-mapped data, it must be viewed in the binary radix.
7-22 Application Examples Publication 1746-UM001A-US-P
Appendix A Specifications This appendix lists the specifications for the 1746-NI16 Analog Input Module. Electrical Specifications 1 Description Specification Backplane Current Consumption 125 mA at 5V dc 75 mA at 24V dc Backplane Power Consumption 2.425W maximum (0.625W at 5V dc, 1.
A-2 Specifications Physical Specifications Description Specification LED Indicators 5 green status indicators one for each group of 4 channels, and one for module status Module ID Code Class 1 Class 3 NI16V 3505 10406 NI16I 3504 10403 Recommended Cable Belden #8761 or equivalent Maximum Wire Size Two 14 AWG wires per terminal Maximum Cable Impedance NI16V Voltage Source (with less than 10Ω impedance): 1250Ω maximum loop impedance, for 1LSB error NI16I Current Source (transmitter prope
Specifications A-3 Input Specifications Description Type of Input (Selectable) Specification NI16V ±10V dc, 1 to 5V dc, 0 to 5V dc, 0 to 10V dc, NII16I 0 to 20 mA, 4 to 20 mA, ±20 mA, 0 to 1 mA Type of Data (Selectable) Engineering Units Scaled-for-PID Proportional Counts (-32,768 to +32,767 range) Proportional Counts (User-Defined Range, Class 3 only) 1746-NI4 Data Format Input Impedance NI16V 20 MΩ NI16I 249 Ω NI16V ±30V between any two signal terminals NI16I ±8V between any two signal te
A-4 Specifications Publication 1746-UM001A-US-P
Appendix B Configuration Worksheet The following worksheet is provided to help you configure each of the channels on your module. See Chapter 5 for detailed configuration information.
B-2 Configuration Worksheet Publication 1746-UM001A-US-P
Appendix C Two’s Complement Binary Numbers The SLC 500™ processor memory stores 16-bit binary numbers. Two’s complement binary is used when performing mathematical calculations internal to the processor. Analog input values from the analog modules are returned to the processor in 16-bit two’s complement binary format. For positive numbers, the binary notation and two’s complement binary notation are identical.
C-2 Two’s Complement Binary Numbers Negative Decimal Values In two’s complement notation, the far left position is always 1 for negative values. The equivalent decimal value of the binary number is obtained by subtracting the value of the far left position, 32,768, from the sum of the values of the other positions. In the figure below (all positions are 1), the value is 32,767 - 32,768 = -1.
Appendix D Calibration The module should be calibrated to the following values to adhere to the “Module Error Over Full Temperature Range” specifications in Appendix A. Calibration Voltage or Current Range Calibration Sequence Module Type Low Calibration Value High Calibration Value 1746-NI16V -0.005 V to +0.005 V +10.245 V to +10.255 V 1746-NI16I -0.03 mA to +0.03 mA +20.97 mA to +21.
D-2 Calibration Publication 1746-UM001A-US-P
Glossary The following terms and abbreviations are used throughout this manual. For definitions of terms not listed here refer to Allen-Bradley’s Industrial Automation Glossary, Publication AG-7.1. A/D - Refers to the analog to digital converter inherent to the module. The converter produces a digital value whose magnitude is proportional to the instantaneous magnitude of an analog input signal.
Glossary 2 is enabled and there are no channel errors. When the channel is disabled, the channel data word is cleared (0). digital filter - A filter implemented in firmware, using discrete, sampled data of the input signal. filter - A device that passes a signal or range of signals and eliminates all others. filter frequency - (-3 dB frequency) The user-selectable frequency. full scale error - (gain error) The difference in slope between the actual and ideal analog transfer functions.
Glossary 3 output image - The output from the SLC processor to the 1746-NI16 module. The output image contains the module configuration information. Each output word configures a single channel. remote configuration - A control system where the chassis can be located several thousand feet from the processor chassis. Chassis communication is via the 1747–SN Scanner and 1747-ASB Remote I/O Adapter. resolution - The smallest detectable change in a measurement, typically expressed in engineering units (e.g.
Glossary 4 Publication 1746-UM001A-US-P
Index Numerics -3 dB frequency See filter frequency G-2 A A/D converter 1-4 definition G-1 value in data word 5-6 A/D groups 5-5 abbreviations G-1 addressing configuration word 4-5 addressing example 4-5 data word 4-5 addressing example 4-6 status word 4-5 addressing example 4-6 aliasing frequency 4-10 Allen-Bradley P-4 contacting for assistance P-4 analog input module definition G-1 overview 1-1 attenuation -3 dB frequency 4-9 definition G-1 B backplane connector 3-8 data transfer 1-4 definition G-1 elec
2 Index D data word 4-5 addressing 4-5 definition G-2 module input image 5-8 scaling examples 5-12 values for engineering units 5-9 values for scaled data 5-10 data word format 5-6 setting in configuration word 5-6 dB definition G-2 default filter setting 5-4 default setting of configuration word 5-2 definition of terms G-1 diagnostics channel 6-2 diagnostics, channel invalid configuration 6-2 LED indicators 6-3 open-circuit detection 6-3 out-of-range detection 6-2 diagnostics,power-up 6-1 differential mo
Index G gain drift definition G-2 gain error See full scale error G-2 getting started 2-1 tools required 2-1 H heat considerations 3-6 high calibration 5-5 I ID code 4-2 input channel multiplexing 1-4 input data scaling definition G-2 input device type 5-6 setting in configuration word 5-6 input devices source impedance 3-13 wiring 3-13 input filter See filter frequency G-2 input image 2-7 definition G-2 input image See status word and data word 4-5 input response to slot disabling 4-11 input types A-3 i
4 Index O open-circuit 6-3 defining conditional state of channel data 5-5 error 6-3, 6-5 operation module 1-4 system 1-3 out-of-range detected error 6-2 output image 2-5, 4-5 definition G-3 output response to slot disabling 4-11 over-range detected error 6-5 P pinout diagram 3-9 Positive Decimal Values C-1 power-up sequence 1-3 programming configuration settings 2-6 proportional count data type description 5-10 proportional counts scaling example 5-14 R remote configuration definition G-3 removable term
Back Cover
Publication 1746-UM001A-US-P - December 1999 7 © 1999 Rockwell International Corporation. Printed in the U.S.A.