Important User Solid state equipment has operational characteristics ( differing from those of electromechanical equipment. Information "Application Considerations for Solid State Controls" (Publication SGI-l.l) describes some important differences between solid state equipment and hard-wired electromechanical devices. Because of this difference, and also because of the wide variety of uses for solid state equipment, all persons responsible for applying this equipment must satisfy themselves that each intended application of this equipment is acceptable. In no event will the Allen-Bradley Company be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment. The examples and diagrams in this manual are included solely for illustrative purposes. Because of the many variables and requirements associated with any particular installation, the Allen-Bradley Company cannot assume responsibility or liability for actual use based on the examples and diagrams. No patent liability is assumed by the Allen-Bradley Company with respect to use of information, circuits, equipment, or software described in this manual. Reproduction of the contents of this manual, in whole or in part, without written permission of the Allen-Bradley Company is prohibited. Q 1990 Allen-Bradley Company
Table of Contents Chapter Title Page 1 Overview What this Manual Contains .... . ............... 1-1 Related Documentation .......... . . ...... 1-2 Terms and Abbreviations .......... . .. . .. . . . 1-3 Description of Analog Modules ....... . ... . . 1-4 2 Installation & Wiring Considerations 2 -1 Introduction. . . . . .... .. .... ........... . ... . 2-2 Power Requirements ................... . 2-3 Switch Settings .............. .. .. .. .. .. . .. . ... ... . . 2-4 Slot Selection ....... . ..... . ...... . Installing Analog Modules ................. . 2-4 2-6 Wiring.............................. . .. . .. .. . 2-6 Remove the analog module terminal block ......... . 2-7 Cable grounding ................. . . .. . . 2-7 Determine cable length ....................... .... . W iring the analog module ......... ........ .. . 2-8 Label the term inal block ..................... . 2-9 Install the terminal block on the analog modu le ..... . 2-10 Ground the foil shields and drain wires. . . . . .... . 2-10 • Identify the termina ls ...................... ... ... . 2-10 System Wiring Guidelines .......................... . 2 -11 Wiring for Modules . . . . . . . . . . . . .. . . 2-12 Minimizing the Effect of Electrical Noise .. . . . . . . 2-13 Preventive Maintenance ...... .............. .... .. . . 2-14 Module Operation 3 Introduction ....... . . ..... . ........ ...... . ...... . . . 3-1 Module Interface to Processors . ......... .... . 3-1 Module ID Codes .. . ............... ... .. .. . . 3-2 Addressing the Analog Modules .... ... .. ... .... . . 3-2 Processor Update of Analog Data ....... . . . . 3-5 Monitoring the Input & Output Data .... . .. . .. .. . .. . 3-6 3~7 Analog Input Con verSion .............. . ... . .. .. . . . Analog Output Conversion .. . ..... . .. . . .. . . . ... . 3-8 System Considerations ............ .. . . .. .. . . .. . . 3-10 Safe State for Outputs .. ............ ....... . 3-10 Input Out-of-Range Detection ............. . 3-10 Ana log Module Response to Slot Disable . ... . . . . . 3-11 Input Channel Filtering ............... . .. . .. .. . 3-12
Table of Contents 2 Chapter Title Page Start-up & Troubleshooting 4 4-1 Introduction ............. ......... . . ............. . 4-1 Start-up ........... . ............ . .. ..... . 4-1 General ........... .. ......... . . . .. . ...... . ...... . 4-2 Inspecting the Analog Module ... . ... . .. . . . . . ..... . 4-2 Disconnect Prime Movers ........ . . . . . . . . . . . . .. .. . . 4-3 Powering the SLC 500 System ........... . .. . .. . .. . . 4-4 Testing Analog Inputs. . . . . . . . ..... .... . . . .. . 4-7 Testing Analog Outputs . ......... .. . . .. .. . .. . 4-9 System Start-up ........ . . . . .... . .. ......... . 4-9 Troubleshooting .......... . .. . .... . .. . . . .. . .. . . . 4-10 Safety Considerations .... . .. .. .. . . ... .. .. ... . .. . 4-11 Problem Identification ... . .... .. . . ....... . . . . . . . . S Applications & Programming Examples 5-1 Introduction ............................. . ...... . . Program for Out-of-Range Input Detection . ......... . 5-2 Scaling and Range Checking Example 1 ........ . 5-3 Scaling and Range Checking Programming Example 1 5-4 Scaling and Range Checking Programming Example 2 . 5-6 Specifications 6 Catalog No. 1746-N14 Analog Input Module ........ . 6-2 Catalog No. 1746-NI041 Analog Combination Module 6-5 Catalog No. 1746-NI04V Analog Combination Module 6-9 Appendix A Definitions Appendix 8 Two's Complement Binary Numbers
Chapter Overview 1 What This Manual This manual is organized in a simple step-by-step manner Contains that provides an effective method of installing and operating the following Analog Modules in a n SLC 500 system. • Catalog No. 1746-NI4 Analog Input Module • Catalog No. 1746-NI04I Analog Combination VO Module • Catalog No. 1746-NI04V Analog Combination VO Module This manual is divided into the following chapters: Purpose Chapter Title Briefly desuibes the Analog Modules and the information 1 Overview necessary to use them. Installation Outl ines the Installation of the Analog Modules in an SLC 500 & 2 Wiring Considerations system. Describes how the Analog Module Operation Modules operate in an SLC 500 J system . Start-up Provides a method where proper installation and operation of the 4 & Analog Modules can be verified. Troubleshootin g Programming examples are Applications provided depicting typical & Programmi ng applications for the Analog 5 Examples Module. Provides the specifications for the Specifications 6 Analog Modules.
Chapter 1 Overview 1-2 This manual assumes that the user is familiar with the Related Documentation SLC 500 system where the analog modules are installed. The following publications will assist you in the proper installation and operation of the analog modules. • Application Considerations for Solid State Controls Publication SGI-l.l Describes some important differences between solid state programmable controller products and hard-wired electromechanical devices. • Allen-Bradley Programmable Controller Grounding and Wiring Guidelines Publication 1770-4.1 • Allen-Bradley SLC 500 Fixed Hardware Style Installation & Operation Manual Publication 1747-800 • Allen-Bradley SLC 500 Modular Hardware Style Installation & Operation Manual Publication 1747-804 • Allen-Bradley Hand-Held Terminal User's Manual Publication 1747-809 • Allen-Bradley Advanced Programming Software User's Manual Publication 1747-801 • National Electrical Code published by the National Fire Protection Association of Boston, Massachusetts Refers to the article on wire sizes and types for grounding electrical equipment.
Chapter 1 Overview 1-3 Terms and The following terms and abbreviations are used throughout Abbreviations this manual. Please read and familiarize yourself with them. Analog Module - Refers to all three Analog Modules (Catalog Numbers 1746-NI4, 1746-NI041 and 1746-N0I4V) in this manual. Fixed System - Refers to any SLC 500 Fixed Hardware Style System. 110 Module - Refers to any SLC 500 VO modu le including the Analog Modules. Modular System - Refers to any SLC 500 Modular Hardware Style System. NI4 - Refers to the Catalog Number 1746-NI4 Analog Input Module. NI041 - Refers to the Catalog Number 1746-NI041 Analog Combination VO Module. NI04V - Refers to the Catalog Number 1746-NI04V Analog Combin ation VO Module. Processor - Refers to all SLC 500, SLC 5/01 and SLC 5/02 processors. Rack - Refers to any Modular System 4, 7, 10 or 13-slot rack or Fixed System 2-s1ot expansion rack. SLC 500 System - Refers to any Fixed Hardware Style or Modular Hardware Style system. Symbols - The following symbols are used throughout this manual. WARNING: A warning symbol means .j, people might be injured if the procedures are &. not fo llowed. ~~~~----------------~ CA UTI ON: A caution symbol is used when machinery could be damaged if the ~. procedures are not followed. ~----------------------~
Chapter 1 Overview 1-4 Description of The NI4, NI041 and NI04 V analog modules interface Analog Modules analog input and output signals with all Allen-Bradley SLC 500 systems. Analog input and output data is mapped directly into the input and output image of the processor and updated automatically every scan. CATALOG NUMBER DESCRIPTION 1746-Nl04V 1746-Nl041 1746·N14 Number of Inputs 2 4 2 Type of Input Voltage or Current Voltage or Current Volta ge or Current Number of Outputs - 2 2 Type of Output - Current Voltage Current Input Range - 20mA to + 20mA - 20mA to + 20mA - 20mA to + 20mA Voltage Input Range -lQVDC to + 10VDC -lOVDCto + lOVDC ·lOVDCto + 10VDC - - Current Output Range OmA to + 20mA Voltage Output Range - lQVDCto + 10VDC - -
Chapter Installation & Wiring 2 Considerations Introduction To obtain the maximum performance from an analog • module, proper module installation is imperative. This chapter describes the procedures that must be carefully followed when installing an analog module in an SLC 500 system. Power Requirem ents - Describes the power requirements of the analog modules. Switch Settings - Describes the voltage/current input mode DIP switch setting used to select a voltage or current input. Slot Selection - Makes recommendations for selection of a slot in the rack for the analog module. Installing Analog Modules - Describes how to mount the analog modules in a rack. Wiring - Describes how to wire inpu t/output devices to the analog module. Syste m Wiring Guidelines - Provides guidelines in planning system wiring for analog modules. System Wiring Examples - Provides examples of wiring analog modules into an SLC 500 system. Minimizing the Effect of Electrical Noise on Analog Modules - Describes how the analog modules can be installed to help reduce the affects of industrial noise. Preventive Maintenance - Describes the actions required to help ensure long term performance of the analog modules.
Chapter 2 Installation & Wiring Considerations z-z Power Requirements The analog modules require both 5 Volt and 24 Volt power from the backplane of the SLC 500 system. The following table displays the power requirements. ANALOG MODULE POWER REQUIREMENTS 24 Volt Current S Volt Current Catalog No. 100mA 2SmA 1746-N14 177mA 40mA 1746-N1041 125mA 1746-Nl04V 40mA The ana log module power requirement table above should be used when calculating the total load on the Modular System power supply, as described in the Installation & Operation Manual for Modular Hardware Style Programmable Controllers - Publication 1747-804. Only one analog module can be used in a 2-510t expansion rack. Any of the discrete input modules listed in the table below can be used with the analog module when mounted in the 2-510t expansion rack. INPUT MODULES Catalog No. Points per Module Type 4 1746-IA4 1746-IA8 8 1001120VoitsAC 1746·IA16 16 1746-IM4 4 1746-IM8 8 200 1240 Volts AC 1746-IM1 6 16 1746-188 8 1746-1816 16 24 Volts DC Sinking and Sourcing 1746-IV8 8 Circuits 1746·IV16 16
Chapter 2 Installation & Wiring Considerations 2-11 System Wiring Use the following guide lines in planning the system wiring Guidelines for the analog modules. Terminal wiring for the modules is shown in the following diagrams. 1. All analog cornman terminals (ANL COM) of an analog module are electrically connected inside the module. 2. Voltages on IN + and IN - terminals must remain within ± 20 Volts with respect to ANL COM to ensure proper input channel operation. This is true for current and voltage mode input channel operation. 3. Voltage outputs (OUT 0 and OUT I) of the NI04V are referenced to ANL CO M. Load resistance (RI) for a voltage output channel must be equal to or greater than IK ohms. 4. Current output channels (OUT 0 and OUT I) of the NI04! source current that returns to ANL COM. Load resistance (Rl ) for a current output channel must remain between 0 and 500 ohms. 5. Input connections for single-ended or differential input are the same .
Chapter 2 Installation & Wiring Considerations 2-12 W' mnq f or Mdl es o u NI4 + I analog I source 0 0 INO + I J - 1 0 IN O- earth , Iground 2 0 ANLCOM 3 0 IN 1 + + I 4 0 IN 1- analog I source 5 0 ANLCOM I - r- 6 0 IN 2 + earth I- 7 0 IN 2- 'Ilground ~ 8 0 ANLCOM Jumper inputs r- 9 0 IN 3 + that are not used I- 10 0 IN 3 - ~ 11 0 ANLCOM NI041 & NI04V + analog I source IN 0 + 0 0 I J - I IN O- 1 0 r-+-. earth ANLCOM , I ground 2 0 IN 1 + r- 3 0 IN 1- • I- Jumper inputs 4 0 that are not used ~ ANLCOM 5 0 not used 6 0 I I OUTO 7 0 I Load I ANLCOM 8 0 I DO NOT not used r 9 0 jumper earth OUT 1 outputs ~ 10 0 II ground that are ANLCOM not used \. 11 0
Chapter 2 Installation & Wiring Considerations 2-13 Minimizing the Effect of Inputs on the analog modules employ hardware-based Electrical Noise on high frequency filters that significantly reduce the effects of Analog Modules electrical noise on the input signals. However, because of the large variety of applications and environments where the analog modules can be installed and operated, it is impossible to ensure that all environmental noise will be removed by the input filters. To provide reliable, long term operation of the analog modules, it is imperative that basic programmable controller installation guidelines be followed when installing an SLC 500 system. Although it is not the purpose of this manual to address SLC 500 system procedures, several specific steps can be taken to help reduce the effects of environmental noise on analog signals: 1. Install the SLC 500 system in a NEMA rated enclosure. Make sure the SLC 500 system is properly grounded per the instructions in the Fixed or Modular Hardware Style Installation & Operation Manual. 2. Use Belden #8761 cable for wiring the analog modules making sure that the foil shield and drain wire are properly earth grounded. 3. Route the analog module Belden #8761 cable separate from any other wiring. Additional noise immunity can be obtained by routing the analog module cables in grounded conduit. Refer to Wiring Layout information. 4. When installing the I/O modules in a rack, group analog and low voltage DC modules away from AC I/O or high voltage DC modules. Before operating any programmable controller system, proper operation of the controller in the operating environment must be established. Chapter 4 describes the start-up procedures that can be used to evaluate the operation of the analog modules after they are installed in the SLC 500 system. IMPORTANT - A system may malfunction because of a change in the operating environment after a period of time even if it was working properly during initial installation. System operation should be periodically checked, particularly when new machinery or other noise sources are installed near the SLC 500 system. For further details on system installation and start-up refer to the SLC 500 Modular Hardware Style Installation & Operation Manual- Publication 1746-804 or the Fixed Hardware Style Installation & Operation Manual - Publication 1746-800 and Safety Guidelines for the Application, Installation and Maintenance of Solid State Control- Publication SGI-1.1.
Chapter 2 Installation & Wiring Considerations 2· 14 Preventive The printed circuit boards of the analog modules must be Maintenance protected from dirt, oil, moisture and other airborne contaminants. In order to protect these boards, the SLC 500 system must be installed in an enclosure suitable for the environment. The interior of the enclosure should be kept clean and the enclosure door should be kept closed whenever possible. Regularly inspect your terminal connections for tightness. Loose connections may cause improper functioning of the SLC 500 system or damage the components of the system. WARNING: To ensure personal safety and to l guard against damaging equipment, inspect connections with incoming power OFF. ~ ~~~--~~~~----~ The National Fire Protection Association (NFPA) provides recommendations for electrical equipment maintenance. Refer to article 70B of the NFPA for general requirements regarding safety related work practices.
Chapter Module Operation 3 Introduction After successful installation of the a nalog module as described in chapter 2, consideration can be given to their operation in the SLC 500 system a nd in the specific application. The following information is contained in this chapter: Module I nterface to Processors - Describes the configuration, addressing and scaling of analog I/O data. System Consid era tions - Discusses output safe states, input out-of-range detection and filtering of analog I/O data. This section will describe how the analog modules interface to Module Interface to Processors the SLC 500 system including: • Module ID Codes - Describes how the analog module ID codes are used to configure the analog module in the SLC 500 system. • Ad dressing the Analog Modules - Describes how the analog module is addressed in a ladder program. • Processor Update of Analog Data - Describes how data is updated by the processor for each analog module. • Monitoring the Input and Output Data - Discusses the viewing of input and output data. • Analog Input Conversion - Describes how the analog module data is converted from the analog signal that is present a t the module's terminal block. • Analog Output Conversion - Describes how the analog module data is converted to the analog signal that is present at the module's terminal block.
Chapter 3 Module Operation 3-2 Module 10 Codes When configuring an analog module for an SLC 500 system using the Advanced Programming Software (APS) version 1.04 or earlier, the module identification code must be entered when configuring the slot. Refer to the table below for the appropriate analog module ID codes. Version 2.0 or later APS will have the analog modules listed in the VO module selection list. Hand-Held Terminal firmware version 1.1 or later is capable of configuring analog modules by entering the proper MODULE ID CODE in the "other" selection. MODULE 10 CODES 10 CODE CATALOG NO. 1746-NI4 4401 1746-NI041 3201 1746-NI04V 3202 NOTE - Refer to the Advanced Programmmg Software User's Manual- Publication 1747-801 or the Hand-Held Terminal User's Manual- Publication 1747-809 for complete information. Addressing the Each channel of the NI4 is addressed as a single word in Analog Modules the input image table. The NI4 uses a total of 4 words in the input image. The converted values from channels 0 through 3 are addressed as input words 0 through 3 respectively for the slot where the module resides. Example -If you want to address input channel 2 of the NI4 in slot 4, you would address it as input word 2 in slot 4 (1:4.2). Each input channel of a NI041 or NI04V is addressed as a single word in the input image and each output channel of the module is addressed as a single word in the output image. Both the NI04I and NI04V use a total of2 input words and 2 output words. The converted input values from input channels 0 and 1 are addressed as words 0 and 1 of the slot where the module resides. The output values for the output channels 0 and 1 are addressed as output words 0 and 1 of the slot where the module resides. Example - If you want to address output channel 0 of the NI04I in slot 3, you would address it as output word 0 in slot 3 (0:3.0).
Chapter 3 Module Operation 3-3 Addressing the The following image table figure illustrates I/O addressing Analog Modules for the various analog modules. (continued) SlC 5/01 or 5/02 Data Files Output Image ANALOG Input INPUT MOOULE Address INPUT IMAGE Image 1746-NI4 l:e.O Word 0 Input Channel 0 Input 1'---i Input --------- ... Slot Scan ~ Image l:e.1 Input Channel 1 Word 1 -------e -- 4 words l:e.2 Input Channel 2 Word 2 Input Channel 3 Word 3 l:e.3 , , , , , , , Bit 15 B" O I where e = slot address ANALOG COMBINATION MOOULE 1746-NI041 or NI04V Address OUTPUT IMAGE SlC 5/01 or 5/02 Data Files Output Channel 0 Word 0 O:e.O - ------- Output __ +_1 Output Output Channell Word 1 O:e.1 Scan )II: Image -------Siote -- 2 words ,," Bit1 5 Bit O Output Image Address INPUT IMAGE -- -- - --- Input ..... ---i Input Input Channel 0 Word 0 l:e.O l e ... Scan - Image ---S--ot ---- 2 words Input Input Channell Word 1 I:e.l Image Bi.15 B"O / where e = slot address
Chapter 3 Module Operation 3-4 Addressing the The input converter channel resolution is 16 bit and the Analog Modules resulting input value fills an entire word. The output channel converter resolution is 14 bit and the channel is (continued) loaded from the most significant 14 bits of the associated output word. The two least significant bits (example O:e.O/O and O:e.O/l ) of the output word have no effect on the actual output value. The bit level addressing for the analog modules is shown below. msb 1746-N14 BITLEVEL ADDRESSING Isb l:e.O I is I I I I I : <H 0 I:NPU~ : I I I I I I 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 I:e.l I I I I I I : C:H 1 I~PU~ : I I I I I I 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 l:e.2 I I I I I I : C~ 2 I~PU~ : I I I I I I 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 l:e.3 I I I I I I : C:H 3 I~PU:T : I I I I I I 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 e = SLOT NUMBER OF MODULE 1746-NI041 & NI04V BIT LEVEL ADDRESSING msb Isb O:e.O I I I I I I >~ 0 O~TP~< I I I I I I X X 15 14 13 12 11 10 9 8 , 6 5 4 3 2 1 0 O:e.l I I I I I I >~ 1 O~TP~< I I I I I I X X 15 14 13 12 11 10 9 8 1 6 5 4 3 2 1 0 ~b Isb l:e.O I I I I I I : C:H 0 I~PU~ : I I I I I I 15 14 13 12 11 10 § 8 7 6 5 4 3 2 1 0 I:e.l I I I I I I : C:H 11:NPU~ : I I I I I I 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 • = SLOT = NUMBER OF MODULE X BIT NOT USED
Chapter 3 Module Operation 3-5 Processor Update of The analog input and output data is automatically updated Analog Data by the processor once during each scan. The four input channels of the NI4 are represented as 64 bits (4 words) of data in the processor's input image. The two input channels and two output channels of the NI04I and NI04V are represented as 32 bits (2 words) of input data in the processor's input image and 32 bits (2 words) of output data in the processor's output image. Since this data is automatically updated once during each scan of the user program, the time between updates of the analog data at the processor is dependent on the scan time of the program. Typically, scan time is on the order of 10 milliseconds for a 1K program. If an application requires processor updates of the analog data more frequently than once per scan, the application program can implement Immediate Input andJor Immediate Output instructions_ An Immediate Input or Output of a single channel will update the 16 input or output bits representing the analog data for the channel specified. Typical time to update the processor image with a single channel of analog input data or to output a single channel of analog output data to the module is 1 millisecond using an Immediate instruction. Refer to the Advanced Programming Software User's Manual or Hand-Held Programmer User's Manual for more information on system throughput, processor operating cycle and scan time. T~pica l Time for Analog Data Updates to t e Processors Input and Output Image Once per processor scan 10 milliseconds for typical (Automatic) 1 K program Using Immediate Input or Output 1 millisecond per analog Instruction channel Number of Input and Output Bits Representing Analog Data Input Bits Description Output Bits NI4 (4 input channels) 64 - NI401 and NI04V 32 32 (2 input and 2 output channels) 1 analog input channel 16 - I analog output channel - 16
Chapter 3 Module Operation Monitoring the Input and The analog input and output data can be viewed in several Output Data different radices when monitored by Advanced Programming Software (APS). The default radix for the input and output data files in APS is binary data. Changing the radix to decimal allows the analog input and output data to be viewed as decimal representations of integer words. When monitoring in binary radix, data is viewed in two's complement representations of the integer words. A description of two's complement data is presented in Appendix B. When input and output data files are monitored by the Hand-Held Terminal, the binary radix is the only one available. To view the analog input and output data in decimal radix, itcan be moved to an integer data file.
Chapter 3 Module Operation 3-8 Analog Output Conversion Analog outputs convert a 16 bit 2's complement binary value into an analog output signal. Because the analog output channels have a 14 bit converter, the 14 most significant bits of this 16 bit number are the significant bits that the output channel will convert. (Bits 0 and 1 of the output word have no effect on the output). The NI0 41 supports two current outputs ranging from OmA to a maximum of21mA. The NI04V supports two voltage outputs ranging from -10 Volts DC to + 10 Volts DC. The tables below identify the number of significant bits for the applications using output ranges less than full scale. CATALOG NO . 1746-NI041 Current Resolution Decimal Representation Number of Range for Output Word Signifi<ant Bits perLSB OtollmA-1L5B Oto .. 32,764 13 bits o to 20mA o to 31,208 12.92 bits 2.56348"A 4to +20mA 6,242 to 31 ,208 12.6 bits CATALOG NO . 1746-NI04V Voltage Decimal Representation Number of Resolution Range for Output Word Significant Bits per LSB -lata .. 10VDC-llSB -32,768 to .. 32,764 14 bits Oto 10VDC-1LSB o to 32,764 13 bits 1.22070mV o to 5VDC o to 16.384 12 bits 3,277 to 16,384 11.67 bits 1 to SVDC To determine the decimal value to be sent to the corresponding output word for a desired current output, the following equation can be used: 32.768 ----- x Desired Current Output (mA) = Output Decimal Value 21mA For example, if an output value of 4mA is desired, the value to be put in the corresponding word in the output image can be calculated as follows: 32,768 ----- ,4mA = 6242 21mA Note: The actual resolution for analog current outputs is 2.563481lA per l5B, where the lSB position in the output word is indicated as: LS8 I I x I x 1S 14 13 12 " 10 9 8 7 6 5 4 3 2 1 0 x = Bit Not Used
Chapter 3 Module Operation 3-9 Analog Output Conversion To determine the decimal value to be sent to the (continued) corresponding output word for a desired voltage output, the following equation can be used: 32,768 ----- x Desired Voltage Output (VDC) = Output Decimal Value lOVDC For example, if an output value of 1 VDC is desired, the value to be put in the corresponding word in the output image can be calculated as follows: 32,768 ----- x lVDC = 3277 10VDC Note: The actual resolution for analog current outputs is 1.22070mV per LSB, where the LSB position in the output word is indicated as: lSB I I x X 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 x '" Bit Not Used
Chapter 3 Module Operation 3-11 Analog Module Response The processors have the ability to disable any rack slot. to Slot Disable Before disabling any slot containing an analog module, it is important to consider how the analog module will respond when its slot is disabled. CAUTION: Make sure that the implications ~ ! of disabling an analog module slot are clearly before feature. L-understood ________ utilizing this ______ ~~ ~ All of the analog modules are designed to respond in a repeatable, known manner when their slots are disabled. The slot disable response of the inputs and outputs is the same for all the analog modules (NI4, NI041 and NI04V). Input Response to Slot Disable -The module will continue to update the input values that it provides to the processor. However, the processor will not read the inputs from a module that is disabled. Therefore, when the processor disables the analog module slot, the module inputs appearing in the processor image table will remain in their last state. When the processor re enables the analog module slot, the current state of the module inputs will be received by the processor during the subsequent scan . Output Response to Slot Disable - The processor may change the analog module output data as it appears in the • processor image table, however this data will not be transferred to the analog module. Instead, the analog module will hold its outputs in their last state. When the slot is re-enabled, the data that appears in the processor image table will be transferred to the analog module on the subsequent scan.
Chapter 3 Module Operation 3-12 Input Channel Filtering The input channels for the NI4, NI041 and NI04V incorporate extensive on board signal conditioning. The purpose of this conditioning is to reject the high frequency noise that can couple into an analog input signal while passing the normal variations of the input signal. The conditioning is performed by passing the input signal through a 6 pole Gaussian filter. The sharp cut-off of this filter is demonstrated in the frequency response plot on Page 3-13. Frequency components of the input signal at or below the filter corner frequency of 10Hz are passed with under 3dB of attenuation. This pass band allows the normal variation of sensor inputs such as temperature, pressure and flow transducers, to be input to the processor. Noise coupled in at frequencies above the 10Hz pass band is sharply rejected. An area of particular concern is the 50160Hz region, where pick up from power lines can occur. From the frequency response diagram you see that a 60Hz signal on the plus (+) input with respect to the minus (-) input will be attenuated by over 55dB (60Hz normal mode rejection). Ifpower line noise is coupling into the input signal through the input cable, the proper use of differential inputs will help further reduce the effect of noise. With differential inputs, noise will couple into both the plus (+) and minus (-) inputs where it will be attenuated by over 115dB (60Hz common mode rejection). The effect of the filter with respect to time can be seen by examining the step response of the input channel. The diagram on Page 3-14 shows the response of the input value versus time when a unit step change is made in the voltage or current at the module's input terminals. The response of the filter demonstrates no overshoot and rapid settling time. The input value will settle to within 5% of the final value in 60 milliseconds. For example, if the input quickly changes from 0 to 10 Volts, the value converted by the analog module after 60 milliseconds is 9.5 Volts. Within this time the analog module will update the input data value in the memory module of the analog module with an intermediate response every 51211sec. The processor update time of analog module data is dependent on program scan. Refer to Page 3-5 for additional information on "Processor Update of Analog Data".
Chapter 3 Module Operation 3-14 Input Channel Step Response P E R C 100 E 9S ... ............. .. N HI T A G 80 E (%) II 60 0 F , F I 40 I N A l / 20 V A , l ) U 0 E 120ms Oms 40ms 60ms BOms TIME ,; ...
Chapter Start-up & 4 Troubleshooting Introduction After the analog module is installed as described in Chapter 2 and its operation is understood as described in Chapter 3, the functionality of the analog module in the SLC 500 system and in the specific application should be verified. Ifproblems arise after the analog modules are installed and the SLC 500 system has been operating correctly for a period of time, a procedure similar to that described in the Start-up section can be utilized to determine the source of the problems. The Troubleshooting section provides further elaboration of this process. Start-up The purpose of this section is to isolate problems in a systematic and controlled manner prior to beginning normal system operation. General Fixed System If the analog module is installed in the expansion rack in a Fixed System, the Fixed System should be tested using the procedures described in the Fixed Hardware Style Installation & Operation Manua l - Publication 1747-800, before executing the analog module start-up procedures. Modular System If the analog module is installed in a Modular System, the Modular System should be tested using the procedures described in the Modular Hardware Style Installation & Operation Manual- Publication 1747-804, before executing the analog module start-up procedures. The analog modules are calibrated and their accuracy is verified at the factory. Provided that these modules are installed and operated properly, they will perform within the specifications listed in Chapter 6. The analog module start·up procedure consists of the following steps that should be performed in sequence: 1. Inspecting the analog module 2. Disconnect Prime Movers 3. Powering the SLC 500 System 4. Testing Analog Inputs 5. Testing Analog Outputs 6. System Start-up
Chapter 4 Start· up & Troubleshooting 4-6 Testing Analog Inputs 8_ If the analog module input channel has been (continued) disconnected from its sensor, attach the voltage source (voltage input) or current source (current input) to the input and set the source to the upper boundary condition. If the analog module input channel is connected to its sensor, set the sensor to its upper boundary condition 9. Locate the input channel's image data in the image table. The input image word for the input channel being tested should read approximately the upper boundary calculated in Step 3. The exact value of the image word will be affected by the accuracy of the analog module and the input's sensor. Ensure that the deviation from the boundary value is within tolerances for the application in which the analog module will be used. 10. Repeat the steps 1 through 11 with the remaining analog inputs. If any of the analog input channels do not pass the start-up procedure, there are several potential causes: 1. The processor is not in the TEST/CONTINUOUS scan mode. 2. The analog module terminal block is not firmly seated on the module. 3. The analog module terminal block is not wired properly or wires are broken. See chapter 2 for details on wiring the analog module. 4. The analog module input channel sensor (or test voltage or current source) is not operating properly. NOTE - If a current source is not available to test a current input channel, a test voltage can be applied to the analog module's current input channel to achieve the input boundary conditions. In normal operation, a voltage source should not be connected to an analog input channel in the current mode. To determine the boundary conditions use: Voltage Input (V) = Current Input (mA) x 0.25 For example, if the current input boundary conditions are lmA and 5mA, the boundary conditions in volts would be 0.25 Volts and 1.25 Volts. If this calculation is done correctly, the magnitude of the test voltage will never exceed 5 Volts.
Chapter 4 Start-up & Troubleshooting 4-8 Testing Analog Outputs 1. Determine the boundary conditions for the analog (continued) module output channel. For example, if the output channel is connected to an actuator that has an input range of 1 Volt to 5 Volts, the boundary conditions would be 1 Volt (lower) and 5 Volts (upper). 2. Using the formulas on Pages 3-6, calculate the output decimal values that must be entered into the processor image table to produce the analog module output channel boundary conditions determined in Step l. For example, if 1 Volt and 5 Volts are boundary conditions, the decimal values would be 3277 and 16384. 3. Create and save the test rung shown below. MOV Move N7:0 Source O.e.x De~t N e" IS the slot number of the analog modu le u." IS the number of the ana log module output channel being tested 4. Download the program to the processor and enter the RUN mode. 5. Display the data in address N7:0. 6. Enter lower boundary condition value in N7:0. For example, if the lower boundary condition was 1 Volt, 3277 would be entered into N7:0. 7. If the analog module's output channel has not been disconnected from its actuator, the actuator should assume its lower boundary condition. If the a nalog modu le output channel has been disconnected from its actuator, connect either the ammeter (current output) or voltmeter (voltage output) to the analog module output channel. The ammeter/voltmeter should read approximately the lower boundary condition. For example, if 1 Volt was the lower boundary condition, the voltmeter should read approximately 1 Volt. The exact value of the meter reading will be affected by the accuracy of the analog module and the meter. Ensure that the deviation from the lower boundary condition is within tolerances for the application in which the analog module is used. 8. Enter upper boundary condition value to N7:0. For example. if the upper boundary condition was 5 Volts, 16384 would be entered in N7:0.
Chapter 4 Start-up & Troubleshooting 4-11 Safety Considerations When troubleshooting, pay careful attention to this general (continued) warning. r-------------------------~----~~--__, WARNING: Have all personnel remain clear :.t of the SLC 500 system and equipment when power is applied. The problem may be Ii:J. intermittent and sudden unexpected machine motion could result in injury. Have someone ready to operate an Emergency Stop switch in case it becomes necessary to shut off power to the equipment. Also, see NFPA 70E Part II for additional guidelines for safety related work practices. Never reach into a machine to actuate a switch since unexpected machine motion can occur and cause injury. Use a wooden stick. A metal rod could damage the machine and/or conduct current to the person holding it. Remove all electrical power at the main power disconnect swi tches before checking electrical connections or inputs/outputs causing machine motion. Problem Identification To increase the ease with which the analog modules can be used in the SLC 500 system, these modules are designed to perform properly without requiring a large amount of user configuration decisions. This reduces the potential for user configuration errors. Additional information can be found in Modular or Fixed Style Installation & Operation Manual. If a problem with an analog module is suspected, the most effective method of determining the cause of the problem is to follow the procedures described at the beginning of this chapter.
Chapter Applications & 5 Programming Examples Introduction This chapter shows several programming examples that provide additional functionality such as analog module input out-of-range detection and analog module inputJoutput scaling. IMPORTANT - The programming examples in this chapter are for illustrative purposes only. Because of the many variables and requirements associated with any application, the Allen-Bradley Company cannot assume responsibility or liability for actual use based on these examples.
Chapter 5 Applications & Programming Examples 5-3 Scaling and Range This example demonstrates the addressing of analog lIO Checking Example 1 and the scaling and range checking of analog input values. For this example a NI04 V is placed in slot 1 of an SLC 500 system. A 0 to 200 psi a pressure sensor is input as a 4 to 20mA signal to input channel O. The input value will be checked to ensure it remains within the 4 to 20mA range. It will then be scaled and output as a 0 to 2.5 Volt signal to a panel meter pressure display connected to output channel O. Ifan out-of-range condition is detected a flag bit will be set. The scaling operation is displayed in the illustration below. The graph displays the linear relationship between the input value and the resulting scaled value. 8192 (scaled max.) SCALED VALUE o (scaled min.) 3277 16383 (input min.) (input max.) INPUT VALUE SCALED VALUE vS.INPUTVAlUE The relationship can be expressed in the following equation: Scaled value = (input value x slope) + offset where: Slope = (scaled max. -scaled min.) 1 (input max. - input min.) Offset=scaled min. - (input min. x slope) For this example: input min. = 3277 input max. = 16,383 scaled min == 0 scaled max = 8192 Therefore: Offset=0-3277 (8192113,106) = -2048 Scaled value = (input value x 8192 / 13,106)-2048 This equation can be implemented using integer math capabilities of the SLC 500 system. Two example programs will be shown. The first will run on any SLC 500 processor and the second utilizes the scaling instruction available on the SLC 5102 processor.
Chapter 5 Applications & Programming Examples 5-4 Scaling and Range In this program, that can be implemented in any processor, the analog input value is checked against the minimum and Checking Programming maximum allowable input values. B3:010 is the in range Example 1 flag. If the input is out-of-range. the in range flag is reset and the output value is set to its minimum or maximum value. If the input value is in range the output value is determined by scaling the input. The scaling takes three steps: 1. Multiply the in put by the scaled range Scale range = (scaled max. - scaled min.). 2. Divide the 32 bit result by the input range Input range = (input max. - input min.). 3. Add in the offset value (in this case negative). The final value is then moved to the analog output channel O. The multiply operation will generate an overflow bit and minor error flag whenever the results exceed 16 bits. Since the divide is carried out on the 32 bit result in the math register, the overflow does not present a problem. The minor error flag has to be cleared before the end of the program scan to avoid a system error.
Chapter 5 Applications & Programming Examples 5-5 Scaling and Range Checking Programming Example 1 Rung 2:0 8310 Set the In range bit ( L ) I Rung2 :1 Check fOr below range MOV LEI LESS THAN MOVE Source A 1:10 Source 0 De~t N7:0 Source B 3277 8310 U, Rung 2.2 Check for above range GRT MOV GREATER THAN MOVE Source A 1:1 0 Source 8192 N7:0 Den Source B 16383 8310 U I Rung 2:3 MUL Multiply ~3~ MUl TIPl Y by the Source A 1:1 0 scaled l I range Source B 8192 Den N7:0 Clear fit bIt from S:SIO overflow U' , I DDV Divide DOUBLE DIVIDE result by Source A 13106 Input Deit N7:0 range ADD ADD Add Source A N7:0 offset Source B 2048 Dest N7:0 Rung 2:4 MOV Move value to NI04Voutput c.hannel 0 MOVE Sou rce N7:0 Dest 0 :1.0 Rung 2:5 END
Chapter 5 Applications & Programming Examples 5-6 The logic of program 2 is the same as program I, however Scaling and Range the scaling instruction available in the SLC 5/02 processor Checking Programming is used to realize a more efficient program. The scaling Example 2 instruction implements the same multiply, divide and add algorithm but it does so with a single rate term instead of the scaled range and input range values. The rate term is determined by: Rate = (scaled range 1 input range) x 10,000 For the programming example the rate = 6251
Chapter Specifica tions 6 Specifications Note - Specifications listed for input channels for all the analog modules are the same even though they are listed separately in each section.
Chapter 6 Specifications 6·2 Catalog No. 1746·NI4 Analog In put Mod ule SPECIFICATION DESCRIPTION I GE NERAL Input Channels per Module 4 di fferential, volt age or current select able per channel, not individually isolated 500 Volts DC Field Wi ring to Backplane Isolation 25mA at 5 Volts DC Backplane Pow er Consumption 1 OOmA at 24 Volts DC Update Time 5 12Jls. for all channels in para llel 16 Bit Two's Complement Binary SlC Communi<:ation Format Cal ibration Factory Calibrated Envi ronmental CondItions 0 o to + 60 e Operating Temperature _400( to + SSC( Storage Temperature 5-95% (non-condensing) Relative Humidity Terminal Block Removable Maximum Wi re Size #14AWG Recommended Cabl e Belden #8761 Location 1746 Rack INPUT GENERAL Converter Resolution 16 Sit location of LSB in 1/0 image word 0000000000000001 Non·linearity 0.01% Common Mode Voltage Range ·20 Volts DC to + 20 Volts DC Common Mode Rejection at 0 to 10 Hz (minimum) SOdB Common Mode Rejection at 60 Hz (minimum) 115dB Normal Mode Reject ion at 60 Hz (m inimum) 5SdB Channel Bandwidth 10 Hz Settling Time <D 60 milliseconds Conversi on Method Delta-Sigma Modu lation Voltage Input Cadi ng (-1 OVDC to + 1 OVDC - 1 LSB) -32768 to + 32767 (-20mA to + 20mA) Current Input Coding ·1 6384to + 16384 (-30mA to .... 30mA) -24576 to .... 24576 <D Refer to Page 3-12.
Chapter 6 Specifications 6-3 Catalog No. 1746-N14 Analog Input Module SPECifiCATION DESCRIPTION I Vem ;0 CURRENT MODE INPUT Full Scale; 20mA Input Range (Normal Operation) -20mA to + 20mA Absolute Maximum Input Current ±30mA Absolute Maximum Input Voltage ± 7.5 Volts DC or 7.5 Volts AC RM5 Input Impedance 250 Ohms Resolution 1 . 22077~A per lSB Overall Accuracy (at + 25°C maximum) ± 0.365% of full scale Overall Accuracy (O to + 60°C maximum) ± 0.642% of full scale Overall Accuracy Drift (maximum) ± 79ppmr C of full scale Gain Error (at + 25°C maximum) ± 0.323% offull scale Gain Error Drift (maximum) ± 67ppmrC of full scale Offset Error (at + 25°C max.) (lin = 0, Vem = 0) ± 7lSB ± 14 lSB Offset Error (0 to + 60°C max.) (lin = 0, Vcm = 0) Offset Error Drift (maximum) (lin = 0, Vcm = 0) ± 02 LSBI'C Vem ;0 VOLTAGE MODE INPUT Full Scale ; 10 Volts -10VoltsDCto + 10VoltsDC-llSB Input Range lMohm Input Impedance 305. 176~V per lSB Resolution ± 0.284% of full scale Overal l Accuracy (at + 25°C maximum) ± 0.504% of full scale Overall Accuracy (0 to + 60°C maximum) ± 63ppmr C of full scale Overall Accuracy Drift (maxi mum) ± 0.263% % of full scale Gain Error (at + 25°( maximum) ± 57ppmr C of full scale Gain Error Drift (maximum) Overvoltage Protection 220 Volts AC RMS conti nuously (maximum across IN + to IN - terminals) ± 7 LSB Offset Error (at + 25°( max.) (Vin = 0, Vcm = 0) 0 ± 14 LSB Offset Error (0 to + 60 ( max.) (Vin = 0, Vcm = 0) ± 0.2 LSBr C Offset Error Drift (maximum) (Vin = 0, Vem = 0)
Chapter 6 Specifications 6-5 Catalog No. 1746-NI041 Analog Combination 1/0 Module SPECIFICATION DESCRIPTION I GENERAL Input Channels per Module 2 differential, voltage or current selectable per channel, not indivi dually isolated Output Channels per Module 2 cu rrent outputs, not indivi dually isolated Update Time 5121-1s. for al l channels in parallel Field Wiring to Backplane Isolation 500 Volts DC Backplane Power Consumption 40mA at 5 Volts DC 177mA at 24 Volts DC SLC Comm unication Format 16 Bit Two's Complement Binary Calibration Factory Calibrated Environmental Conditions o to + 60°C Operating Temperature ·40°C to + 85°C Storage Temperature 5-95% (non-condensing) Relative Hum idity Term inal Block Removable Maximum Wi re Size #14AWG Recommended Cable Belden #8761 Location 1746 Rack INPUT GENERAL Converter Resolution 16 Bit Location of LSB in I/O image word 0000 0000 0000 0001 0.0 1% Non-linearity -20 Volts DC to + 20 Volts DC Common Mod e Voltage Range Common Mode Rejection at 0 to 10 Hz (minimum) 50dB 115dB Common Mode Rejection at 60 Hz (m inimum) Normal Mode Rejection at 60 Hz (minimum) 55dB 10 Hz Channel Bandwidth 60 milliseconds Settling Time Q) Delta-Sigma Modulation Conversion Method -32768 to + 32767 Voltage Input Coding (-1 OVDC to + 1 OVDC - 1 LSB) -16384to + 16384 (-20mA to + 20mA) Current Input Coding (-30mA to + 30mA) -24576 to + 24576 CD Refer to Page 3-12.
Chapter 6 Specifications 6-6 Cata log No. 1746-NI041 Analog Co mbin a tio n 110 Modul e SPECiFICATION DESCRIPTION Full Scale = 20rnA Vern =0 CURRENT MODE INPUT -20mA to + 20mA Input Range (Normal Operation) ± 30mA Absolute Maximum Input Current ± 7.5 Volts DC or 7.5 Volts AC RM S Absolute Maximum Input Voltage 250 Ohms Input Impedance Resolution 1.22077IlA per LSB ± 0.365% of ful l scale Overall Accuracy (at + 25°( maximum) Overall Accuracy (0 to + GOoe maximum) ± 0.642% of full scale Ovefall Accuracy Drift (maximum) ± 79ppmf'C of ful l scale Gain Error (at + 25°( maximum) + 0.323% of full scal e ± 67ppmr C of full scale Gain Error Drift (maximum) Offset Error (at + 25°( max.) (lin = 0, Vern = 0) ± 7 LSB Offset Error (0 to + GOoe max.) (lin = 0, Vern = 0) ::!:: 14 l SB Offset Error Dri ft (maxi mum) (lin = O. Vem :::: 0) ± 0.2 LSBr c VOLTAGE MODE INPUT Full Scale = 10 Volts Vern =0 Input Range ± 10 Volts DC Input Impedance lMohm Resolution 305. 1 76~V per LSB Overall Accuracy (at ... 25"C maximum) ± 0.284% of full scale Overall Accuracy (0 to ... GO°C maximum) + 0.504% of full scale Overall Accuracy Drift (maximum) ± 63ppmr C of full scale Gain Error (at ... 25"C maximum) ± 0.263% % of full scale Gain Error Drift (maximum) + 57ppmr C of full scale Overvoltage Protection 220 Volts AC RMS continuously (max imum across IN + to IN - terminals) Q Offset Error (at + 2S C max.) (Vin _ 0, Vcm = 0) + 7 LSB Offset Error (0 to + 60°C max.) (Vin - 0, Vcm - 0) + 14 LSB Offset Error Drift (maximum) (Vin = 0, Vcm = 0) ± 0.2 LSBr C
Chapter 6 Specifications 6-7 Cata log No. 1746·Nl041 Ana log Combinatio n 110 Module DESCRIPTI ON SPECIFICATI ON I CU RRE NT OUTPUT GENERAL Converter Resolution 14 Bit location of LSB in 1/0 image word 0000000000000 I XX Non-linearity 0.05% Conversion Method R-2R Ladder Load Range o to 500 Ohms Maximum Load Reactance 100~H Current Output Coding (0 to + 21 mA - 1 LSB) o to + 32764 CURRE NT OUTPUT Full Scale = 21mA Output Range (Normal) Oto +20mA Overrange Capability 5% (0 to + 21 mA - 1 LSB) Resolution 2 . 56348~ per LS8 Overall Accuracy (at + 25°C maximum) ± 0.296% of full scale Overall Accuracy (0 to + 60"C maximum) ± 0.541 % of full scale Overal l Accuracy Drift (maxi mum) ± 70ppmr C of full scale Gain Error (at + 25"C maxi mum) ± 0.298% of ful l scale Gain Error Drift (maximum) ± 62ppmr C of full scale Offset Error (at + 25°C maximum) ± 10 L5B ± 12 LSB Offset Error (0 to + 60°C maximum) Offset Error Drift (maximum) ± 0.06 LSBPC
Chapter 6 Specifications 6-9 Catalog No. 1746-NI04 V Analog Combination I/O Module SPECIFICATION DESCRIPTION I GENERAL Input Channels per Module 2 differential, voltage or current selectable per channel, not individually Isolated 2 current outputs, not individually isolated Output Channels per Module Update Time 5 1211S. for all channels in parallel Field Wiring to Backplane Isolation 500 Volts DC 40mA at 5 Volts DC Backplane Power Consumption 12SmA at 24 Volts DC SLC Communication Format 16 Bit Two's Complement Binary Calibration Factory Calibrated Environmental Conditions o to + 60°C Operati ng Temperature _40°C to + 85°C Storage Temperature 5-95% (non-condensi ng) Relative Humidity Removable Terminal Block Maximum Wire Size #14AWG Recommended Cable Belden #8761 1746 Rack Location INPUT GENERAL 16 Bit Converter Resol ution 000000000000000 I Location of L5B in 110 image word 0.01 % Non-linearity -20 Volts DC to + 20 Volts DC Common Mode Voltage Range SOdB Common Mode Rejection at 0 to 10 Hz (minimum) 115dB Common Mode Rejection at 60 Hz (minimum) Normal Mode Rejection at 60 Hz (minimum) SSdB 10 Hz Channel Bandwidth 60 milliseconds Settl i ng Ti m e CD Delta-Sigma Modu lation Conversion Method -32768 to + 32767 Voltag e Input Coding (-1 OVDC to + 10VDC - 1 LSB) -16384to + 16384 (-20mA to + 20mA) Current Input Cod ing -24576 to + 24576 (-30mA to + 30mA) CD Refer to Page 3-1 2.
Chapter 6 Specifications 6-10 Catalog No. 1746-N104 V Ana log Combination 110 Modu le SPECIFICATION DESCRIPTION I Full Scale = 20mA Vem =0 CURRENT MODE INPUT -20mA to + 20mA Input Range (Normal Operation) ... 30mA Absolute Maximum Input Cu rrent ... 7.5 Volts DC or 7.5 Volts AC RM S Absolute Maximum Input Volta ge Input Impedance 250 Ohms Resolution 1.22077f.lA per LSB Overall Accuracy (at + 25°( maximum) ... 0.365% of full scale 0 Overall Accu racy (0 to + 60 ( maximum) ... 0.642% of full scale Overall Accu racy Drift (maximum) ± 79ppmrC of full scale Gain Error (at ... 25°( maximum) ± 0.323% of full scale Gain Error Drift (maximum) ± 67ppmf'C of full scale Offset Error (at ... 25°( max.) ((in:;. 0, Vern::: 0) ::!:: 7 LSB 0 Offset Error (0 to + 60 ( max.) (lin = 0, Vern = 0) ± 14 LSB Offset Error Drift (maxi mum) (li n = 0, Vcm = 0) ± 0.2 LSBr C Full Scale = 10 Volts VOLTAGE MODE INPUT Vem = 0 Input Range ± 10VoitsOC Input Impedance 1Mohm Resolution 305.17611V per LSB Overall Accuracy (at + 25°( maximum) ± 0.284% of full scale 0 Overall Accuracy (0 to + 60 ( maximum) ± 0.504% of full scale Overall Accuracy Drift (maximum) + 63ppmr C of full scale Gain Error (at + 25°( maximum) ± 0.263% % of full scale Gain Error Drift(maximum) ± 57ppmr C of full scal e Overvoltage Protection 220 Volts AC RMS continuously (maximum across IN + to IN - terminals) Offset Error (at + 25°C max.) (Vin ::: 0, Vem - 0) ± 7 LSB 0 Offset Error (0 to + 60 ( max.) (Vin _ 0, Vcm _ 0) ± 14 LSB Offset Error Drift (maximum) (Vin = 0, Vem = 0) ± 0.2 LSBr C
Chapter 6 Specifications 6-11 Catalog No. 1746·NI04V Analog Combi nation 110 Module DESCRIPTION SPECIFICATION VOLTAGE OUTPUT GENERAL Converter Resolution 14 Bit Location of LSB in 1/0 image word 0000000000000' XX Non·linearity 0,05% Conversion Method R·2R Ladder Maximum Load 1K Ohms Maximum Load Current 10mA Maximum Load Reactance '"F Voltage Output Coding (·1 OVDC to + 1 OVOC . 1 LSB) ·32768 to + 32764 VOLTAGE OUTPUT Full Scale = -10 Vo ltsDCto + 10 Vo lts DC Output Range (Normal) ·1 OVOC to + 10VO(' 1 LSB Resolution 1.22070mV per LSB Overall Accuracy (at + 25°C maximum) ± 0.195% of full scale ± 0.384% of full scale Overall Accuracy (0 to + 60°C maximum) ± S4ppmf'C of full scale Overall Accuracy Drift (maxi mum) Gain Error (at + 25°C maximum) ± 0.208% of full scale Gain Error Drift (maximum) ± 47ppmf'C of full scale Offset Error (at + 25c C maximum) ± 9 LSB ± 11 LSB Offset Error (0 to + 60°C maximum) ± 0.05 LSBI"C Offset Error Drift (maximum)
Appendix Definitions A The following are commonly used definitions in this manual. Common Mode Rejection For analog inputs, the maximum level to which a common mode input voltage appears at the input value read by the processor, Expressed in dB. Common Mode Voltage For analog inputs, the voltage difference between the negative terminal and analog common during normal differential operation. Common Mode Voltage Range For analog inputs, the largest voltage difference allowed between either the positive or negative terminal and analog common during normal differential operation. Differential Operation When an ana log input is represented by the difference in voltage between a positive terminal and a negative terminal. Differential Voltage The voltage of the positive input terminal (IN +), with respect to the negative input terminal (IN-). Differential Input Voltage Range The largest voltage difference allowed between the negative terminal and positive terminal during normal differential operation. Gain Error The "gain" of an analog input or output is that scale factor that provides the nominal conversion relationship. It is the slope of the line when analog voltage or current is plotted or graphed versus the corresponding digital codes. Gain error is the deviation of the scale factor or slope of the line from the ideal or nominal value. Gain error is expressed in percent of the input or output value. Gain Error Drift The effect of tempera ture on gain error is expressed by gain error drift. As temperature varies from + 25°C, the possible gain error increases. The gain error drift is specified in percent of input or output value 1°C. /
Appendix A Definitions A-2 LSB (Least Significant Bit) In a system where numerical magnitude is represented by a series of binary digits, the "least significant bit" (LSB) is the digit (or bit) that carries the smallest value or weight. For the analog modules, 16-bit 2's complement codes are used in the VO image in the card. For analog inputs, the LSB is defined as the "rightmost" bit, bit 0, of the 16-bit field. For analog outputs, the two "rightmost" bits are not significa nt, and the LSB is defined as the third bit from the right, bit 2, of the 16-bit field. Linearity Error The analog output will be composed of a series of voltage/current values corresponding to the digital codes written to that output channel. For an ideal analog ou tput, the values would lie in a straight line spaced by a voltage/current corresponding to 1 LSB. Any deviation of the actual output value from this line is the linearity error of the output. For an analog input the same definition applies. The voltage/current points that cause transitions to successive digital codes for an ideal input wou ld lie in a straight line. The deviation from this line is the linearity error of the input. The linearity is expressed in percent of full scale • input or output. Offset Error For analog inputs, the offset error is the non-zero digital code when zero voltage or zero current is applied to the input terminals. For analog outputs, the offset error is the non zero digital code required to produce zero voltage or current at the output terminals. Offset Error Drift The effect of temperature on offset error is expressed by offset error drift. As temperature varies from + 25°C, the possible offset error increases. The offset error drift is specified in LSB / °c. Overall Accuracy The worst case deviation of the output voltage or current from the ideal over the fu ll output range is the overall accuracy. For inputs, the worst case deviation of the digital representation of the input signal from the ideal over the full input range is the overall accuracy. Gain error, offset error, and linearity error all contribute to input and output channel accuracy. The overall accuracy is expressed in percent of full voltage
Two's Complement Appendix 8 Binary Numbers Two's Complement The SLC 500 processor memory stores 16-bit binary Binary Numbers 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. As indicated in the figure below, each position in the number has a decimal value, beginning at the right with 20 and ending at the left with 215. or 1 in the processor memory. A 0 Each posi tion can obe 0 ; a 1 indicates the decimal value of the indicates a value ro position. The equivalent decimal value of the bina ry number is the sum of the position values. Positive Decimal Values: The far left position will always be 0 for positive values. As indicated in the figure, this limits the maximum positive decimal value to 32767 (all positions are 1 except the far left position). Other examples: 0000100100001110 = 211+28+23+22+21 = 2048+256+8+4+2 = 2318 = 213 +29 +28+25 +23 0010001100101000 = 8192+512+256+32+8= 9000 0 ,-- 1, Z14 15384 15384 - I~ZI3 ~ 819Z 8 192 r-- lxZ 12 = 4095 4096 r- h211 = 2048 2048 hZ 10 0 - 10Z4 1024 r-- lx2 9 = 512 512 - lxZ 8 = 256 256 -hZ 7 0 128 128 r-- hZ 6 = 64 64 - 1x25 = 32 32 r-- l x24 = 16 16 -hZ3 0 8 8 - 1~22 4 4 ,-- 1, 21 ~ 2 2 h2 0 ~ 1 32767 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 I I 0 .. '----- Ox 2 15 0 0 ThiS position 15 always zero for positive numbers