Flex i/o 220v ac digital input and output modules (20 pages)
Summary of Contents for Allen-Bradley SLC 500 1746–FIO4I
Page 1
ALLEN-BRADLEY SLC 500 Fast Analog I/O Modules (Catalog Numbers 1746–FIO4I and FIO4V) User Manual AB Parts...
Page 2
Reproduction of the contents of this copyrighted publication, in whole or in part, without written permission of Allen-Bradley Company, Inc. is prohibited. Throughout this manual we make notes to alert you to possible injury to people or damage to equipment under specific circumstances.
Page 3
Using This Manual Using This Manual Using This Manual Read this preface to familiarize yourself with the rest of this manual. It provides information concerning the: contents of this manual intended audience concept of analog control common terminology definition of terms related publications Contents of this Manual This manual helps you install the following fast analog I/O modules...
Page 4
Using This Manual Intended Audience We assume that you have a working knowledge of the SLC 500 family of processors and related products. If you do not, obtain the proper training from your local sales or distributor office. Concept of Analog Control Analog control of a process refers to continuous control, where the signal amplitude varies with time.
Page 5
Using This Manual Glossary For a complete glossary, refer to the Allen-Bradley Industrial Automation Glossary, publication AG-7.1. A/D Conversion Generation of a digital value whose magnitude is proportional to the instantaneous magnitude of an analog signal. Common Mode Rejection The ability of a differential analog input to cancel a common-mode signal, expressed in dB.
Page 6
Using This Manual Gain Error Drift The effect of temperature 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 / C. I/O Rack An assembly that typically holds the processor, power supply, and I/O modules that plug into slots.
Page 7
Using This Manual Offset Error Drift The change in offset error due to the change in temperature. As temperature varies from +25 C, the possible offset error increases. The offset error drift is specified in LSB / C of full scale. Overall Accuracy For outputs, the worst case deviation of the output voltage or current from the ideal over the full output range.
Chapter Quick Start This chapter presents an overview of installation and start-up procedures to help you get the module working quickly. It refers to full procedures in corresponding chapters of this manual or in other SLC documentation that may be helpful if you are unfamiliar with programming techniques or system installation.
Chapter 1 Quick Start Procedures Plan the inclusion of analog I/O modules in your SLC system. Reference If a new system, specify the type of processor, number of I/O racks, I/O modules, and power supply. Worksheet If adding to an existing system: at end of chapter assign modules to slot locations in the I/O rack SLC 500 Overview...
Page 13
Chapter 1 Quick Start For Differential Inputs Module Analog IN 0 + Sensor – IN 0 – ANL COM earth ground IN 1 + Important: Jumper unused inputs IN 1 – ANL COM not used Load OUT 0 ANL COM earth not used ground...
Page 14
Chapter 1 Quick Start Configure system I/O and module ID. Reference With APS, software configure the processor, I/O racks, slots, and I/O modules. Chapter 3 Accessing Files to When assigning an I/O module to a slot location, select the module from the displayed list. Configure I/O If not listed, select Other at the bottom of the list and enter the module’s ID code at the prompt.
Page 15
Chapter 1 Quick Start SLC System Configuration Worksheet 1. Identify the SLC processor. Processor Type SLC 5/03 Operating System SLC 5/01 _______ (from processor label) SLC 5/02 _______ SLC 5/03 _______ >>>> OS300 ____ or OS301 ___ SLC 5/04 _______ 2.
Chapter Installing and Wiring Modules This chapter describes procedures for installing fast analog I/O modules in a SLC 500 system. Procedures include: determining the module’s power requirements determining compatibility with other I/O modules configuring input channels selecting the I/O rack slot installing the module considerations when wiring –...
Chapter 2 Installing and Wiring Modules Determining Compatibility If using the expansion rack of a fixed controller (1747-L20, -L30, and -L40), use the following chart to determine whether other types of I/O with Other I/O Modules modules are compatible with fast analog modules. Compatibility is solely based on current drawn from the backplane.
Chapter 2 Installing and Wiring Modules Configuring Input Channels Your fast analog I/O modules have a 2-switch assembly to configure the input channels for either current or voltage operation. The switches are located on the module’s circuit board. Switch orientation is shown on the nameplate of the module as follows: ON –...
Chapter 2 Installing and Wiring Modules Follow this procedure when installing or removing the module. Verify that input configuration switches 1 and 2 are set correctly. ATTENTION: Take care to avoid connecting a voltage source to a channel configured for current input. This could result in improper module operation or damage to the module.
Chapter 2 Installing and Wiring Modules Considerations When Wiring This section provides guidelines on wiring the system, grounding the cables, determining cable length. ATTENTION: Before wiring the module, disconnect SLC system power, I/O rack power, and module power. System Wiring Guidelines Use the following guidelines in planning the system wiring to the module: analog common terminals (ANL COM) are electrically interconnected inside the module, but not internally connected to earth.
Chapter 2 Installing and Wiring Modules Determining Cable Length When you determine the length of cable required to connect an I/O device, remember to include additional length to route the drain wire and foil shield to earth ground. Route your cable long enough to avoid areas of high radiated electrical noise, but short enough to avoid signal attenuation.
Chapter 2 Installing and Wiring Modules Repeat steps 1 – 6 for each channel. For each unused input channel, jumper together the plus (+), minus (–) and common ( ANL COM) terminals. For each unused output channel, do not connect terminals. Figure 2.3 Cable Preparation Grounded End...
Chapter 2 Installing and Wiring Modules Figure 2.5 Wiring Schematic for Single-ended Current-loop Analog Input Connections (Single-ended inputs are less immune to noise than are differential inputs.) Important: The module does not provide loop power for analog inputs. Use a power supply that matches the transmitter specifications. 2-Wire Transmitter Transmitter –...
Chapter Accessing Files to Configure I/O This chapter explains how to apply Advanced Programming Software (APS) to: Create a new file Configure I/O Return to an existing file We present abbreviated procedures for limited applications. For additional information on applying APS, refer to the User Manual for Advanced Programming Software, publication 1747-6.4.
Page 25
Chapter 3 Accessing Files to Configure I/O Press these two keys in succession: followed by CHANGE FILE [F4] CREATE FILE [F6] You get the following processor selection screen: Type the name of the file you want to create and press [ENTER].
Chapter 3 Accessing Files to Configure I/O Configure I/O To configure your I/O, start with the processor selection screen (shown in step 3 on previous page). Press CONFIGR I/O [F5]. You get the following I/O configuration screen. What you do next depends on what you want to do. If you want to: and your SLC System: Then press:...
Page 27
Chapter 3 Accessing Files to Configure I/O Important: At this point, the software does the following automatically: allocates slot numbers consecutively for the configured set of I/O racks. For example, slots 1-7 if you configured racks 1 and 2 at 4 slots each. places an asterisk (*) next to each slot number configured in steps 3-5.
Chapter 3 Accessing Files to Configure I/O Return to an Existing File If you already created the program file for your application and want to add or edit ladder logic, return to it from the main menu screen as follows: To return to a program file offline, press OFFLINE PRG/DOC [F3] PROGRAM DIRECTORY FOR PROCESSORS...
Chapter Processor and Module Considerations This chapter describes concepts that you need to understand to program the fast analog I/O module in an SLC 500 system. Processor Considerations processor update of analog I/O data monitoring analog I/O data addressing I/O image words Module Considerations resolution of the module’s I/O channel converters converting analog input data...
Chapter 4 Processor and Module Considerations Monitoring Analog I/O Data You can monitor analog input and output data in binary or decimal format with Advanced Programming Software (APS). You select the format by its radix. The default radix is binary. Binary data is presented in 2’s-complement format (see appendix B).
Chapter 4 Processor and Module Considerations Module Considerations The module’s I/O channel converters affect resolution of I/O data and bit usage in I/O image words. We show you how to compute I/O signal levels. Input filtering and input A/D conversion affect input response time. Data Resolution of the Module’s I/O Channel Converters The module’s I/O channel converters limit bit usage to less than a full 16-bit word when converting analog to digital input data and digital to analog output...
Chapter 4 Processor and Module Considerations Converting Analog Input Data The module converts analog input signals to 12-bit binary values for storage in the input image table. The decimal range, number of significant bits, and converter resolution depend on the input range that you use for the channel. Input Range Decimal Range Significant Bits...
Chapter 4 Processor and Module Considerations −10 to +10V dc – 1LSB −32,768 to +32,764 FIO4V 14 bits 0 to 10V dc – 1LSB 0 to 32,764 13 bits 1.22 7 1.22070 mV/LSB V L B 0 to 5V dc 0 to 16,384 12 bits 1 to 5V dc...
Chapter 4 Processor and Module Considerations Input Channel Filtering The module’s input filters are designed to attenuate less than 1% of the input signal in the 0 to 1000 Hz range (Figure 4.3). The –3dB point is approximately 7000 Hz (Figure 4.4). The input filter causes a signal delay of approximately 100us.
Chapter 4 Processor and Module Considerations Time Delay for A/D Conversion The A/D converter uses 7.5 s for data conversion, 248.5 s for data settling, and 256 s for data transfer to the backplane. New data is available in 512 s cycles (Figure 4.5).
Chapter 4 Processor and Module Considerations Safe State for Outputs Whenever an SLC 500 system is not in RUN mode, the analog module’s outputs are automatically forced to 0 volts or 0 milliamps by the SLC 500 system. This occurs when the processor is in one of the following modes: FAULT PROGRAM TEST...
Chapter Writing Ladder Logic This chapter presents the following programming examples; Retentive and Non-Retnetive Programming Detect an Out-of-range Input Scale Analog Inputs and Detect an Out–of–Range Condition Scale Analog Outputs Scale Offsets when > 32,767 or < –32,768 Scale and Range-check Analog Inputs and Outputs PID Control with Analog I/O Scaling Important –...
Chapter 5 Writing Ladder Logic Retain an Analog Output This example loads a program constant into an analog output channel. Consider a digital I/O module in slot 1, and an analog I/O module in slot 2. When bit 0 of the digital I/O module is set, the rung is true, and the full-scale value of 32,764 is moved into the output image table location corresponding to slot 2, analog output channel 0.
1 1 1 Chapter 5 Writing Ladder Logic Detect an Out-of-range Input Analog modules do not provide an input out–of–range signal to the processor. 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.
Chapter 5 Writing Ladder Logic Overview of Scaling Scaling is the application of a ratio on the the variable to be scaled, where the ratio is the scaled range ( y) to the input range ( x). Inputs and Outputs The purpose for scaling values when programming analog I/O modules is to change data format.
1 1 1 Chapter 5 Writing Ladder Logic Scale an Analog Input and The following example shows input range checking and scaling the analog input to engineering units for an FIO4V analog input module. Detect an Out-of-range Condition We are making the following assumptions: The FIO4V is located slot 3 of a modular system.
Chapter 5 Writing Ladder Logic Calculating the Out–of–Range Limits Use the following equation to compute low and high out–of–range limits. Input value = (scaled value – offset) / slope low limit: (275 – 100) / (0.0977) 1750 counts high limit: (300 – 100) / (0.0977) 2750 counts Ladder Logic We present two examples for programming the processor.
1 1 1 Chapter 5 Writing Ladder Logic Example Program Using the Scaling Instruction (SCL) Below-range flag Rung 2:0 B3/0 Check for below range LESS THAN Source A I:3.1 Source B 1750 Above-range flag Rung 2:1 Check for above range B3/1 GREATER THAN Source A...
Chapter 5 Writing Ladder Logic Calculating the Linear Relationship Use the following equations to compute the scaled output value: Scaled value = (input value x slope) + offset Slope = (scaled range) / (input range) = (scaled max. – scaled min.) / (input max. – input min.) = (31208–...
Page 45
1 1 1 Chapter 5 Writing Ladder Logic Example Program for Any SLC Processor Rung 2:0 Set in-range bit B3/0 Rung 2:1 Check for below range LESS THAN MOVE Source A N7:0 Source B Source A 6242 Dest 0:2.0 N7:0 contains B3/0 Rung 2:2 % valve open...
Page 46
Chapter 5 Writing Ladder Logic Scale Offsets Some applications may produce an offset greater than 32,767 or less than –32,768, the largest value that can be stored in a 16-bit integer or When >32,767 or <32,768 processed by an SLC processor. If so, you may reduce the magnitude of the offset by shifting the linear relationship along the input value axis.
1 1 1 Chapter 5 Writing Ladder Logic Now we compute the offset for the shifted linear relationship. Offset = scaled min. – (input min. x slope) = 205 – [0 x (368.5] = 205 The offset is 205, well below 32,767. The slope remains 3685/10 (>...
Chapter 5 Writing Ladder Logic Range-check an Analog This example checks the range of an analog input and scales it for use as an output. An FIO4V is placed in slot 1 of an SLC 500 system. A 4-20 mA Input and Scale It signal representing 0-200 PSI from a pressure sensor is delivered to input For an Output...
1 1 1 Chapter 5 Writing Ladder Logic Ladder Logic We present two examples. The first runs on any SLC 500 processor. The second uses the scaling instruction available on SLC 5/02 (and later) processors. In the first example, the analog input value is checked against the minimum and maximum input limits.
Page 50
Chapter 5 Writing Ladder Logic Example Program for Any SLC Processor Rung 2:0 B3/0 Set in-range bit Rung 2:1 Check for below range LESS THAN MOVE Source A I:1.0 Source B Source Dest N7:0 B3/0 Rung 2:2 Check for above range GREATER THAN MOVE Source A...
Page 51
1 1 1 Chapter 5 Writing Ladder Logic Example Program For SLC 5/02 (or later) Processors Using the scaling instruction (SCL) requires less ladder logic. The SCL instruction uses the same multiply, divide, and add algorithm but it does so with a single rate instead of using scaled range and input range values. The rate is determined by: Rate = slope x 10,000 = (scale range / input range) x 10,000...
Chapter 5 Writing Ladder Logic PID Control With the combination of PID and SCL (scale) instructions or PID and standard math instructions, you can write and display ladder logic in With Analog I/O Scaling engineering units such as PSI or C.
1 1 1 Chapter 5 Writing Ladder Logic Ladder Logic We present two examples of PID control logic with analog I/O scaling for use on an SLC 5/02 (or later) processor: scaled voltage input and output, 0-10V dc scaled current input and output, 4-20 mA Example Program For SLC 5/02 (or later) Processors (scaled voltage input and output) Rung 2:0...
Page 54
Chapter 5 Writing Ladder Logic Example Program For SLC 5/02 (or later) Processors (scaled current input and output) Rung 2:0 +IIM––––––––––––––––––––+ | |––––––––––––––––––––––––––––––––––––––––––––––––––––+IMMEDIATE INPUT w MASK +–| |Slot I:1.0| | |Mask FFFF| | |Length 1| | +–––––––––––––––––––––––+ | Rung 2:1 Scale the analog input with math instructions.
Page 55
1 1 1 Chapter 5 Writing Ladder Logic Brake Monitor Example Program For SLC 5/02 (or later) Processors Rung 2:2 The next 2 rungs ensure that the analog input value to be scaled remains within the limits of 409 and 2047. This prevents out-of-range conversion errors in the SCL and PID instructions.
Chapter Calibrating the Module This appendix helps you calibrate the module’s analog input channels to increase the expected accuracy from 21 LSB of error to 6 LSB. The combination of calibration program and procedure is designed to reduce offset and gain errors by: scaling the values read during calibration applying them during runtime We present example computations and ladder logic for your reference.
Chapter 6 Calibrating the Module Example Calibration Program To maintain calibrated inputs for each channel, you must: add a calibration program for each channel to your application logic calibrate each channel enable the Convert Enable rung (rung 2:4) during runtime The calibration program requires 3 external inputs to calibrate each channel: Lo captures the low calibration value (calibration procedure, step 3) Hi captures the high calibration value (calibration procedure, step 4)
Page 58
Chapter 6 Calibrating the Module Rung 2:0 Cal_Lo I:1.0 N10:0 MOVE [OSR] Source Analog_In 1000 Dest Lo_Value Rung 2:1 Cal_Hi I:1.0 N10:0 [OSR] MOVE Source Analog_In 1000 Dest Hi_Value 2055 Rung 2:2 Calibrate I:1.0 N10:0 [OSR] SUBTRACT Source A Hi_Value 2055 Source B Lo_Value...
Page 59
Chapter 6 Calibrating the Module MULTIPLY Source A Lo_Value Source B Slope_x10K 9897 Dest N10:5 32767 DOUBLE DIVIDE Source 10000 Dest N10:6 SUBTRACT Source A Scale_Lo Source B N10:6 Dest Offset Rung 2:4 Convert Enable During Runtime N10:10 MULTIPLY Source A Analog_In 1000 Source B...
Chapter 6 Calibrating the Module Calibration Procedure Recalibrate every 6 months, or as necessary. Let the module warm up under power for at least 20 minutes at ambient operating temperature. Determine the scaled high and low values you wish to use in your application.
Chapter Testing Module Operation This chapter helps you test the operation of the module’s I/O channels. Testing the SLC 500 System Testing the SLC 500 system is beyond the scope of this manual. We mention it here only because you should test and debug at the system level before testing and debugging the module in the system.
Chapter 7 Testing Module Operation cable shields are properly grounded ATTENTION: Do not attempt to ground the cable at the module’s terminal block. It does not connect to earth ground. Ground the cable at one end only, as described in chapter 2. the module’s terminal block is securely connected you installed the module in its addressed I/O rack slot 2.
Chapter 7 Testing Module Operation The module’s slot in the I/O rack is not operational. Remove power from the SLC 500 system, move the module to another slot, and restore power. Replace the I/O rack if power distribution is faulty. The module is defective.
Chapter 7 Testing Module Operation Display the data in File 2 (Input Image Table). Select the Data Monitor mode of your programming device when viewing I/O point I:1.0. Change the radix of the display to decimal. If the sensor is connected, set it to its lower limit. If the sensor was disconnected from the module’s input channel, attach the replacement voltage or current source and set the source to the lower limit.
Page 65
Chapter 7 Testing Module Operation If the output device controls a potentially dangerous operation or a prime mover, use a voltmeter to test voltage outputs or an ammeter to test current outputs. Note that these meters have some inherent error of their own. If using a meter, disconnect the output device and/or use a substitute load.
Chapter Maintenance and Safety This chapter provides preventive maintenance information and safety considerations when troubleshooting your SLC 500 system. Preventive 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.
Page 67
Chapter 8 Maintenance and Safety When troubleshooting, pay careful attention to this general warning: ATTENTION: Never reach into a machine to actuate a switch since unexpected machine motion can occur and cause injury. Remove all electrical power at the main power disconnect switch before checking electrical connections or inputs/outputs that cause process actuation or machine motion.
Page 68
Appendix Module Specifications General Description The 1746-FIO4I and -FIO4V fast analog I/O modules provide two input and two output channels. Input channels are the same for both types of modules: you select either current or voltage operation for each channel. The 1746–FIO4I module contains two current-output channels, while the 1746–FIO4V module contains two voltage-output channels.
Page 69
Appendix A Module Specifications General Input Specifications Description Specification Converter Resolution 12 bits Converter Type successive approximation Track and Hold Time To Acquire 1.5 µs (nominal) the Analog Signal Before Conversion 6.0 µsec (nominal) Signal Convert from Hold 7.5 µsec every 512 µsec (nominal) Conversion Time (sum of above two specs.) Non–linearity 0.073% of full scale (maximum)
Page 70
Appendix A Module Specifications Current–loop Input Specifications Description Specification 0 to 20 mA (nominal) Input Operating Range 0 to 30 mA (maximum) Input Voltage 7.5V dc or ac RMS (maximum) Current Input Coding Range (0 to 20 mA) 0 to 2047 counts Input Impedance 250 ohms (nominal) 9.7656 µA per bit...
Page 71
Appendix A Module Specifications Voltage Output Specifications for FIO4V Description Specification Converter Resolution 14 bit Location of LSB in I/O image word 0000 0000 0000 01XX Non–linearity 0.05%of full scale Conversion Method R–2R ladder Step Response (to 95%) 2.5 ms (normal) Load Range 1K to Ohms...
Page 72
Appendix 2’s-complement Binary Numbers Using 2’s-complement The SLC 500 processor stores data as 16–bit binary numbers. The processor uses 2’s-complement binary format when making mathematical computations Binary Numbers and when storing analog values in the I/O image table. As indicated in the figure below, the equivalent decimal value of the 2’s-complement binary number is the sum of corresponding position values.
Page 73
Appendix B 2’s-complement Binary Numbers Negative Decimal Values The far left position is always 1 for negative values. The equivalent decimal value of a negative 2’s-complement binary number is obtained by subtracting 32768 from the sum of the other position values. In the figure below, all positions are 1 and the value is 32767 –...
Page 74
Appendix Module Input and Output Circuits 500K Input Circuit for 1746-FIO4V and -FIO4I Modules 33pF IN – > 500K S1, S2 – Filter > A to D 500K 250 W IN + > 33pF 500K COM > Switches S1 and S2 control whether the input circuit is for current (closed) or voltage (open).
Page 75
Index D, E address scheme, 4-2 delay time, of input A/D converter, 4-7 analog concept, P-2 analog data file input, 4-4 create new, 3-1 monitor, 4-2 monitor, 3-5 output, 4-4 return to existing, 3-5 filter, for input channel, 4-6 binary number system, B-1 G, H bit addresses in calibration program, 6-2...
Page 76
Index noise, electrical, minimization of, 2-6 safe state, for outputs, 4-8 number system, safety, 8-1 2’s complement binary, B-1 circuits, 8-2 scaling analog I/O, 5-5, 5-7, 5-12, 5-16 offline analog outputs, 5-6 I/O configuration, 3-3 computations for, 5-5, 5-6, 5-8, programming, 5-1 5-10, 5-11, 5-12, 5-16, 6-2 offset, 6-2...
Page 77
Poland Portugal Puerto Rico Qatar Romania Russia–CIS Saudi Arabia Singapore Slovakia Slovenia South Africa, Republic Spain Switzerland Taiwan Thailand The Netherlands Turkey United Arab Emirates United Kingdom United States Uruguay Venezuela Yugoslavia World Headquarters, Allen-Bradley, 1201 South Second Street, Milwaukee, WI 53204 USA, Tel: (1) 414 382-2000 Fax: (1) 414 382-4444 AB Parts Publication 1746-6.9 May 1995...
Need help?
Do you have a question about the SLC 500 1746–FIO4I and is the answer not in the manual?
Questions and answers