AutomationDirect DL305 User Manual

Analog i/o modules
Hide thumbs Also See for DL305:
Table of Contents

Advertisement

Quick Links

Product Family:
Manual Number
Revision and Date
Changes to Chapter 2. D3-04AD 4-Channel Analog Input
This module is no longer available. Please consider the F3-08AD-1 or F3-04ADS as a replacement
Changes to Chapter 3. F3-04ADS 4-Channel Isolated Analog Input
Page 3-3. Setting the Module Jumpers; Jumper Locations
The PC board was redesigned and the locations of jumpers J10, J11, J12, and J13 changed. The jumpers were rotated 90
degrees and are closer to the back of the module than the original layout. The functionality of the jumpers did not change. The
orientaton of the 5 pairs of pins for each channel is the same.
The photo on the right shows the new design, while the one on the left shows the original PC board. The photo on the left matches the drawing shown on page 3-3.
Original PC Board Layout
(Manufactured prior to mid-2012)
Errata Sheet
Errata Sheet
This Errata Sheet contains corrections or changes
made after the publication of this manual.
DL305
D3-ANLG-M
3rd Edition, February 2003
The redesigned PC boards are in modules manufactured starting in mid-2012.O
Date:
Redesigned PC Board Layout
(Manufactured after mid-2012)
Page 1 of 2
September 2018

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DL305 and is the answer not in the manual?

Questions and answers

