Allen-Bradley SLC 500 User Manual

4-channel analog i/o modules
Hide thumbs Also See for SLC 500:
Table of Contents

Advertisement

Allen-Bradley SLC 500 User Manual

Advertisement

Table of Contents
loading

Summary of Contents for Allen-Bradley SLC 500

  • Page 1 Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT • FAST SHIPPING AND DELIVERY Experienced engineers and technicians on staff Sell your excess, underutilized, and idle used equipment at our full-service, in-house repair center We also offer credit for buy-backs and trade-ins •...
  • Page 2 SLC™ 500 4-Channel Analog I/O Modules (Catalog Numbers 1746-NI4, 1746-NIO4I, 1746-NIO4V, 1746-NO4I, and 1746-NO4V) User Manual Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 3 Important User Information Solid state equipment has operational characteristics differing from those of electromechanical equipment. Safety Guidelines for the Application, Installation and Maintenance of Solid State Controls (Publication SGI-1.1 available from your local Rockwell Automation sales office or online at http://www.ab.com/manuals/gi) describes some important differences between solid state equipment and hard-wired electromechanical devices.
  • Page 4 Summary of Changes The information below summarizes the changes to this manual since the last printing. To help you find new and updated information in this release of the manual, we have included change bars as shown to the right of this paragraph.
  • Page 5 Summary of Changes Publication 1746-UM005B-EN-P - June 2004 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 6: Table Of Contents

    Table of Contents Preface Who Should Use this Manual..... . . P-1 Purpose of this Manual ......P-1 Related Documentation .
  • Page 7 Testing Your Module Testing the SLC 500 System ......5-1 Start-up Procedures ......5-1 Inspect the Analog Module.
  • Page 8 Table of Contents Calculating the Shifted Linear Relationship ..6-15 Using Standard Math ......6-16 Using the Scale with Parameters (SCP) Instruction .
  • Page 9 Table of Contents Publication 1746-UM005B-EN-P - June 2004 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 10: Preface

    This manual describes the procedures you use to install, wire, and troubleshoot your 4-channel analog I/O module. This manual: • explains how to install and wire your module • gives you an overview of the SLC 500 programmable controller system Refer to your programming software user documentation for more information on programming your SLC 500 programmable controller.
  • Page 11: Related Documentation

    Read this Document Document Number In-depth information on the SLC Instruction Set. SLC 500 Instruction Set Reference Manual 1747-RM001 A description on how to install and use your Modular SLC 500 SLC 500 Modular Hardware Style User 1747-UM011 programmable controller. Manual A description on how to install and use your Fixed SLC 500 SLC 500 Fixed Hardware Style Installation &...
  • Page 12: Common Techniques Used In This Manual

    Preface If you would like a manual, you can: • download an electronic version from the internet at: – www.theautomationbookstore.com – http://ab.com/manuals • order a printed manual by: – contacting your local distributor or Rockwell Automation representative – visiting www.theautomationbookstore.com –...
  • Page 13 Preface Publication 1746-UM005B-EN-P - June 2004 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 14: Overview

    Chapter Overview This chapter describes how analog is used and provides two application examples of analog. The types of available analog modules and their related specifications are also described. How to Use Analog Analog refers to the representation of numerical quantities by the measurement of continuous physical variables.
  • Page 15: 1746-Ni4 Analog Input Module

    Overview 1746-NI4 Analog Input Module The 1746-NI4 Analog Input module contains 4 analog input channels that are user selectable per channel for voltage or current to support a variety of monitoring and controlling applications 1746-NIO4I and NIO4V Analog Combination Modules The NIO4I and NIO4V Analog Combination I/O modules provide two input and two output channels in a single slot module.
  • Page 16: Quick Start For Experienced Users

    Chapter Quick Start for Experienced Users This chapter can help you to get started using analog. The procedures are based on the assumption that you have an understanding of SLC 500 products. You should understand electronic process control and be able to interpret the ladder logic instructions required to generate the electronic signals that control your application.
  • Page 17: Procedures

    SLC 500 Modular Hardware Style User Manual (publication 1747-UM011) or the SLC 500 Family System Overview (publication 1747-SO001). Appendix A (Specifications) • For fixed SLC 500 controllers, refer to the SLC 500 Fixed Hardware Style Installation & Operation Manual (publication 1747-6.21). Catalog Number Backplane Current Draw...
  • Page 18 • in a slot away from ac or high voltage dc modules Wiring Your Analog Module) • in the chassis closest to the bottom of the enclosure where the SLC 500 system is installed • away from the chassis power supply if installed in a modular system...
  • Page 19 Quick Start for Experienced Users Make sure system power is off; then insert the analog module into your 1746 chassis. In this example procedure, local slot 1 is selected. Top and Bottom Module Release(s) Card Guide Wire the module. Reference Important: Follow these guidelines when wiring the module.
  • Page 20 Quick Start for Experienced Users analog IN 0 + source IN 0 earth ANL COM ground IN 1 + analog IN 1 source ANL COM earth IN 2 + ground IN 2 ANL COM Jumper unused IN 3 + inputs. IN 3 ANL COM NIO4I &...
  • Page 21 Quick Start for Experienced Users Configure system I/O configuration. Reference Configure your system I/O configuration for the particular slot the analog module is in. When Chapter 4 assigning an I/O module to a slot location, select the module from the displayed list. If not listed, (Module select OTHER at the bottom of the list and enter the module’s ID code at the prompt.
  • Page 22 Quick Start for Experienced Users Understanding analog inputs. Reference Analog inputs convert current and voltage signals into 16–bit (max.) integer values and place Chapter 4 them in the input image for the slot that the analog module resides in. (Module Operation and System Considerations)
  • Page 23 Quick Start for Experienced Users Understanding analog outputs. Reference Analog outputs convert 16-bit integer values placed in the output image to voltage or current Chapter 4 signals for the slot that the analog card is in. (Module Operation and System Considerations) Address 1746-NO4 1746-NI04I, -NI04V...
  • Page 24: Installing And Wiring Your Analog Module

    To obtain the maximum performance from an analog module, proper module installation is imperative. This chapter describes the procedures that you must follow to install the analog module in an SLC 500 system. The following items are described: • European Union Directive Compliance • determining your power requirements •...
  • Page 25: Determining Your Power Requirements For A Modular Controller

    24V dc power supply connections. The 24V dc user power connection on a fixed SLC 500 can power an NO4I or NO4V analog module. However, the regulation of the 24V dc user connection on a modular SLC 500 power supply, Catalog Number 1746-P1, -P2, -P4 is outside of the requirements of the NO4I and NO4V analog modules and cannot be used.
  • Page 26 Installing and Wiring Your Analog Module NIO4I NIO4V NO4I NO4V • • • • ∇ • • • • ∇ • • • • IA16 ∇ • • • • ∇ • • • • ∇ • • • • IM16 ∇...
  • Page 27 The 24V dc user power connection on a fixed SLC 500 can power an NO4I or NO4V analog module. However, the regulation of the 24V dc user connection on a modular SLC 500 power supply, Catalog Number 1746-P1, -P2, and -P4 is outside of the requirements of the NO4I and NO4V analog modules and cannot be used.
  • Page 28: Configuring Your Module

    Installing and Wiring Your Analog Module Configuring Your Module The NI4, NIO4I and NIO4V analog modules have user selectable DIP switch settings which allow you to configure the input channels as either current or voltage inputs. The switches are located on the analog module board.
  • Page 29: External Power Switch For The 1746-No4I And -No4V

    Switch orientation is also provided on the nameplate of the module. The 24V dc user power connection on a fixed SLC 500 can power an NO4I or NO4V analog module. However, the regulation of the 24V dc user connection on a modular SLC 500 power supply, Catalog Number 1746-P1, -P2, is outside of the requirements of the NO4I and NO4V analog modules and cannot be used.
  • Page 30: Removing The Analog Module Terminal Block

    Installing and Wiring Your Analog Module Never install, remove, or wire modules with power ATTENTION applied to the chassis. Also, do not expose analog modules to surfaces or other areas that may typically hold an electrostatic charge. Electrostatic charges can destroy the analog circuitry.
  • Page 31: Wiring Considerations

    Belden cable, and how to determine the cable length. Before wiring any analog module, disconnect power ATTENTION from the SLC 500 system and from any other source to the analog module. Publication 1746-UM005B-EN-P - June 2004 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 32: System Wiring Guidelines

    Installing and Wiring Your Analog Module System Wiring Guidelines Use the following guidelines in planning the system wiring for the analog modules: • all analog common terminals (ANL COM) are electrically connected inside the module. ANL COM is not connected to earth ground inside the module.
  • Page 33: Determining The Cable Length

    Before wiring any analog module, disconnect power ATTENTION from the SLC 500 system and from any other source to the analog module. To wire your analog module follow these steps and refer to the illustrations on the next page.
  • Page 34 Installing and Wiring Your Analog Module 3-11 5. At End 2, cut the drain wire and foil shield back to the cable and apply shrink wrap. 6. Connect the signal wires (black and clear) to the terminal block and the input and output devices. The recommended maximum torque is 5 lb.-in (0.565 NM) for all terminals.
  • Page 35: Labeling And Installing The Terminal Block

    3-12 Installing and Wiring Your Analog Module Labeling and Installing the The terminal block has a write-on label. Labeling the terminal block will help ensure that it is installed on the correct module. Terminal Block SLOT ____ RACK ____ MODULE _____ Note: The black dot on the terminal block label indicates the position of terminal 0.
  • Page 36 Installing and Wiring Your Analog Module 3-13 analog IN 0 + source – IN 0 – earth ANL COM ground IN 1 + analog IN 1 – source ANL COM – earth IN 2 + ground IN 2 – Jumper unused ANL COM inputs.
  • Page 37: Wiring Schematics For 2, 3, And 4-Wire Analog Input Devices

    3-14 Installing and Wiring Your Analog Module Wiring Schematics for 2, 3, and 4-Wire Analog Input Devices Important: The module does not provide loop power for analog inputs. Use a power supply that matches the transmitter specifications. 2-Wire Transmitter Transmitter –...
  • Page 38: Wiring Schematic For Single-Ended Analog Input Connections

    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: •...
  • Page 39 We recommend periodically checking system operation, particularly when new machinery or other noise sources are installed near the SLC 500 system. For further details on system installation and startup refer to: • SLC 500 Modular Hardware Style User Manual (publication 1747-UM011) •...
  • Page 40: Interface Between The Module And The Processor

    This chapter describes: • Interface between the Module and Processor • System Considerations Interface between the This section describes how to set up an analog module in a SLC 500 system. Module and the Processor Entering Module ID Codes When configuring an analog module for an SLC 500 system using your programming software, a list of the different I/O modules, including the analog modules, is most likely provided for you.
  • Page 41: Addressing Analog Modules

    Module Operation and System Considerations Addressing Analog Modules NI4 - Each input channel of the NI4 is addressed as a single word in the input image table. The NI4 uses a total of 4 words in the input image table. The converted values from channels 0 through 3 are addressed as input words 0 through 3 respectively for the slot where the module resides.
  • Page 42 Module Operation and System Considerations The following illustration shows I/O addressing for the analog modules. SLC 500 SLC 5/01 or 5/02 Data Files Output Image 1746-NI4 Address Analog Input Module Input Input Channel 0 Word 0 I:e.0 Image Input Input...
  • Page 43: Bit Level Addressing

    Module Operation and System Considerations Bit Level Addressing The following bit maps show bit level addressing for the analog inputs and outputs. The input channel converter resolution is 16 bits, or 1 word. The output channel converter resolution is 14 bits and is loaded from the most significant 14 bits of the associated output word.
  • Page 44: Processor Update Of Analog Data

    Module Operation and System Considerations Processor Update of Analog Data The analog input and output data is updated by the processor once during each scan of the user program. The table below shows typical analog update scan times and the number of input and output bits for the specified modules.
  • Page 45: Converting Analog Input Data

    Module Operation and System Considerations If you are using the Hand-Held Terminal (HHT) or the Data Table Access Module (DTAM) to monitor input and output data, the binary ™ radix is the only available option. To view the analog input and output data in decimal radix, the data must be moved to an integer data file.
  • Page 46: Converting Analog Output Data

    Module Operation and System Considerations To determine an approximate current that an input value represents, you can use the following equation: 20 mA × input value = input current (mA) 16,384 The Input Value is the decimal value of the word in the input image for the corresponding analog input.
  • Page 47 Module Operation and System Considerations Voltage Range Decimal Number of Resolution per Representation for Significant Output Word Bits -10 to +10V dc -32,768 to +32,764 14 bits - 1LSB 1.22070 mV 0 to +10V dc 0 to +32,764 13 bits - 1LSB 0 to 5V dc 0 to +16,384...
  • Page 48: System Considerations

    • input channel filtering Safe State for Outputs Whenever an SLC 500 system is NOT in the RUN mode, the outputs on the analog module are automatically forced to 0 Volts or 0 mA by the SLC 500 system. This occurs when the processor is in the: •...
  • Page 49: Retentive Analog Output Example

    4-10 Module Operation and System Considerations fault. Once the fault condition is corrected and the major fault bit in the processor is cleared, the retained data is sent to the analog output channels. If you choose not to use the retentive programming option, retained data is not sent to the output channels.
  • Page 50: Non-Retentive Analog Output Example

    However, if this feature is critical to a specific application, you can program the processor to provide this function. The following program applies to all SLC 500 processors. The program shows two compare instructions that check for analog input values Publication 1746-UM005B-EN-P - June 2004 Artisan Technology Group - Quality Instrumentation ...
  • Page 51 4-12 Module Operation and System Considerations which exceed low and high limits respectively. For this example, the analog input value is in word 1 of slot 1 (I1:1.1). Whenever the input value exceeds a limit, this program latches a binary variable in memory that could serve as an alarm indication at some other point in the program.
  • Page 52: Response To Slot Disable

    Module Operation and System Considerations 4-13 Response to Slot Disable You have the ability to disable any slot in the chassis using the processor. Before disabling any slot containing an analog module, it is important to consider how the analog module will respond when the slot is disabled.
  • Page 53: Input Channel Filtering

    4-14 Module Operation and System Considerations Input Channel Filtering The input channels for all of the analog modules 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.
  • Page 54 Module Operation and System Considerations 4-15 If power line noise is coupling into the input signal through the input cable, the proper use of differential inputs reduces the effect of noise. With differential inputs, noise couples into both the plus (+) and minus (-) inputs where it is attenuated by over 105 dB (60 Hz common mode rejection).
  • Page 55 4-16 Module Operation and System Considerations Publication 1746-UM005B-EN-P - June 2004 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 56: Testing The Slc 500 System

    Modular Hardware Style User Manual (publication 1747-UM011) before executing the analog module start up procedures. Start-up Procedures Once you have tested your SLC 500 system, follow the steps below in sequence to test your analog module: 1. Inspect the analog module.
  • Page 57: Inspect The Analog Module

    Testing Your Module Inspect the Analog Module Problems can be prevented by inspecting the analog module before installing it in the SLC 500 system. Inspection should include the following steps: 1. Make sure that all voltage/current mode selection DIP switches are set properly (inputs only).
  • Page 58: Power Up The Slc 500 System

    LED is illuminated. The four most probable causes of a non-illuminated LED are: • The SLC 500 system is not receiving power from its power supply. Check the POWER LED on the fixed system unit or the power supply on the modular system.
  • Page 59: Testing Analog Inputs

    Testing Analog Inputs Before testing the analog module input channels, the SLC 500 system must be installed and tested according to the SLC 500 Fixed Hardware Style Installation & Operation Manual (publication 1747-6.21) or the SLC 500 Modular Hardware Style User Manual (publication 1747-UM011).
  • Page 60 Testing Your Module To test the analog inputs follow these steps: 1. Determine the boundary conditions for the analog module input channel. For example, if the input channel is connected to a sensor that has an output range of 1 mA to 5 mA, the boundary conditions would be 1 mA (lower) and 5 mA (upper).
  • Page 61: Testing Analog Outputs

    5 volts. Testing Analog Outputs Before testing the analog module output channels, the SLC 500 system must be installed and tested according to the SLC 500 Modular Hardware Style User Manual (publication 1747-UM011) or the SLC 500 Fixed Hardware Style Installation &...
  • Page 62 Testing Your Module device, properly configured, and must have no rungs in its ladder program. The analog module LED must be illuminated. The procedure described in this section for testing ATTENTION analog module output channels assumes that all I/O module outputs that normally activate prime movers or other potentially dangerous devices have been disconnected from these devices.
  • Page 63 Testing Your Module 3. Create and save the test rung shown below. MOVE Source N7:0 Dest O:e.x "e" is the slot number of the analog module "x" is the number of the analog module output channel being tested 4. Download the program to the processor and enter the RUN mode.
  • Page 64: Addressing, Out-Of-Range Detection, And Scaling Of Analog

    Chapter Programming Examples This chapter shows several programming examples that provide additional capabilities such as: • Addressing, Out-of-Range Detection, and Scaling of Analog Inputs • Addressing and Scaling of Analog Outputs • Scaling Offsets when > 32,767 or < -32,768 •...
  • Page 65: Calculating The Linear Relationship

    Programming Examples The scaling operation is displayed in the following graph. It displays the linear relationship between the input and the resulting scaled values. 500°C (Scaled max.) Scaled Value 300°C Process operating range 275°C 100°C (Scaled min.) 0=0V dc High 32767 = 10V dc –...
  • Page 66: Calculating The Out-Of-Range Flag Using The Scale Instruction

    Programming Examples Calculating the Out-of-Range Flag Using the Scale Instruction Use the following equation to calculate the low and high limit input values which determine the out-of-range flag. Input value = (scaled value - offset) / slope low limit (275 - 100) / (400/32,767) = 14,344 high limit (300 - 100) / (400/32,767) = 16,393 Once you have calculated the linear relationship and the out-of-range flag value, this example allows you to:...
  • Page 67: Using Standard Math

    Programming Examples Using Standard Math Rung 2:0 Check for below allowable range Below range flag | | +LES–––––––––––––––+ |–+LESS THAN +–––––––––––––––––––––––––––––––––––––––––––––––––( )–––––| | |Source A I:1.1| | |Source B 14344| | +––––––––––––––––––+ Rung 2:1 Check for above allowable range Above range flag | | +GRT–––––––––––––––+ |–+GREATER THAN...
  • Page 68 Programming Examples Rung 2:4 Scale the analog input value and process the result only when it is within the acceptible range | Below |Above Multiply | range flag|range flag by the scaled range +MUL–––––––––––––––+ |––––]/[––––––––]/[–––––––––––––––––––––––––––––––––––+–+MULTIPLY +–+–| | |Source A I:1.1| | | | | | | |Source B 400| | |...
  • Page 69: Using The Scale (Scl) Instruction

    Programming Examples Using the Scale (SCL) Instruction Rung 2:0 Check for below allowable range. Below range flag | | +LES–––––––––––––––+ |–+LESS THAN +–––––––––––––––––––––––––––––––––––––––––––––––––( )–––––| | |Source A I:1.1| | |Source B 14344| | +––––––––––––––––––+ Rung 2:1 Check for above allowable range. Above range flag | +GRT–––––––––––––––+...
  • Page 70: Using Scale With Parameters (Scp) Instruction

    Programming Examples Using Scale with Parameters (SCP) Instruction Rung 2:0 Check for below allowable range. Below range flag | +LES–––––––––––––––+ |–+LESS THAN +–––––––––––––––––––––––––––––––––––––––––––––––––( )–––––| | |Source A I:1.1| | |Source B 14344| | +––––––––––––––––––+ Rung 2:1 Check for above allowable range. Above range flag | +GRT–––––––––––––––+...
  • Page 71: Addressing And Scaling Outputs

    We are making the following assumptions: Outputs • The NIO4I is located in slot 2 of a SLC 500 system. • An actuator from a flow control valve is wired to output channel • The actuator accepts a 4 mA to 20 mA signal proportional to 0 to 100% of the valve’s opening.
  • Page 72 MOVing it to an LED display Since the slope is greater than 3.2767 only standard math can be used for the ladder diagram with SLC 500 fixed, SLC 5/01, 5/02, 5/03 (OS300 or OS301), and 5/04 (OS400) processors. The ladder diagram prevents a processor fault by unlatching the mathematical overflow bit S2:5/0 before the end of the scan.
  • Page 73: Using Standard Math

    6-10 Programming Examples Using Standard Math Rung 2:0 N7:0 contains percentage of valve open. If this value is less than 0, move the minimum value to the analog output (6242 decimal = 4 mA at the analog output). Check for Below below range flag...
  • Page 74 Programming Examples 6-11 Rung 2:2 Scale values in the 0 to 100% range to the decimal range for the 4–20 mA analog output. | Below |Above Mulitply | range flag|range flag by scaled range +MUL–––––––––––––––+ |––––]/[––––––––]/[–––––––––––––––––––––––––––––––––––+–+MULTIPLY +–+–| | |Source A N7:0| | | 0| | | | |Source B...
  • Page 75: Using The Scale With Parameters (Scp) Instruction

    6-12 Programming Examples Using the Scale with Parameters (SCP) Instruction Rung 2:0 N7:0 contains percentage of valve open. If this value is less than 0, move the minimum value to the analog output (6242 decimal = 4 mA at the analog output). Check for Below below...
  • Page 76 Programming Examples 6-13 Rung 2:2 Scale values in the 0 to 100% range to the decimal range for the 4–20 mA analog output. | Below |Above | range flag|range flag +SCP––––––––––––––––––––+ | |––––]/[––––––––]/[––––––––––––––––––––––––––––––––––+SCALE W/PARAMETERS +–| |Input N7:0| | 0| | |Input Min.
  • Page 77: Scaling Offset When > 32,767 Or < -32,768

    6-14 Programming Examples Scaling Offset when There may be applications when the offset value put into standard math instructions is greater than 32,767 or less than -32,768. In these > 32,767 or < -32,768 cases, it is easier to shift the linear relationship along the input value axis and reduce the values.
  • Page 78: Calculating The Shifted Linear Relationship

    Scaled value = ((input value - 90) x (24,966/10)) + 6242 Since the slope is greater than 3.2767, only standard math can be used for the ladder diagram with SLC 500 fixed, SLC 5/01, 5/02, 5/03 (OS300 and 301) and 5/04 (OS400). The following ladder diagram prevents a processor fault by unlatching the mathematical overflow bit S2:5/0 before the end of the scan.
  • Page 79: Using Standard Math

    6-16 Programming Examples Using Standard Math Rung 2:0 N7:0 contains the percentage of the valve open. Check for below range | +LES–––––––––––––––+ |–+LESS THAN +––––––––––––––––––––––––––––––––+––( )–––––––––––––––––+–| | |Source A N7:0| | |Source B | +––––––––––––––––––+ | +MOV–––––––––––––––+ | | +–+MOVE +–+ | |Source 6242|...
  • Page 80 Programming Examples 6-17 Rung 2:2 Scale values in the 90–100% range to the decimal range for the 4–20 mA analog output. Subtract the input min. +SUB–––––––––––––––+ |––––]/[––––––––]/[–––––––––––––––––––––––––––––––––––+–+SUBTRACT +–+–| | |Source A N7:0| | | 0| | | | |Source B 90| | | | | | | |Dest...
  • Page 81: Using The Scale With Parameters (Scp) Instruction

    6-18 Programming Examples Using the Scale with Parameters (SCP) Instruction Rung 2:0 N7:0 contains percentage of valve open. If this value is less than 90, move the minimum value to the analog output (6242 decimal = 4 mA at the analog output). Check for Below below...
  • Page 82 Programming Examples 6-19 Rung 2:2 Scale values in the 90 to 100% range to the decimal range for the 4–20 mA analog output. | Below |Above Scale for the analog output | range flag|range flag +SCP––––––––––––––––––––+ | |––––]/[––––––––]/[––––––––––––––––––––––––––––––––––+SCALE W/PARAMETERS +–| |Input N7:0| | 0| |...
  • Page 83: Scaling And Range Checking And Analog Inputs And Outputs

    An Checking and Analog NIO4V is placed in slot 1 of an SLC 500 system. A 0 to 200 psi Inputs and Outputs pressure sensor is input as a 4 mA to 20 mA signal to input channel 0.
  • Page 84: Calculating The Linear Relationship

    This equation can be implemented using integer math capabilities of the SLC 500 system. Three example programs are shown. The first runs on any SLC 500 processor and the second uses the scaling instruction available on the SLC 5/02 and later processors. The third...
  • Page 85: Using Standard Math Instructions

    6-22 Programming Examples Using Standard Math Instructions Rung 2:0 Check for below range. | +LES–––––––––––––––+ |–+LESS THAN +––––––––––––––––––––––––––––––––+––( )–––––––––––––––––+–| | |Source A I:1.0| | |Source B 3277| | +––––––––––––––––––+ | +MOV–––––––––––––––+ | | +–+MOVE +–+ | |Source |Dest O:1.0| +––––––––––––––––––+ Ladder logic continued on the next page.
  • Page 86 Programming Examples 6-23 Rung 2:1 Check for above range. | +GRT–––––––––––––––+ |–+GREATER THAN +––––––––––––––––––––––––––––––––+––( )–––––––––––––––––+–| | |Source A I:1.0| | |Source B 16384| | +––––––––––––––––––+ | +MOV–––––––––––––––+ | | +–+MOVE +–+ | |Source 8192| |Dest O:1.0| +––––––––––––––––––+ Rung 2:2 Scale the analog input for the analog output. Multiply by the scaled range...
  • Page 87: Scaling And Range Checking Of Analog Inputs And Outputs

    6-24 Programming Examples Scaling and Range The scaling instruction available in the SLC 5/02 processor is used to realize a more efficient program. The scaling instruction uses the same Checking of Analog Inputs multiply, divide and add algorithm but it does so with a single rate and Outputs instead of the scaled range and input range values.
  • Page 88: Using Scl Instruction

    Programming Examples 6-25 Using SCL Instruction Rung 2:0 Check for below range. | +LES–––––––––––––––+ |–+LESS THAN +––––––––––––––––––––––––––––––––+––( )–––––––––––––––––+–| | |Source A I:1.0| | |Source B 3277| | +––––––––––––––––––+ | +MOV–––––––––––––––+ | | +–+MOVE +–+ | |Source |Dest O:1.0| +––––––––––––––––––+ Rung 2:1 Check for above range.
  • Page 89: Using The Scale With Parameters (Scp) Instruction

    6-26 Programming Examples Using the Scale with Parameters (SCP) Instruction Rung 2:0 Check for below range. | +LES–––––––––––––––+ |–+LESS THAN +––––––––––––––––––––––––––––––––+––( )–––––––––––––––––+–| | |Source A I:1.0| | |Source B 3277| | +––––––––––––––––––+ | +MOV–––––––––––––––+ | | +–+MOVE +–+ | |Source |Dest O:1.0| +––––––––––––––––––+...
  • Page 90: Preventative Maintenance

    The printed circuit boards of the analog modules must be protected from dirt, oil, moisture and other airborne contaminants. 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.
  • Page 91: Safety Considerations When Troubleshooting

    Unexpected machine motion could occur. Use a wooden stick. Stand Clear of Machine - When troubleshooting any SLC 500 system problem, have all personnel remain clear of the machine. The problem could be intermittent, and sudden unexpected machine motion could occur.
  • Page 92: Analog Modules Specification

    Appendix Specifications Analog Modules This section lists the specifications for the 1746-NI4, NIO4I, NIO4V, NO4I and NO4V analog modules. They include: Specification • General specifications • Current and Voltage input specifications • Current and Voltage output specifications General Specifications for NI4, NIO4I, NIO4V, NO4I, Specification Value...
  • Page 93: Nio4V

    Specifications General Analog Input Catalog 1746- Input Channels per Output Channels per Backplane Current Draw External 24V dc Power Module Module Supply Tolerance 5V (max.) 24V (max.) 4 differential, voltage or 35 mA 85 mA current selectable per channel, not individually isolated NIO4I 2 differential, voltage or...
  • Page 94: Current-Loop Input Specifications For Ni4, Nio4I, And Nio4V

    Specifications Current-Loop Input Specifications for NI4, Specification 1746-NI4, -NI04I, -NIO4V NIO4I, and NIO4V Input Range (Normal Operation) -20 to +20 mA Absolute Maximum Input Current -30 to +30 mA Absolute Maximum Input Voltage ±7.5V dc or 7.5V ac RMS Current Input Coding -20 to +20 mA -16,384 to +16,384 Input Impedance 250 Ohms...
  • Page 95: Voltage Input Specifications For Ni4, Nio4I, And Nio4V

    Specifications Voltage Input Specifications for NI4, NIO4I, and NIO4V Specification 1746-NI4 1746-NI04I, -NI04V Input Range -10 to +10V dc - 1 LSB Voltage Input Coding (-10 to +10V dc - 1 LSB) -32,768 to +32,767 Input Impedance 1M ohms 760K ohms Resolution 305.176 µV per LSB Full Scale...
  • Page 96: Current Output Specifications For Nio4I And No4I

    Specifications Current Output Specifications for NIO4I Specification 1746-NI04I, -N04I and NO4I Converter Resolution 14 bit Location of LSB in I/O image word 0000 0000 0000 01XX Non–linearity 0.05% Conversion Method R-2R Ladder Step Response 2.5 ms (at 95%) Load Range 0 to 500 Ohms Maximum Load Reactance 100 µH...
  • Page 97: Voltage Output Specifications For Nio4V And No4V

    Specifications Voltage Output Specifications for NIO4V Specification 1746--NIO4V, -N04V and NO4V Converter Resolution 14 bit Location of LSB in I/O image word 0000 0000 0000 01XX Non–linearity 0.05% Conversion Method R-2R Ladder Step Response 2.5 ms (at 95%) 1K to ∞ Ohms Load Range Maximum Load Current 10 mA...
  • Page 98: Positive Decimal Values

    Appendix 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.
  • Page 99: Negative Decimal Values

    Two’s Complement Binary Numbers 14 = 16384 16384 13 = 8192 8192 12 = 4096 4096 11 = 2048 2048 10 = 1024 1024 32767 15 = This position is always zero for positive numbers Negative Decimal Values In two’s complement notation, the far left position is always 1 for negative values.
  • Page 100 Two’s Complement Binary Numbers 14 = 16384 16384 13 = 8192 8192 12 = 4096 4096 11 = 2048 2048 10 = 1024 1024 32767 15 = This position is always 1 for negative numbers Publication 1746-UM005B-EN-P - June 2004 Artisan Technology Group - Quality Instrumentation ...
  • Page 101 Two’s Complement Binary Numbers Publication 1746-UM005B-EN-P - June 2004 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 102: Calibrating An Analog Input Channel

    Appendix Optional Analog Input Software Calibration This appendix helps you calibrate an analog input channel using software offsets to increase the expected accuracy of an analog input circuit. Examples of equations and a ladder diagram are provided for your reference. A software calibration reduces the offset error and gain error at a given temperature by scaling the values read at calibration time.
  • Page 103: Calculating The Software Calibration

    Offset = Scaled min. - (input min. x slope) Procedure 1. Place your SLC 500 system in the normal operating temperature. Ensure that adjacent I/O modules in your system do not cause temperature fluctuations. For example, place high power and random load I/O modules away from your analog input module.
  • Page 104 Optional Analog Input Software Calibration 4. Using an analog input calibration source or your system’s input device placed at the 20 mA position, capture the high value by energizing the calibrate high input. Ensure that your high value lies within the conversion range of your analog input. 5.
  • Page 105 Optional Analog Input Software Calibration Example Ladder Diagram The following ladder diagram requires 3 external inputs that are used to perform the calibration procedure. Lo causes the ladder to capture the 4 mA calibration value and Hi causes the ladder to capture the 20 mA calibration value.
  • Page 106 Optional Analog Input Software Calibration Rung 2:0 | Cal_Lo N10:0 +MOV---------------+ | |----] [------[OSR]---------------------------------------+MOVE |Source ANALOG_IN| | 8000| | |Dest LO_VALUE| | 3267| | +------------------+ | Rung 2:1 | Cal_Hi N10:0 +MOV---------------+ | |----] [------[OSR]---------------------------------------+MOVE |Source ANALOG_IN| | 8000| | |Dest HI_VALUE| | 16396| |...
  • Page 107 Optional Analog Input Software Calibration | +MUL--------------------+ | | +-+MULTIPLY +-+ | | |Source A LO_VALUE| | | 3267| | | | |Source B SLOPE_X10K| | | 9983| | | | |Dest N10:5| | | 32767| | | | +-----------------------+ | | | +DDV---------------+ +-+DOUBLE DIVIDE +------+ |...
  • Page 108 Appendix Module Input and Output Circuits 380K (NI4 Series B module) 500K (NI4 Series A module) Input Circuit for 1746-NI4, -NIO4I, and -NIO4V Modules 380K (NI4 Series B module) 500K (NI4 Series A module) .001 µ F IN – > S1, S2 –...
  • Page 109 – Isolation A to D Converter 500KΩ 500KΩ Interface Circuit A to D Converter Connection +18V Circuit for SLC 500 Current Output 50Ω System – D to A Converter ANL COM D to A Converter 120Ω – Circuit for 30KΩ...
  • Page 110 Index Numerics Converting Analog Input Data Converting Analog Output Data 1746-N04I and N04V Analog Output Current Output Circuit for 1746NIO4I Modules Modules 1746-NI04I and NI04V Analog Combination Modules 1746-NI4 Analog Input Module Disconnect Prime Movers Addressing Analog Modules Addressing and Scaling Outputs equipment needed Calculating the Linear Relationship 6-10...
  • Page 111 Using Standard Math power requirements for a modular Using the Scale with Parameters (SCP) controller 6-18 Instruction PowerUp the SLC 500 System startup instructions Processor Update of Analog Data system start-up procedures publications, related terminal block Quick Start for Experienced Users...
  • Page 112 Index Publication 1746-UM005B-EN-P - June 2004 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 113 Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com...
  • Page 114 Please contact your local Rockwell Automation representative for States return procedure. Allen-Bradley is a registered trademark of Rockwell Automation. SLC and DTAM are trademarks of Rockwell Automation. Belden is a trademark of Belden, Inc. C-UL is a registered trademark of Underwriters Laboratories.
  • Page 115 Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment SERVICE CENTER REPAIRS WE BUY USED EQUIPMENT • FAST SHIPPING AND DELIVERY Experienced engineers and technicians on staff Sell your excess, underutilized, and idle used equipment at our full-service, in-house repair center We also offer credit for buy-backs and trade-ins •...

Table of Contents