Summary of Contents for AutomationDirect DL305

  • Page 1 Errata Sheet This Errata Sheet contains corrections or changes made after the publication of this manual. Date: September 2018 Product Family: DL305 Manual Number D3-ANLG-M Revision and Date 3rd Edition, February 2003 Changes to Chapter 2. D3-04AD 4-Channel Analog Input This module is no longer available.
  • Page 2 Errata Sheet Errata Sheet Changes to Chapter 5. F3–16AD 16-Channel Analog Input Page 5-9. Wiring Diagram The wiring diagram shows “current transmitters” CH 4, 7, 12, and 16. The diagram should show external 24VDC power supplies for these current transmitters. A 2-wire current transmitter example of this has been added to the diagram below for CH12. Also, CH16 has been changed to show a 4-wire current transmitter example.
  • Page 3 DL305 Analog I/O Modules Manual Number D3–ANLG-M...
  • Page 4 770–844–4200. This publication is based on information that was available at the time it was printed. At Automationdirect.com we constantly strive to improve our products and services, so we reserve the right to make changes to the products and/or publications at any time without notice and without any obligation.
  • Page 5 équipements de survie ou les systèmes d’armes, pour lesquels la défaillance du produit peut provoquer la mort, des blessures corporelles ou de graves dommages matériels ou environnementaux (”activités à risque élevé”). La société Automationdirect.comE nie toute garantie expresse ou implicite d’aptitude à l’emploi en ce qui a trait aux activités à risque élevé.
  • Page 6 Manual Revisions If you contact us in reference to this manual, be sure to include the revision number. Title: DL305 Analog I/O Modules, 2nd Edition, Rev. D Manual Number: D3–ANLG–M Issue Date Description of Changes Original 1/94 Original Issue 2nd Edition...
  • Page 7: Table Of Contents

    1–3 DL305 Analog Components ............
  • Page 8 Table of Contents External Power Source ............. 1–10 Base Power Required .
  • Page 9 Table of Contents Module Operation ..............3–8 Channel Scanning Sequence .
  • Page 10: Module Operation

    Table of Contents Connecting the Field Wiring ............5–6 Wiring Guidelines .
  • Page 11 Table of Contents Selecting Output Signal Ranges ............7–3 Connecting the Field Wiring .
  • Page 12: Scaling The Input Data

    Table of Contents Chapter 9: F3–08THM–n 8-Channel Thermocouple Input Introduction ............... . . 9–2 Automatic Conversion .
  • Page 13 ......... . . 10–17 Appendix A: DL305 Data Types and Memory Map DL330 Memory Map .
  • Page 15 Getting Started In This Chapter..Introduction Physical Characteristics Analog Input Terminology Analog Output Module Terminology Selecting the Appropriate Module Analog Made Easy - Four Simple Steps...
  • Page 16: Introduction

    This manual is not intended to be a tutorial on analog signal theory, but rather, a user reference manual for the DL305 Analog I/O modules. ...
  • Page 17 8 channel temperature input module. Provides ladder logic examples for all bases and CPUs. Appendices Additional reference information on the DL305 analog modules is in the following five appendices: Reference A – DL305C Data Types and Memory Map Appendices B –...
  • Page 18: Dl305 Analog Components

    Getting Started DL305 Analog Components There are a wide variety of Analog I/O modules available for use with the DL305 family of automation products. These modules are well suited for monitoring and controlling various types of analog signals such as pressure, temperature, etc.
  • Page 19: Physical Characteristics

    Getting Started Physical Characteristics The DL305 Analog Modules provide many features that make the modules easier to use. For example, the terminal block can be removed making wiring a simple task. You can also use our DINnector product line to organize your wiring even further (see our catalog for details).
  • Page 20: Selecting The Appropriate Module

    1–6 Getting Started Selecting the Appropriate Module The following tables provide a condensed version of the information you need to select the appropriate module. The most important thing is to simply determine the number of channels required and the signal ranges that must be supported. Once you’ve determined these parameters, look in the specific chapter for the selected module to determine the installation and operation requirements.
  • Page 21: Analog Output

    1–7 Getting Started Analog Output Specification D3–02DA FACTS F3–04DA–1 FACTS F3–04DAS Channels Output Ranges 1 – 10VDC 0 – 5V 0 – 5V 4 – 20 mA 0 –10V 0 – 10V "5V 4 – 12mA "10V 4 – 20mA 4 –...
  • Page 22: Analog Made Easy – Four Simple Steps

    1–8 Getting Started Analog Made Easy – Four Simple Steps Once you’ve selected the appropriate module, use the chapter that describes the module and complete the following steps. STEP 1. Take a minute to review the detailed specifications to make sure the module meets your application requirements.
  • Page 23: Analog Input Terminology

    1–9 Getting Started Analog Input Terminology We use several different terms throughout the rest of this manual. You don’t have to be an expert on analog terms to use the products, but it may help make it easier to select the appropriate modules if you take a few minutes to review these definitions. Channels per The number of analog channels or points available in the module to connect to field Module...
  • Page 24: External Power Source

    1–10 Getting Started Analog Output Module Terminology Channels per The number of analog channels or points available in the module to connect to field Module devices. Output Ranges The output ranges in voltage and/or current modes the module will operate properly within.
  • Page 25 D3–04AD This module is no longer available. Please consider the F3-08AD-1 or F3-04ADS as a replacement. 4-Channel Analog Input In This Chapter..Module Specifications Setting the Module Jumpers Connecting the Field Wiring Module Operation Writing the Control Program...
  • Page 26: Chapter 2: D3-04Ad 4-Channel Analog Input

    The D3–04AD Analog Input appears as a 16-point module. The module can be Configuration installed in any slot configured for 16 points. See the DL305 User Manual for details Requirements on using 16 point modules in DL305 systems. The limitation on the number of analog...
  • Page 27: Setting The Module Jumpers

    Check local and national codes to choose the correct method for your application. User Power Supply The D3–04AD requires a separate power supply. The DL305 bases have built-in 24 Requirements VDC power supplies that provide up to 100 mA of current. If you only have one analog module, you can use this power source instead of a separate supply.
  • Page 28: Custom Input Ranges

    2–4 D3–04AD 4-Channel Analog Input Custom Input Occasionally you may have the need to connect a transmitter with an unusual signal Ranges range. By changing the wiring slightly and adding an external resistor to convert the current to voltage, you can easily adapt this module to meet the specifications for a transmitter that does not adhere to one of the standard input ranges.
  • Page 29: Current Loop Transmitter Impedance

    2–5 D3–04AD 4-Channel Analog Input Current Loop Standard 4 to 20 mA transmitters and transducers can operate from a wide variety of Transmitter power supplies. Not all transmitters are alike and the manufacturers often specify a Impedance minimum loop or load resistance that must be used with the transmitter. The D3–04AD provides 250 ohm resistance for each channel.
  • Page 30: Removable Connector

    2–6 D3–04AD 4-Channel Analog Input Removable The D3–04AD module has a removable connector to make wiring easier. Simply Connector squeeze the tabs on the top and bottom and gently pull the connector from the module. Wiring Diagram Note 1: Terminate all shields of the cable at their respective signal source.
  • Page 31: Module Operation

    2–7 D3–04AD 4-Channel Analog Input Module Operation Before you begin writing the control program, it is important to take a few minutes to understand how the module processes and represents the analog signals. Channel Scanning The D3–04AD module supplies 1 channel of data per each CPU scan. Since there Sequence are four channels, it can take up to four scans to get data for all channels.
  • Page 32: Understanding The I/O Assignments

    2–8 D3–04AD 4-Channel Analog Input Understanding the You may recall the D3–04AD module appears to the CPU as a 16-point module. I/O Assignments Some of the points are inputs to the CPU and some are outputs to the module. These 16 points provide: an indication of which channel is active.
  • Page 33: Single Channel Scan Outputs

    2–9 D3–04AD 4-Channel Analog Input Single Channel The upper register also contains two Scan Outputs additional outputs that can be used to R011 choose a single channel for scanning. These outputs are ignored if the channel scan output is turned on. (Note, our example shows outputs 114 and 115.
  • Page 34: Analog Data Bits

    2–10 D3–04AD 4-Channel Analog Input Analog Data Bits The first register contains 8 bits which represent the analog data in binary R001 format. Value Value - analog data bits Since the module has 8-bit resolution, the analog signal is converted into 256 “pieces”...
  • Page 35: Writing The Control Program

    This rung loads the data into the accumulator on DSTR1 every scan. (You can use any permissive contact.) R001 The DL305 CPUs perform math operations in BCD. This instruction converts the binary data to BCD. (You can omit this step if your application does not require the conversion.)
  • Page 36: Reading Multiple Channels Over Alternating Scans

    This rung loads the data into the accumulator. This DSTR1 rung executes for all channels. R001 The DL305 performs math operations in BCD. This instruction converts the binary data to BCD. (You can omit this step if your application does not require the data in BCD format.)
  • Page 37: Single Or Multiple Channels

    R001 channel scan. The DL305 performs math operations in BCD. This instruction converts the binary data to BCD. (You can omit this step if your application does not require the data in BCD format.)
  • Page 38 2–14 D3–04AD 4-Channel Analog Input The following instructions are required to scale the data. We’ll continue to use the 42.9 PSI example. In this example we’re using channel 1. Input 110 is the active channel indicator for channel 1. Of course, if you were using a different channel, you would use the active channel indicator point that corresponds to the channel you were using.
  • Page 39 2–15 D3–04AD 4-Channel Analog Input You probably noticed that the previous example yielded 42 PSI when the real value should have been 42.9 PSI. By changing the scaling value slightly, we can “imply” an extra decimal of precision. Notice in the following example we’ve added another digit to the scale.
  • Page 40 This rung loads the data into the accumulator on DSTR1 every scan. (You could use any permissive contact.) R001 The DL305 CPUs perform math operations in BCD. Since we will perform math on the data, the data must be converted from binary data to BCD. Store channel 1 The analog value is divided by the resolution of the module, stored in R430.
  • Page 41: Writing The Control Program

    DL350 with a module in the 10–17/110–117 address slot. This module must be placed in a 16 bit Conventional slot in order to work. DL305 Base Load the data This rung loads analog data and converts it to BCD. X117 When X117 is On, all channels will be scanned.
  • Page 42 2–18 D3–04AD 4-Channel Analog Input Multiplexing: The example below shows how to read multiple channels on an D3–04AD Analog DL350 with a module in the X0 address of the base. If any expansion bases are used in the D3–xx–1 Base system, they must all be D3–xx–1 to be able to use this example.
  • Page 43: Scaling The Input Data

    2–19 D3–04AD 4-Channel Analog Input Scaling the Input Most applications usually require Data measurements in engineering units, Units = (A/255)*S which provide more meaningful data. This is accomplished by using the Units = value in Engineering Units conversion formula shown. A = Analog value (0 –...
  • Page 44: Analog And Digital Value Conversions

    2–20 D3–04AD 4-Channel Analog Input Analog and Digital Sometimes it is helpful to be able to quickly convert between the signal levels and the Value Conversions digital values. This is especially helpful during machine startup or troubleshooting. The following table provides formulas to make this conversion easier. Range If you know the digital value ...
  • Page 45: Module Specifications

    F3–04ADS 4-Channel Isolated Analog Input In This Chapter..Module Specifications Setting the Module Jumpers Connecting the Field Wiring Module Operation Writing the Control Program...
  • Page 46: Chapter 3: F3-04Ads 4-Channel Isolated Analog Input

    Analog Input The F3–04ADS Analog Input appears as a 16-point module. The module can be installed in any slot configured for 16 points. See the DL305 User Manual for details Configuration on using 16 point modules in DL305 systems. The limitation on the number of analog...
  • Page 47: Setting The Module Jumpers

    3–3 F3–04ADS 4-Channel Isolated Analog Input Setting the Module Jumpers Jumper Locations The module is set at the factory for a 4–20 mA signal on all four channels. If this is acceptable you do not have to change any of the jumpers. The following diagram shows how the jumpers are set.
  • Page 48: Selecting Input Signal Ranges

    3–4 F3–04ADS 4-Channel Isolated Analog Input Selecting Input As you examin the jumper settings, notice there are jumpers for each individual Signal Ranges channel. These jumpers allow you to select the type of signal (voltage or current) and the range of the signal. The following tables show the jumper selections for the various ranges.
  • Page 49: Connecting The Field Wiring

    3–5 F3–04ADS 4-Channel Isolated Analog Input Connecting the Field Wiring Wiring Guidelines Your company may have guidelines for wiring and cable installation. If so, you should check those before you begin the installation. Here are some general things to consider. Use the shortest wiring route whenever possible.
  • Page 50: Current Loop Transmitter Impedance

    3–6 F3–04ADS 4-Channel Isolated Analog Input Current Loop Standard 4 to 20 mA transmitters and transducers can operate from a wide variety of Transmitter power supplies. Not all transmitters are alike and the manufacturers often specify a Impedance minimum loop or load resistance that must be used with the transmitter. The F3–04ADS provides 250 ohm resistance for each channel.
  • Page 51: Removable Connector

    3–7 F3–04ADS 4-Channel Isolated Analog Input Removable The F3–04ADS module has a removable connector to make wiring easier. Simply Connector squeeze the top and bottom tabs and gently pull the connector from the module. Wiring Diagram Note 1: Connect unused voltage or current inputs to 0VDC at terminal block or leave current jumper installed (see Channel 3).
  • Page 52: Module Operation

    3–8 F3–04ADS 4-Channel Isolated Analog Input Module Operation Before you begin writing the control program, it is important to take a few minutes to understand how the module processes and represents the analog signals. Channel Scanning The F3–04ADS module supplies1 channel of data per each CPU scan. Since there Sequence are four channels, it can take up to four scans to get data for all channels.
  • Page 53: Understanding The I/O Assignments

    3–9 F3–04ADS 4-Channel Isolated Analog Input Understanding the You may recall the F3–04ADS module appears to the CPU as a 16-point module. I/O Assignments These 16 points provide: an indication of which channel is active. the digital representation of the analog signal. Since all I/O points are automatically mapped into Register (R) memory, it is very easy to determine the location of the data word that will be assigned to the module.
  • Page 54: Analog Data Bits

    3–10 F3–04ADS 4-Channel Isolated Analog Input Analog Data Bits The remaining twelve bits represent the analog data in binary format. R011 R001 Value Value 0 (LSB) 1024 - data bits 2048 Since the module has 12-bit resolution, the analog signal is converted into 4096 “pieces”...
  • Page 55: Writing The Control Program

    This rung loads the data into the accumulator on DSTR1 every scan. (You can use any permissive contact.) R001 The DL305 CPUs perform math operations in BCD. This instruction converts the binary data to BCD. (You can omit this step if your application does not require the conversion.)
  • Page 56 Alternating Scans can perform math on the data, compare the data against preset values, etc. Since the DL305 CPUs use 8-bit word instructions, you have to move the data in pieces. It’s simple if you follow the example. Read the data...
  • Page 57 3–13 F3–04ADS 4-Channel Isolated Analog Input Scaling the Most applications usually require Units + Input Data measurements in engineering units, 4096 which provide more meaningful data. This is accomplished by using the Units = value in Engineering Units conversion formula shown. A = Analog value (0 –...
  • Page 58 3–14 F3–04ADS 4-Channel Isolated Analog Input The following instructions are required to scale the data. We’ll continue to use the 42.9 PSI example. In this example we’re using channel 1. Input 114 is the active channel indicator for channel 1. Of course, if you were using a different channel, you would use the active channel indicator point that corresponds to the channel you were using.
  • Page 59 3–15 F3–04ADS 4-Channel Isolated Analog Input You probably noticed the previous example yielded 42 PSI when the real value should have been 42.9 PSI. By changing the scaling value slightly, we can “imply” an extra decimal of precision. Notice in the following example we’ve added another digit to the scale.
  • Page 60 3–16 F3–04ADS 4-Channel Isolated Analog Input This example program shows how you can use the instructions to load these equation constants into data registers. The example is written for channel 1, but you can easily use a similar approach to use different scales for all channels if required. You may just use the appropriate constants in the instructions dedicated for each channel, but this method allows easier modifications.
  • Page 61: Writing The Control Program

    3–17 F3–04ADS 4-Channel Isolated Analog Input Writing the Control Program (DL350) Reading Values: There are two methods of reading values for the DL350: Pointer Method The pointer method (all system bases must be D3–xx–1 bases to and Multiplexing support the pointer method) Multiplexing You must use the multiplexing method with remote I/O modules (the pointer method will not work).
  • Page 62 3–18 F3–04ADS 4-Channel Isolated Analog Input The table shows the special V-memory locations used with the DL350. Slot 0 (zero) is the module next to the CPU, slot 1 is the module two places from the CPU, and so on. Remember, the CPU only examines the pointer values at these locations after a mode transition.
  • Page 63 DL350 with a module in the 20–27/120–127 address slot. This module must be placed in a 16 bit Conventional slot in order to work. DL305 Base Load the data X120 This rung loads the upper byte of analog data from the module.
  • Page 64: Scaling The Input Data

    3–20 F3–04ADS 4-Channel Isolated Analog Input Units + A H * L Scaling the Most applications usually require Input Data measurements in engineering units, 4095 which provide more meaningful data. H = high limit of the engineering This is accomplished by using the unit range conversion formula shown.
  • Page 65: Analog And Digital Value Conversions

    3–21 F3–04ADS 4-Channel Isolated Analog Input Analog and Digital Sometimes it is helpful to be able to quickly convert between the signal levels and the Value Conversions digital values. This is especially helpful during machine startup or troubleshooting. The following table provides formulas to make this conversion easier. Range If you know the digital value ...
  • Page 67: Module Specifications

    F3–08AD–1 8-Channel Analog Input In This Chapter..Module Specifications Setting the Module Jumpers Connecting the Field Wiring Module Operation Writing the Control Program...
  • Page 68: Module Specifications

    NEMA ICS3–304 Analog Input The F3–08AD Analog Input appears as a 16-point module. The module can be installed in any slot configured for 16 points. See the DL305 User Manual for details Configuration Requirements on using 16 point modules in DL305 systems. The limitation on the number of analog...
  • Page 69: Setting The Module Jumpers

    4–3 F3–08AD–1 8-Channel Analog Input Setting the Module Jumpers Jumper Locations The module is set at the factory for a 4–20 mA signal on all eight channels. If this is acceptable you do not have to change any of the jumpers. The following diagram shows how the jumpers are set.
  • Page 70: Wiring Guidelines

    4–4 F3–08AD–1 8-Channel Analog Input Connecting the Field Wiring Wiring Guidelines Your company may have guidelines for wiring and cable installation. If so, you should check those before you begin the installation. Here are some general things to consider. Use the shortest wiring route whenever possible. Use shielded wiring and ground the shield at the signal source.
  • Page 71: Removable Connector

    4–5 F3–08AD–1 8-Channel Analog Input Removable The F3–08AD module has a removable connector to make wiring easier. Simply Connector squeeze the top and bottom tabs and gently pull the connector from the module. Wiring Diagram Note 1: Terminate all shields at their respective signal source Note 2: To avoid “ground loop”...
  • Page 72: Module Operation

    4–6 F3–08AD–1 8-Channel Analog Input Module Operation Before you begin writing the control program, it is important to take a few minutes to understand how the module processes and represents the analog signals. Channel Scanning The F3–08AD module supplies1 channel of data per each CPU scan. Since there Sequence are eight channels, it can take up to eight scans to get data for all channels.
  • Page 73: Understanding The I/O Assignments

    4–7 F3–08AD–1 8-Channel Analog Input Understanding the You may recall the F3–08AD module appears to the CPU as a 16-point module. I/O Assignments These 16 points provide: an indication of which channel is active. the digital representation of the analog signal. Since all I/O points are automatically mapped into Register (R) memory, it is very easy to determine the location of the data word that will be assigned to the module.
  • Page 74: Analog Data Bits

    4–8 F3–08AD–1 8-Channel Analog Input Analog Data Bits The remaining twelve bits represent the analog data in binary format. R011 R001 Value Value 0 (LSB) 1024 - data bits 2048 Since the module has 12-bit resolution, 4 – 20mA the analog signal is converted into 4096 “pieces”...
  • Page 75: Writing The Control Program

    R401. (Two bytes are required for four digit BCD R401 numbers.) DSTR R400 The DL305 CPUs perform math operations in BCD. This instruction converts the binary data to BCD. (You can omit this step if your application does not require the conversion.) DOUT...
  • Page 76 Alternating Scans can perform math on the data, compare the data against preset values, etc. Since the DL305 CPUs use 8-bit word instructions, you have to move the data in pieces. It’s simple if you follow the example. Read the data...
  • Page 77 4–11 F3–08AD–1 8-Channel Analog Input Scaling the Most applications usually require Units + measurements in engineering units, Input Data 4096 which provide more meaningful data. This is accomplished by using the Units = value in Engineering Units conversion formula shown. A = Analog value (0 –...
  • Page 78 4–12 F3–08AD–1 8-Channel Analog Input The following instructions are required to scale the data. We’ll continue to use the 42.9 PSI example. In this example we’re using channel 1. Input 114, input 115, and input 116 are all off when channel 1 data is being read. Of course, if you were using a different channel, you would use the active channel indicator point combination that corresponds to the channel you were using.
  • Page 79 4–13 F3–08AD–1 8-Channel Analog Input You probably noticed the previous example yielded 42 PSI when the real value should have been 42.9 PSI. By changing the scaling value slightly, we can “imply” an extra decimal of precision. Notice in the following example we’ve added another digit to the scale.
  • Page 80 4–14 F3–08AD–1 8-Channel Analog Input This example program shows how you can use the instructions to load these equation constants into data registers. The example was written for channel 1, but you could easily use a similar approach to use different scales for all channels if required.
  • Page 81 4–15 F3–08AD–1 8-Channel Analog Input Writing the Control Program (DL350) Reading Values: There are two methods of reading values for the DL350: Pointer Method The pointer method (all system bases must be D3–xx–1 bases to and Multiplexing support the pointer method) Multiplexing You must use the multiplexing method with remote I/O modules (the pointer method will not work).
  • Page 82 DL350 with a module in the X20–27 / X120–127 address slot. This module must be placed in a 16 Conventional bit slot in order to work. DL305 Base Load the data X120 This rung loads the upper byte of analog data from the module.
  • Page 83 4–17 F3–08AD–1 8-Channel Analog Input example continued from previous page Channel 4 Select Bit States X124 X125 X126 This writes channel four analog data to V3003 when bits X124, X125 and X126 are as shown. V3003 Channel 5 Select Bit States X124 X125 X126...
  • Page 84 4–18 F3–08AD–1 8-Channel Analog Input Multiplexing: The example below shows how to read multiple channels on an F3–08AD Analog DL350 with a module in the X0 address slot of a D3–xx–1 base. If any expansion bases are used in D3–xx–1 Base the system, they must all be D3–xx–1 to be able to use this example.
  • Page 85 4–19 F3–08AD–1 8-Channel Analog Input example continued from previous page Channel 4 V1400 These rungs store the BCD analog input data into consecutive V memory registers. V1400 will increment once per scan from 0 to 7. V3003 Channel 5 V1400 V3004 Channel 6 V1400...
  • Page 86: Analog And Digital Value Conversions

    4–20 F3–08AD–1 8-Channel Analog Input Units + A H * L Scaling the Most applications usually require Input Data measurements in engineering units, 4095 which provide more meaningful data. H = high limit of the engineering This is accomplished by using the unit range conversion formula shown.
  • Page 87: Module Specifications

    F3–16AD 16-Channel Analog Input In This Chapter..Module Specifications Setting the Module Jumpers Connecting the Field Wiring Module Operation Writing the Control Program...
  • Page 88: Module Specifications

    The F3–16AD Analog Input appears as a 16-point module. The module can be Configuration installed in any slot configured for 16 points. See the DL305 User Manual for details Requirements on using 16 point modules in DL305 systems. The limitation on the number of analog...
  • Page 89: Setting The Module Jumpers

    5–3 F3–16AD 16-Channel Analog Input Setting the Module Jumpers Jumper Locations The module is set at the factory for a 0–20 mA signal on all sixteen channels. If this is acceptable you do not have to change any of the jumpers. The following diagram shows the jumper locations.
  • Page 90: Selecting Input Signal Ranges

    5–4 F3–16AD 16-Channel Analog Input Selecting Input As you examined the jumper settings, you may have noticed there are current Signal Ranges jumpers for each individual channel. These jumpers allow you to select the type of signal (voltage or current). The span and polarity jumpers are used to select the signal range.
  • Page 91: Gain Jumpers

    5–5 F3–16AD 16-Channel Analog Input Input Signal Range Jumper Settings Current Jumper Polarity Span 0 VDC to +5 VDC (requires gain adjustment Gain Jumper see instructions below) 0 VDC to +12 VDC Polarity Span Current Jumper (requires gain adjustment Gain Jumper see instructions below) Variable Gain If you look at the terminal block closely,...
  • Page 92: Connecting The Field Wiring

    5–6 F3–16AD 16-Channel Analog Input Connecting the Field Wiring Wiring Guidelines Your company may have guidelines for wiring and cable installation. If so, you should check those before you begin the installation. Here are some general things to consider. Use the shortest wiring route whenever possible. Use shielded wiring and ground the shield at the signal source.
  • Page 93 5–7 F3–16AD 16-Channel Analog Input Custom Input Occasionally you may have the need to connect a transmitter with an unusual signal Ranges range. By changing the wiring slightly and adding an external resistor to convert the current to voltage, you can easily adapt this module to meet the specifications for a transmitter that does not adhere to one of the standard input ranges.
  • Page 94: Current Loop Transmitter Impedance

    5–8 F3–16AD 16-Channel Analog Input Current Loop Standard 4 to 20 mA transmitters and transducers can operate from a wide variety of Transmitter power supplies. Not all transmitters are alike and the manufacturers often specify a Impedance minimum loop or load resistance that must be used with the transmitter at the various voltages.
  • Page 95: Removable Connector

    5–9 F3–16AD 16-Channel Analog Input Removable The F3–16AD module has a removable connector to make wiring easier. Simply Connector squeeze the top and bottom tabs and gently pull the connector from the module. See Errata Sheet at the beginning of this file. The Wiring Diagram wiring diagram has been revised to show 2-wire Note 1: Terminate all shields at their respective signal source.
  • Page 96: Module Operation

    5–10 F3–16AD 16-Channel Analog Input Module Operation Before you begin writing the control program, it is important to take a few minutes to understand how the module processes and represents the analog signals. Channel Scanning The F3–16AD module supplies 1 channel of data per each CPU scan. Since there Sequence are sixteen channels, it can take up to sixteen scans to get data for all channels.
  • Page 97: Understanding The I/O Assignments

    5–11 F3–16AD 16-Channel Analog Input Understanding the You may recall the F3–16AD module appears to the CPU as a 16-point module. I/O Assignments These 16 points provide: an indication of which channel is active. the digital representation of the analog signal. Since all I/O points are automatically mapped into Register (R) memory, it is very easy to determine the location of the data word that will be assigned to the module.
  • Page 98: Active Channel Indicator Inputs

    5–12 F3–16AD 16-Channel Analog Input Active Channel The last four inputs of the upper Register Indicator Inputs indicate active channel. R011 indicators automatically increment with each CPU scan. Channel Active Scan Inputs Channel 0000 - channel indicator inputs 0001 0010 0011 0100 0101...
  • Page 99: Analog Data Bits

    5–13 F3–16AD 16-Channel Analog Input Analog Data Bits The remaining twelve bits represent the analog data in binary format. R011 R001 Value Value 0 (LSB) 1024 - data bits 2048 Since the module has 12-bit resolution, the analog signal is converted into 4096 “pieces”...
  • Page 100: Writing The Control Program

    5–14 F3–16AD 16-Channel Analog Input Writing the Control Program (DL330 / DL340) Identifying the Since all channels are multiplexed into a single data word, the control program must Data Locations be setup to determine which channel is being read. Since the module provides input points to the CPU, it is very easy to use the active channel status bits to determine which channel is being monitored.
  • Page 101 Register locations. Once the data is in a Register, you can perform math on the data, compare the data against preset values, etc. Since the DL305 CPUs use 8-bit word instructions, you have to move the data in pieces. It’s pretty simple if you follow the example.
  • Page 102: Scaling The Input Data

    5–16 F3–16AD 16-Channel Analog Input Scaling the Input Most applications usually require Units + Data measurements in engineering units, 4096 which provide more meaningful data. This is accomplished by using the Units = value in Engineering Units conversion formula shown. A = Analog value (0 –...
  • Page 103 5–17 F3–16AD 16-Channel Analog Input The following instructions are required to scale the data. (We’ll continue to use the 42.9 PSI example.) In this example we’re using channel 1. The active channel indicator inputs are all off when channel 1 data is being read. Of course, if you were using a different channel, you would use the active channel indicator point combination that corresponds to the channel you were using.
  • Page 104 5–18 F3–16AD 16-Channel Analog Input You probably noticed the previous example yielded 42 PSI when the real value should have been 42.9 PSI. By changing the scaling value slightly, we can “imply” an extra decimal of precision. Notice in the following example we’ve added another digit to the scale.
  • Page 105 5–19 F3–16AD 16-Channel Analog Input This example program shows how you can use the instructions to load these equation constants into data registers. The example is written for channel 1, but you can easily use a similar approach to use different scales for all channels if required. You may just use the appropriate constants in the instructions dedicated for each channel, but this method allows easier modifications.
  • Page 106 5–20 F3–16AD 16-Channel Analog Input Broken Transmitter If you use 4–20mA signals you can easily check for broken transmitter conditions. Detection Since you have to use the 0–20mA range and the lowest signal for the 4–20mA transmitter is 4mA, the lowest digital value for the signal is not 0, but instead is 819. If the transmitter is working properly the smallest value you should ever see is 819.
  • Page 107 5–21 F3–16AD 16-Channel Analog Input Writing the Control Program (DL350) Reading Values: There are two methods of reading values for the DL350: Pointer Method The pointer method (all system bases must be D3–xx–1 bases to and Multiplexing support the pointer method) Multiplexing You must use the multiplexing method with remote I/O modules (the pointer method will not work).
  • Page 108 5–22 F3–16AD 16-Channel Analog Input The table shows the special V-memory locations used with the DL350. Slot 0 (zero) is the module next to the CPU, slot 1 is the module two places from the CPU, and so on. Remember, the CPU only examines the pointer values at these locations after a mode transition.
  • Page 109 DL350 with a module in the 20–27/120–127 address slot. This module must be placed in a 16 bit Conventional slot in order to work. DL305 Base Load the data X120 This rung loads the upper byte of analog data from the module.
  • Page 110 5–24 F3–16AD 16-Channel Analog Input Multiplexing: The example below shows how to read multiple channels on an F3–16AD Analog DL350 with a module in the X0 address slot of the D3–XX–1 base. If any expansion bases are D3–XX–1 Base used in the system, they must all be D3–xx–1 to be able to use this example. Otherwise, the conventional base addressing must be used.
  • Page 111 5–25 F3–16AD 16-Channel Analog Input Channel Selection Data V1400 V1401 Channel #4 Data V2003 Channel Selection Data V1400 V1401 Channel #5 Data V2004 Channel Selection Data V1400 V1401 Channel #6 Data V2005 Channel Selection Data V1400 V1401 Channel #7 Data V2006 Channel Selection Data V1400...
  • Page 112 5–26 F3–16AD 16-Channel Analog Input Channel Selection Data V1400 V1401 Channel #11 Data V2012 Channel Selection Data V1400 V1401 Channel #12 Data V2013 Channel Selection Data V1400 V1401 Channel #13 Data V2014 Channel Selection Data V1400 V1401 Channel #14 Data V2015 Channel Selection Data V1400...
  • Page 113 5–27 F3–16AD 16-Channel Analog Input Units + A H * L Scaling the Most applications usually require Input Data measurements in engineering units, 4095 which provide more meaningful data. H = high limit of the engineering This is accomplished by using the unit range conversion formula shown.
  • Page 114: Analog And Digital Value Conversions

    5–28 F3–16AD 16-Channel Analog Input Analog and Digital Sometimes it is helpful to be able to quickly convert between the signal levels and the Value Conversions digital values. This is especially helpful during machine startup or troubleshooting. The following table provides formulas to make this conversion easier. Range If you know the digital value ...
  • Page 115 D3–02DA 2–Channel Analog Output In This Chapter..Module Specifications Connecting the Field Wiring Module Operation Writing the Control Program...
  • Page 116: Module Specifications

    The D3–02DA Analog Output appears as a 16-point module. The module can be Configuration installed in any slot configured for 16 points. See the DL305 User Manual for details Requirements on using 16 point modules in DL305 systems. The limitation on the number of analog...
  • Page 117: Connecting The Field Wiring

    6–3 D3–02DA 2-Channel Analog Output Connecting the Field Wiring Wiring Guidelines Your company may have guidelines for wiring and cable installation. If so, you should check those before you begin the installation. Here are some general things to consider. Use the shortest wiring route whenever possible. Use shielded wiring and ground the shield at the module or the power supply return (0V).
  • Page 118: Removable Connector

    6–4 D3–02DA 2-Channel Analog Output Removable The D3–02DA module has a removable connector to make wiring easier. Simply Connector remove the retaining screws and gently pull the connector from the module. Wiring Diagram Note 1: Shields should be connected to the 0V of the module or to the 0V of the P/S.
  • Page 119: Module Operation

    6–5 D3–02DA 2-Channel Analog Output Module Operation Before you begin writing the control program, it is important to take a few minutes to understand how the module processes and represents the analog signals. Channel Scanning The D3–02DA module updates both channels in the same scan. The control Sequence program updates the two channels of this module independent of each other and each channel does not have to be refreshed on each scan.
  • Page 120: Understanding The I/O Assignments

    6–6 D3–02DA 2-Channel Analog Output Understanding the You may recall the D3–02DA module appears to the CPU as a 16-point module. I/O Assignments These 16 points provide the digital representation of the analog signal. Since all I/O points are automatically mapped into Register (R) memory, it is very easy to determine the location of the data word that will be assigned to the module.
  • Page 121: Analog Data Bits

    6–7 D3–02DA 2-Channel Analog Output Analog Data Bits The first register contains the data for channel one (R001). The second register R001 contains the data for channel two (R011). Value Value - analog data bits Since the module has 8-bit resolution, the analog signal is converted into 256 “pieces”...
  • Page 122: Writing The Control Program

    6–8 D3–02DA 2-Channel Analog Output Writing the Control Program (DL330 / DL340) Identifying the As mentioned earlier, you can update either channel or both channels during the Data Locations same scan. Since the module does not have any channel select bits, you just simply determine the location of the data word and send the data word to the output module whenever you need to update the data.
  • Page 123 6–9 D3–02DA 2-Channel Analog Output Here’s how you would write the program to perform the Engineering Unit conversion. This example assumes you have calculated or loaded the engineering unit value and stored it in R400. Also, you have to perform this for both channels if you’re using different data for each channel.
  • Page 124 6–10 D3–02DA 2-Channel Analog Output There will probably be times when you need more precise control. For example, maybe your application requires 42.9 PSI, not just 42 PSI. By changing the scaling value slightly, we can “imply” an extra decimal of precision. Notice in the following example we’ve entered 429 as the Engineering unit value and we’ve added another digit to the scale.
  • Page 125 6–11 D3–02DA 2-Channel Analog Output Sending the Same In some applications, you’ll want to send the same output values to both channels. Data to Both The following program example shows how to send the digital values to the module. Channels This example assumes you have already loaded the Engineering unit value in R450 and R451.
  • Page 126: Sending Specific Data To Each Channel

    6–12 D3–02DA 2-Channel Analog Output Sending Specific In this case, the example logic is setup to send different data to each channel. Of Data to Each course, you would have to have separate routines to calculate the output data and Channel you would have to store the different values in separate registers.
  • Page 127 In this example V1400 contains the BCD data for channel 1 and V1401 contains the data for channel 2. Conventional DL305 Base Send Channel 1 This rung loads the data for channel 1 into the accumulator on every scan.
  • Page 128 6–14 D3–02DA 2-Channel Analog Output Multiplexing: This example assumes the module is in Y0 address slot of a D3–xx–1 base . In this DL350 with a example V1400 contains the BCD data for channel 1 and V1401 contains the data D3–xx–1 Base for channel 2.
  • Page 129 6–15 D3–02DA 2-Channel Analog Output Analog and Digital Sometimes it is helpful to be able to quickly convert between the voltage or current Value Conversions signal levels and the digital values. This is especially helpful during machine startup or troubleshooting. The following table provides formulas to make this conversion easier.
  • Page 130 6–16 D3–02DA 2-Channel Analog Output The example program below shows how you would write the program to perform the engineering unit conversion. This example assumes you have calculated or loaded the engineering unit values in BCD and stored them in V2300 and V2301 for channels 1 and 2 respectively.
  • Page 131 F3–04DA–1 4-Channel Analog Output In This Chapter..Module Specifications Setting the Module Jumpers Connecting the Field Wiring Module Operation Writing the Control Program (DL330 / DL340) Writing the Control Program (DL350)
  • Page 132 The F3–04DA–1 Analog Output appears as a 16-point module. The module can be Configuration installed in any slot configured for 16 points. See the DL305 User Manual for details Requirements on using 16 point modules in DL305 systems. The limitation on the number of analog...
  • Page 133 7–3 F3–04DA–1 4-Channel Analog Output Setting the Module Jumpers Jumper Locations The module is set at the factory for a 0–10V signal on all four channels. (This range also allows 4–20 mA operation since there are separate I and V wiring terminals.) If this is acceptable you do not have to change any of the jumpers.
  • Page 134: User Power Supply Requirements

    7–4 F3–04DA–1 4-Channel Analog Output Connecting the Field Wiring Wiring Guidelines Your company may have guidelines for wiring and cable installation. If so, you should check those before you begin the installation. Here are some general things to consider. Use the shortest wiring route whenever possible. Use shielded wiring and ground the shield at the module or the power supply return (0V).
  • Page 135 7–5 F3–04DA–1 4-Channel Analog Output Removable The F3–04DA–1 module has a removable connector to make wiring easier. Simply Connector squeeze the top and bottom tabs and gently pull the connector from the module. Wiring Diagram Note 1: Shields should be connected to the 0V (COM) ANALOG OUTPUT of the module F3–04DA–1...
  • Page 136: Channel Scanning Sequence

    7–6 F3–04DA–1 4-Channel Analog Output Module Operation Before you begin writing the control program, it is important to take a few minutes to understand how the module processes and represents the analog signals. Channel Scanning The F3–04DA–1 module can update one channel per CPU scan. Your RLL program Sequence selects which channel to update, so you have complete flexibility to solve your application requirements.
  • Page 137 7–7 F3–04DA–1 4-Channel Analog Output Understanding the You may recall the F3–04DA–1 module appears to the CPU as a 16-point module. I/O Assignments These 16 points provide: the digital representation of the analog signal. identification of the channel to receive the data. Since all I/O points are automatically mapped into Register (R) memory, it is very easy to determine the location of the data word that will be assigned to the module.
  • Page 138 7–8 F3–04DA–1 4-Channel Analog Output Analog Data Bits The remaining twelve bits represent the analog data in binary format. R011 R001 Value Value 0 (LSB) 1024 - data bits 2048 Since the module has 12-bit resolution, the analog signal is converted into 4096 “pieces”...
  • Page 139 7–9 F3–04DA–1 4-Channel Analog Output Writing the Control Program (DL330 / DL340) Identifying the As mentioned earlier, you can use the channel selection bits to determine which Data Locations channels will be updated. The following diagram shows the location for both the channel selection bits and data bits.
  • Page 140 7–10 F3–04DA–1 4-Channel Analog Output Here’s how you would write the program to perform the Engineering unit conversion. This example assumes you have calculated or loaded the engineering unit value and stored it in R400. Also, you have to perform this for all channels if you’re using different data for each channel.
  • Page 141 7–11 F3–04DA–1 4-Channel Analog Output There will probably be times when you need more precise control. For example, maybe your application requires 42.9 PSI, not just 42 PSI. By changing the scaling value slightly, we can “imply” an extra decimal of precision. Notice in the following example we’ve entered 429 as the Engineering unit value and we’ve added another digit to the scale.
  • Page 142 7–12 F3–04DA–1 4-Channel Analog Output Sending Data to a The following program example shows how to send the digital value to a single Single Channel channel. This example assumes you have already loaded the Engineering unit value in R450 and R451. Send Channel 1 This rung loads the data into the accumulator on DSTR...
  • Page 143 7–13 F3–04DA–1 4-Channel Analog Output Sequencing the This example shows how to send digital values to the module when you have more Channel Updates than one channel. This example will automatically update all four channels over four scans. The example is fairly simple and will work in most all situations, but there are instances where problems can occur.
  • Page 144 7–14 F3–04DA–1 4-Channel Analog Output Writing the Control Program (DL350) Reading Values: There are two methods of reading values: Pointer Method The pointer method (all system bases must be D3–xx–1 to support the and Multiplexing pointer method) Multiplexing You must use the multiplexing method with remote I/O modules (the pointer method will not work).
  • Page 145 7–15 F3–04DA–1 4-Channel Analog Output Multiplexing: This example assumes the module is in Y0 address slot of D3–xx–1 base. In this DL350 with a example V2000 contains the data for channel and V2001 for channel 2, etc. If any D3–xx–01 Base expansion bases are used in the system, they must all be D3–xx–1 to be able to use this example.
  • Page 146 In this example V3000 contains the BCD data for channel 1 and Conventional V3001 contains the data for channel 2, etc. One more rung would be necessary for DL305 Base channel 4. Send Channel 1 This rung loads the data for channel 1 into the accumulator.
  • Page 147 7–17 F3–04DA–1 4-Channel Analog Output example program continued from previous page. Send Channel 2 This rung loads the data for channel 2 into the accumulator. V3001 Converts the BCD data to binary. ANDD Masks the 12 analog data bits Kfff OUTF Output the first 8 analog data bits to the module SHFR...
  • Page 148 7–18 F3–04DA–1 4-Channel Analog Output Calculating the Your program must calculate the digital A + U 4095 Digital Value value to send to the analog module. H * L There are many ways to do this, but most applications are understood more easily A = Analog value (0 –...
  • Page 149 7–19 F3–04DA–1 4-Channel Analog Output The example program shows how you would write the program to perform the engineering unit conversion. This example assumes you have calculated or loaded the engineering unit values in BCD and stored them in V2300 and V2301 for channels 1 and 2 respectively.
  • Page 150 7–20 F3–04DA–1 4-Channel Analog Output Analog and Digital Sometimes it is helpful to be able to quickly convert between the voltage or current Value Conversions signal levels and the digital values. This is especially helpful during machine startup or troubleshooting. The following table provides formulas to make this conversion easier.
  • Page 151 F3–04DAS 4-Channel Isolated Analog Output In This Chapter..Module Specifications Setting the Module Jumpers Connecting the Field Wiring Module Operation Writing the Control Program (DL340/DL350) Writing the Control Program (DL350)
  • Page 152: Module Specifications

    8–2 F3–04DAS 4-Channel Isolated Analog Output Module Specifications The following table provides the specifications for the F3–04DAS Analog Output Module. Review these specifications to make sure the module meets your application requirements. Number of Channels "5V, "10V, 0–5V, 0–10V, 1–5V, Output Ranges 0–20 mA, 4–20 mA Resolution...
  • Page 153 16 points, but should not be installed in Slot 3 of Requirements any DL305 base. See the DL305 User Manual for details on using 16 point modules in DL305 systems. The limitation on the number of analog modules are: For local and expansion systems, the available power budget and 16-point module usage are the limiting factors.
  • Page 154: Setting The Module Jumpers

    8–4 F3–04DAS 4-Channel Isolated Analog Output Setting the Module Jumpers Jumper Locations The module is set at the factory for a 0–10V signal on all four channels. If this is acceptable you do not have to change any of the jumpers. If you examine the top board on the module you will notice four sets of jumpers.
  • Page 155 8–5 F3–04DAS 4-Channel Isolated Analog Output Selecting Input The following tables show the jumper selections for the various ranges. (Only Signal Ranges channel 1 is used in the example, but all channels must be set.) Bipolar Signal Range Jumper Settings –5 VDC to +5 VDC Channel 1 (JP4) Offset Jumper (JP1)
  • Page 156 8–6 F3–04DAS 4-Channel Isolated Analog Output Special Output The following tables show the jumper selections for some additional ranges that are Signal Ranges not normally found in many applications. Notice you can install or remove the offset jumper to change the settings. (Only channel 1 is used in the example, but all channels must be set.) Signal Range Signal Range...
  • Page 157: Connecting The Field Wiring

    8–7 F3–04DAS 4-Channel Isolated Analog Output Connecting the Field Wiring Wiring Guidelines Your company may have guidelines for wiring and cable installation. If so, you should check those before you begin the installation. Here are some general things to consider. Use the shortest wiring route whenever possible.
  • Page 158: Removable Connector

    8–8 F3–04DAS 4-Channel Isolated Analog Output Removable The F3–04DAS module has a removable connector to make wiring easier. Simply Connector squeeze the top and bottom tabs and gently pull the connector from the module. Wiring Diagram Note1: Shields should be connected to the respective channel’s –...
  • Page 159 8–9 F3–04DAS 4-Channel Isolated Analog Output Combining Current You cannot connect the current outputs in series (like the voltage outputs) but you Outputs can achieve unusual ranges with a few wiring and programming tricks. For example, let’s say an application requires a "20 mA range. By completing the following steps, you could easily accommodate this requirement.
  • Page 160: Module Operation

    8–10 F3–04DAS 4-Channel Isolated Analog Output Module Operation Before you begin writing the control program, it is important to take a few minutes to understand how the module processes and represents the analog signals. Channel Scanning The F3–04DAS module can update one channel per CPU scan. Your RLL program Sequence selects the channel to update, so you have complete flexibility in solving your application requirements.
  • Page 161 8–11 F3–04DAS 4-Channel Isolated Analog Output Understanding the You may recall the F3–04DAS module appears to the CPU as a 16-point module. I/O Assignments These 16 points provide: the digital representation of the analog signal. identification of the channel to receive the data. Since all I/O points are automatically mapped into Register (R) memory, it is very easy to determine the location of the data word that will be assigned to the module.
  • Page 162: Analog Data Bits

    8–12 F3–04DAS 4-Channel Isolated Analog Output Analog Data Bits The remaining twelve bits represent the analog data in binary format. R011 R001 Value Value 0 (LSB) 1024 - data bits 2048 Since the module has 12-bit resolution, the analog signal is converted into 4096 “pieces”...
  • Page 163: Writing The Control Program

    8–13 F3–04DAS 4-Channel Isolated Analog Output Writing the Control Program (DL330 / DL340) Identifying the As mentioned earlier, you can use the channel selection bits to determine which Data Locations channels will be updated. The following diagram shows the location for both the channel selection bits and data bits.
  • Page 164 8–14 F3–04DAS 4-Channel Isolated Analog Output Here’s how you would write the program to perform the Engineering Unit conversion. This example assumes you have calculated or loaded the engineering unit value and stored it in R400. Also, you have to perform this for all channels if you’re using different data for each channel.
  • Page 165 8–15 F3–04DAS 4-Channel Isolated Analog Output There will probably be times when you need more precise control. For example, maybe your application requires 42.9 PSI, not just 42 PSI. By changing the scaling value slightly, we can “imply” an extra decimal of precision. Notice in the following example we’ve entered 429 as the Engineering unit value and we’ve added another digit to the scale.
  • Page 166: Sending Data To A Single Channel

    8–16 F3–04DAS 4-Channel Isolated Analog Output Sending Data to a The following program example shows how to send the digital value to a single Single Channel channel. This example assumes you have already loaded the Engineering unit value in R450 and R451. Send Channel 1 This rung loads the data into the accumulator on DSTR...
  • Page 167 8–17 F3–04DAS 4-Channel Isolated Analog Output Sequencing the This example shows how to send digital values to the module when you have more Channel Updates than one channel. This example will automatically update all four channels over four scans. The example is fairly simple and will work in most all situations, but there are instances where problems can occur.
  • Page 168 8–18 F3–04DAS 4-Channel Isolated Analog Output Writing the Control Program (DL350) Reading Values: There are two methods of reading values: Pointer Method The pointer method (all system bases must be D3–xx–1 to support the and Multiplexing pointer method) Multiplexing You must use the multiplexing method with remote I/O modules (the pointer method will not work).
  • Page 169 8–19 F3–04DAS 4-Channel Isolated Analog Output Multiplexing: This example assumes the module is in Y0 address slot of a D3–xx–1. In this DL350 with a example V2000 contains the data for channel 1 and V2001 for channel 2, etc. in D3–xx–1 Base BCD.
  • Page 170 In this example V2000 contains the BCD data for channel 1 and Conventional V2001 contains the data for channel 2, etc. One more rung would be necessary for DL305 Base channel 4. This rung loads increments V1400 once every V1400 scan from 0–4.
  • Page 171 8–21 F3–04DAS 4-Channel Isolated Analog Output example program continued from previous page Channel 4 V1400 This rung loads the data for channel 4 into the V2003 accumulator when V1400 = 4. The data is stored in V3000 before sending it to the module.
  • Page 172: Calculating The Digital Value

    8–22 F3–04DAS 4-Channel Isolated Analog Output Calculating the Your program must calculate the digital A + U 4095 Digital Value value to send to the analog module. H * L There are many ways to do this, but most applications are understood more easily A = Analog value (0 –...
  • Page 173 8–23 F3–04DAS 4-Channel Isolated Analog Output The example program below shows how you would write the program to perform the engineering unit conversion. This example assumes you have calculated or loaded the engineering unit values in BCD and stored them in V2300 and V2301 for channels 1 and 2 respectively.
  • Page 174: Analog And Digital Value Conversions

    8–24 F3–04DAS 4-Channel Isolated Analog Output Analog and Digital Sometimes it is helpful to be able to quickly convert between the voltage or current Value Conversions signal levels and the digital values. This is especially helpful during machine startup or troubleshooting. The following table provides formulas to make this conversion easier.
  • Page 175 F3–08THM–n 8-Channel Thermocouple Input In This Chapter..Introduction Module Specifications Setting the Module Switches Connecting the Field Wiring Module Operation Writing the Control Program...
  • Page 176: Introduction

    9–2 F3–08THM–n 8-Channel Thermocouple Input Introduction Automatic The F3–08THM–n Thermocouple Input Module provides eight, differential Conversion thermocouple input channels (12-bit resolution). The module automatically converts type E, J, K, R, S or T thermocouple signals into direct temperature readings. No extra scaling or complex conversion is required.
  • Page 177: Module Specifications

    The F3–08THM–n Thermocouple Input appears as a 16-point module. The module Configuration can be installed in any slot configured for 16 points. See the DL305 User Manual for Requirements details on using 16 point modules in DL305 systems. The limitation on the number of...
  • Page 178: Jumper Locations

    9–4 F3–08THM–n 8-Channel Thermocouple Input Setting the Module Jumpers The module is set at the factory for _C thermocouple readings. If this is acceptable Jumper Locations you do not have to change any of the jumpers. The following diagram shows how the jumpers are set.
  • Page 179: Connecting The Field Wiring

    9–5 F3–08THM–n 8-Channel Thermocouple Input Connecting the Field Wiring Wiring Guidelines Your company may have guidelines for wiring and cable installation. If so, you should check those before you begin the installation. Here are some general things to consider. Use the shortest wiring route whenever possible. Use shielded wiring and ground the shield at the signal source.
  • Page 180: Module Operation

    9–6 F3–08THM–n 8-Channel Thermocouple Input Module Operation Before you begin writing the control program, it is important to take a few minutes to understand how the module processes and represents the analog signals. Channel Scanning The F3–08THM–n module supplies1 channel of data per each CPU scan. Since Sequence there are eight channels, it can take up to eight scans to get data for all channels.
  • Page 181: Active Channel Indicator Inputs

    9–7 F3–08THM–n 8-Channel Thermocouple Input Understanding the You may recall the F3–08THM–n module appears to the CPU as a 16-point module. I/O Assignments These 16 points provide: an indication of which channel is active. the digital representation of the temperature. Since all I/O points are automatically mapped into Register (R) memory, it is very easy to determine the location of the data word that will be assigned to the module.
  • Page 182: Temperature Sign Bit

    9–8 F3–08THM–n 8-Channel Thermocouple Input Temperature Sign The most significant bit is used to note the sign of the temperature. If this bit is R011 on, then the temperature is negative. If the bit is off, then the temperature is positive.
  • Page 183: Writing The Control Program

    9–9 F3–08THM–n 8-Channel Thermocouple Input Writing the Control Program (DL330 / DL340) Identifying the Since all channels are multiplexed into a single data word, the control program must Data Locations be setup to determine which channel is being read. Since the module provides input points to the CPU, it is very easy to use the channel status bits to determine which channel is being monitored.
  • Page 184 Register locations. Once the data is in a Register, you can perform math on the data, compare the data against preset values, etc. Since the DL305 CPUs use 8-bit word instructions, you have to move the data in pieces. It’s simple if you follow the example.
  • Page 185: Using The Sign Bit

    9–11 F3–08THM–n 8-Channel Thermocouple Input Using the Sign Bit By adding a couple of simple rungs you can easily monitor the temperature for positive vs. negative readings. (For example, you have to know whether the temperature is +100 _F or –100 _F.) Notice how we’ve changed Channel 2 to control an output that denotes the sign of the temperature.
  • Page 186 9–12 F3–08THM–n 8-Channel Thermocouple Input Scaling the Input If you are using the –1 (50mV) or the Units + Data –2 (100mV) versions, you may want to 4096 scale data represent measurements in engineering units, Units = value in Engineering Units which provide more meaningful data.
  • Page 187 9–13 F3–08THM–n 8-Channel Thermocouple Input The following instructions are required to scale the data. (We’ll continue to use the 42.9 PSI example.) Once we’ve explained how these instructions operate, we’ll show an example program. This example assumes you have already read the analog data and stored the BCD equivalent in R400 and R401 Scale the data This instruction brings the analog value (in BCD)
  • Page 188 9–14 F3–08THM–n 8-Channel Thermocouple Input You probably noticed the previous example yielded 42 PSI when the real value should have been 42.9 PSI. By changing the scaling value slightly, we can “imply” an extra decimal of precision. Notice in the following example we’ve added another digit to the scale.
  • Page 189 9–15 F3–08THM–n 8-Channel Thermocouple Input This example program shows how you can use the instructions to load these equation constants into data registers. The example is written for channel 1, but you can easily use a similar approach to use different scales for all channels if required. You may just use the appropriate constants in the instructions dedicated for each channel, but this method allows easier modifications.
  • Page 190 9–16 F3–08THM–n 8-Channel Thermocouple Input Writing the Control Program (DL350) Reading Values: There are two methods of reading values for the DL350: Pointer Method The pointer method (all system bases must be D3–xx–1 bases to and Multiplexing support the pointer method) Multiplexing You must use the multiplexing method with remote I/O modules (the pointer method will not work).
  • Page 191 9–17 F3–08THM–n 8-Channel Thermocouple Input The table shows the special V-memory locations used with the DL350. Slot 0 (zero) is the module next to the CPU, slot 1 is the module two places from the CPU, and so on. Remember, the CPU only examines the pointer values at these locations after a mode transition.
  • Page 192 9–18 F3–08THM–n 8-Channel Thermocouple Input Multiplexing: The example below shows how to read multiple channels on an F3–08THM DL350 with a Thermocouple module in the X0 address slot of the D3–xx–1 base. If any expansion D3–XX–1 Base bases are used in the system, they must all be D3–xx–1 to be able to use this example.
  • Page 193 9–19 F3–08THM–n 8-Channel Thermocouple Input Channel 5 Select Bit States V1400 This writes channel five data to V2004 when bits X14, X15 and X16 are as shown. V2004 Channel 6 Select Bit States V1400 This writes channel six data to V2005 when bits X14, X15 and X16 are as shown.
  • Page 194 F3–08THM–n 8-Channel Thermocouple Input Multiplexing: The example below shows how to read multiple channels on an F3–08THM DL350 with a Thermocouple module in the X20–X27 / 120 –127 address of a DL305 conventional Conventional base. The first six channels are shown. DL305 Base...
  • Page 195 9–21 F3–08THM–n 8-Channel Thermocouple Input Channel 4 Select Bit States X124 X125 X126 V2200 This writes channel four data to V3003 when bits X124, X125 and X126 are as shown. V3003 Channel 5 Select Bit States X124 X125 X126 V2200 This writes channel five data to V3004 when bits X124, X125 and X126 are as shown.
  • Page 196 9–22 F3–08THM–n 8-Channel Thermocouple Input Units + A H * L Scaling the Most applications usually require Input Data measurements in engineering units, 4095 which provide more meaningful data. H = high limit of the engineering This is accomplished by using the unit range conversion formula shown.
  • Page 197 9–23 F3–08THM–n 8-Channel Thermocouple Input Temperature and Since the thermocouple devices are non-linear, it is much easier to rely on published Digital Value standards for conversion information. The National Bureau of Standards publishes Conversions conversion tables that show how each temperature corresponds to an equivalent signal level.
  • Page 199 F3–08TEMP 8-Channel Temperature Input In This Chapter..Module Specifications Setting the Module Jumpers Connecting the Field Wiring Module Operation Writing the Control Program...
  • Page 200: Module Specifications

    10–2 F3–08TEMP 8-Channel Temperature Input Module Specifications The F3–08TEMP Temperature Input Module provides eight, single-ended temperature inputs for use with AD590 type temperature transmitters (range of 0–1mA.) The module provides 12-bit resolution. You can use the RLL control program to select between _F or _C operation. The following table provides the specifications for the F3–08TEMP Temperature Input Module from FACTS Engineering.
  • Page 201: Compatible Temperature Probe Specifications

    Analog Devices Analog Input The F3–08TEMP Temperature Input appears as a 16-point module. The module can be installed in any slot configured for 16 points. See the DL305 User Manual for Configuration Requirements details on using 16 point modules in DL305 systems. The limitation on the number of...
  • Page 202: Setting The Module Jumpers

    10–4 F3–08TEMP 8-Channel Temperature Input Setting the Module Jumpers Factory Settings The module is set at the factory for eight-channel operation. If this is acceptable you do not have to change any of the jumpers. The following diagram shows how the jumpers are set.
  • Page 203: Connecting The Field Wiring

    10–5 F3–08TEMP 8-Channel Temperature Input Connecting the Field Wiring Wiring Guidelines Your company may have guidelines for wiring and cable installation. If so, you should check those before you begin the installation. Here are some general things to consider. Use the shortest wiring route whenever possible. Use shielded wiring and ground the shield at the signal source.
  • Page 204: Module Operation

    10–6 F3–08TEMP 8-Channel Temperature Input Module Operation Before you begin writing the control program, it is important to take a few minutes to understand how the module processes and represents the analog signals. Channel Scanning The F3–08TEMP module supplies1 channel of data per each CPU scan. Since there Sequence are eight channels, it can take up to eight scans to get data for all channels.
  • Page 205: Active Channel Indicator Inputs

    10–7 F3–08TEMP 8-Channel Temperature Input Understanding the You may recall the F3–08TEMP module appears to the CPU as a 16-point module. I/O Assignments These 16 points provide: an indication of which channel is active. the digital representation of the temperature. Since all I/O points are automatically mapped into Register (R) memory, it is very easy to determine the location of the data word that will be assigned to the module.
  • Page 206: Analog Data Bits

    10–8 F3–08TEMP 8-Channel Temperature Input Analog Data Bits The first twelve bits represent the temperature. The following format is R011 R001 used. Value Value 0 (LSB) - data bits 1024 2048 Typically, the F3–08TEMP resolution enables you to detect a 0.1 _F change in Temperature Input Resolution temperature.
  • Page 207: Writing The Control Program

    _C or _F temperature. (More on the conversion in a minute. For now, let’s just read the value into the accumulator.) Since the DL305 CPUs use 8-bit word instructions, you have to move the data in pieces. It’s simple if you follow the example.
  • Page 208: Converting The Data To Temperature

    150 _C. Temp + 149.9 You can’t quite enter the formula exactly as is with the DL305 instruction set. You have to use a value that implies the decimal point of precision. Plus, since we can move the decimal portion into the accumulator, we do not have to multiply the value by 1000.
  • Page 209 10–11 F3–08TEMP 8-Channel Temperature Input NOTE: This example uses °C. To use °F, simply change the scaling factor and offset instructions to use the F formula. _F scale — Constant of 2276 for scaling factor, constant of 4596 for offset. _C scale —...
  • Page 210: Reading Temperatures Below Zero

    Constant – Accumulator SP775 (on) Since the DL305 encountered a negative number, it turns contact 775 on to indicate a borrow. Below zero correction If 775 is on, the value is temporarily stored in DOUT registers (R500 and R501 in this case).
  • Page 211 10–13 F3–08TEMP 8-Channel Temperature Input Storing the Once you’ve read the data and converted it to a temperature, you can use the Temperature channel selection inputs to store each of the eight channels. Once you’ve stored the data you can perform data comparisons, additional math, etc. Read the data This rung loads the four data bits into the DSTR3...
  • Page 212 10–14 F3–08TEMP 8-Channel Temperature Input Writing the Control Program (DL350) Reading Values: There are two methods of reading values for the DL350: Pointer Method The pointer method (all system bases must be D3–xx–1 bases to and Multiplexing support the pointer method) Multiplexing You must use the multiplexing method with remote I/O modules (the pointer method will not work).
  • Page 213 10–15 F3–08TEMP 8-Channel Temperature Input The table shows the special V-memory locations used with the DL350. Slot 0 (zero) is the module next to the CPU, slot 1 is the module two places from the CPU, and so on. Remember, the CPU only examines the pointer values at these locations after a mode transition.
  • Page 214 10–16 F3–08TEMP 8-Channel Temperature Input Multiplexing: The example below shows how to read an Analog Devices AD590 temperature DL350 with a transducer on an F3–08TEMP Temperature Input module in the X0 address of the D3–XX–1 Base D3–xx–1 Base. If any expansion bases are used in the system, they must all be D3–xx–1 to be able to use this example.
  • Page 215 10–17 F3–08TEMP 8-Channel Temperature Input When the appropriate channel select bits are turned on, the converted analog data is then stored in V-memory locations, starting with V2000 (for channel 1). Channel 1 Select Bit States This writes channel one data to V2000 V2000 when bits X14, X15 and X16 are as shown.
  • Page 216 10–18 F3–08TEMP 8-Channel Temperature Input Channel 4 Select Bit States X124 X125 X126 This writes channel four analog data to V3003 when bits X124, X125 and X126 are as shown. V3003 Channel 5 Select Bit States X124 X125 X126 This writes channel five analog data to V3004 when bits X124, X125 and X126 are as shown.
  • Page 217 10–19 F3–08TEMP 8-Channel Temperature Input Temperature and Sometimes it is helpful to be able to quickly convert between the signal levels and the Digital Value digital values. This is especially helpful during machine startup or troubleshooting. Conversions The following table provides formulas to make this conversion easier. Range If you know the digital value ...
  • Page 219 DL305 Data Types and Memory Map In This Chapter..DL330 Memory Map DL330P Memory Map DL340 Memory Map I/O Point Bit Map Control Relay Bit Map Special Relays Data Registers...
  • Page 220: Dl330 Memory Map

    A–2 DL305 Data Types and Memory Map DL330 Memory Map Memory Type Discrete Memory Register Memory Qty. Symbol Reference Reference Decimal (octal) (octal) Input / Output 000 – 157 R000 – R015 168 Total Points 700 – 767 R070 – R076 Control Relays 160 –...
  • Page 221: Dl330P Memory Map

    A–3 DL305 Data Types and Memory Map DL330P Memory Map Memory Type Discrete Memory Register Memory Qty. Symbol Reference Reference Decimal (octal) (octal) Input / Output 000 – 157 R000 – R015 168 Total Points 700 – 767 R070 – R076 Control Relays 160 –...
  • Page 222: Dl340 Memory Map

    A–4 DL305 Data Types and Memory Map DL340 Memory Map Memory Type Discrete Memory Register Memory Qty. Symbol Reference Reference Decimal (octal) (octal) Input / Output 000 – 157 R000 – R015 168 Total Points 700 – 767 R070 – R076 Control Relays 160 –...
  • Page 223: I/O Point Bit Map

    NOTE: 160 – 167 can be used as I/O in a DL330 or DL330P CPU under certain conditions. 160 – 177 can be used as I/O in a DL340 CPU under certain conditions. You should consult the DL305 User Manual to determine which configurations allow the use of these points.
  • Page 224: Control Relay Bit Map

    I/O, you cannot access these I/O points as a Data Register reference. DL330 Register Control Relay References Number * Control relays 340 – 373 can be made retentive by setting a CPU dipswitch. See the DL305 User Manual for details on setting CPU dipswitches.
  • Page 225 Register Control Relay References Number 200* 277* * Control relays 200 – 277 can be made retentive by setting a CPU dipswitch. See the DL305 User Manual for details on setting CPU dipswitches. DL340 Register Control Relay References Number 340*...
  • Page 226: Special Relays

    A–8 DL305 Data Types and Memory Map Special Relays The following table shows the Special Relays used with the DL305 CPUs. Special Description of Contents CPUs Relay 100 ms clock, on for 50 ms and off for 50 ms. Disables all outputs except for those entered with the SET DL330P OUT instruction.
  • Page 227: Data Registers

    A–9 DL305 Data Types and Memory Map Data Registers The following 8-bit data registers are primarily used with data instructions to store various types of application data. For example, you could use a register to hold a timer or counter preset value.
  • Page 228 A–10 DL305 Data Types and Memory Map DL340 8-Bit Data Registers...
  • Page 229: Dl350 System V–Memory

    A–11 DL305 Data Types and Memory Map DL350 System V-memory System Description of Contents Default Values / Ranges V-memory V7620–V7627 Locations for DV–1000 operator interface parameters V7620 Sets the V-memory location that contains the value. V0 – V3777 V7621 Sets the V-memory location that contains the message.
  • Page 230: Dl350 Comm Port 2 Control Relays

    A–12 DL305 Data Types and Memory Map System Description of Contents V-memory V7751 Fault Message Error Code — stores the 4-digit code used with the FAULT instruction when the instruction is executed. V7752 Reserved V7753 Reserved V7754 Reserved V7755 Error code — stores the fatal error code.
  • Page 231: Dl350 Memory Map

    A–13 DL305 Data Types and Memory Map DL350 Memory Map Memory Type Discrete Memory Word Memory Qty. Symbol Reference Reference Decimal (octal) (octal) Input Points X0 – X777 V40400 – V40437 Output Points Y0 – Y777 V40500 – V40537 Control Relays C0 –...
  • Page 232: Dl350 X Input/ Y Output Bit Map

    A–14 DL305 Data Types and Memory Map DL 350 X Input / Y Output Bit Map This table provides a listing of the individual Input points associated with each V-memory address bit. DL350 Input (X) and Output (Y) Points X Input...
  • Page 233: Dl350 Control Relay Bit Map

    A–15 DL305 Data Types and Memory Map DL350 Control Relay Bit Map This table provides a listing of the individual control relays associated with each V-memory address bit. DL350 Control Relays (C) Address Address V40600 V40601 V40602 V40603 V40604 V40605...
  • Page 234 A–16 DL305 Data Types and Memory Map Additional DL350 Control Relays (C) Address Address 1017 1016 1015 1014 1013 1012 1011 1010 1007 1006 1005 1004 1003 1002 1001 1000 V40640 1037 1036 1035 1034 1033 1032 1031 1030 1027 1026 1025 1024 1023 1022 1021 1020...
  • Page 235: Dl350 Staget Control / Status Bit Map

    A–17 DL305 Data Types and Memory Map DL350 Staget Control / Status Bit Map This table provides a listing of the individual Staget control bits associated with each V-memory address. DL350 Stage (S) Control Bits Address Address V41000 V41001 V41002...
  • Page 236 A–18 DL305 Data Types and Memory Map DL350 Additional Stage (S) Control Bits (continued) Address Address 1017 1016 1015 1014 1013 1012 1011 1010 1007 1006 1005 1004 1003 1002 1001 1000 V41040 1037 1036 1035 1034 1033 1032 1031 1030 1027 1026 1025 1024 1023 1022 1021 1020...
  • Page 237: Dl350 Timer And Counter Status Bit Maps

    A–19 DL305 Data Types and Memory Map DL350 Timer and Counter Status Bit Maps This table provides a listing of the individual timer and counter contacts associated with each V-memory address bit. DL350 Timer (T) and Counter (CT) Contacts Timer...

Table of Contents