Chapter. F2-8AD4DA-1 8-Ch. In / 4-Ch. Out Current Analog. In This Chapter...

Similar documents
Chapter. F2-02DAS-1, Isolated 2-Channel Analog Current Output. In This Chapter...

Chapter. F2-08DA-2, 8-Channel Analog. In This Chapter...

Chapter. F2-02DA-1, F2-02DA-1L 2-Channel Analog. Current Output. In This Chapter...

Chapter. F0-04AD-1, 4-Channel Analog Current Input. In This Chapter...

Chapter. F2-4AD2DA 4-Ch. In / 2-Ch. Out. In This Chapter...

Chapter. F2-04AD-1, 4-Channel Analog Current Input. In This Chapter:

Chapter. F2-02DA-2, F2-02DA-2L 2-Channel Analog. In This Chapter...

Chapter. F2-08AD-2 8-Channel Analog Voltage Input. In This Chapter...

F3 08AD 1 8-Channel Analog Input

CHAPTER F0-08ADH-1 8-CH. ANALOG CURRENT INPUT. In This Chapter...

Chapter. F2-04THM 4-Channel. In This Chapter...

F2-04AD-1, F2-04AD-1L 4-Channel Analog Current Input

This Errata Sheet contains corrections or changes made after the publication of this manual.

F4-04ADS 4-Channel Isolated Analog Input

F2-04AD-2, F2-04AD-2L 4-Channel Analog Voltage Input

F3 16AD 16-Channel Analog Input

Chapter F2-04RTD. 4-Channel RTD Input. In This Chapter...

F4-04DA-1 4-Channel Analog Current Output

D3 04AD 4-Channel Analog Input

F4 04DAS 1 4-Channel Isolated 4 20mA Output

F4 16DA 2 16-Channel Analog Voltage Output

F4 08DA 2 8-Channel Analog Voltage Output

This Errata Sheet contains corrections or changes made after the publication of this manual.

F4-08RTD 8-Channel RTD Input

Chapter. Getting Started. In This Chapter...

P3-HSI High Speed Isolated Sinking/Sourcing Input

P1-04DAL-1 Analog Output

XIOC technology and networking modules

4 In This Chapter...

Differential ±750V peak continuous transformer isolation Common mode: -100dB at 60Hz -3dB at 10Hz, -12dB per octave

P1-04ADL-2 Analog Input

VersaPoint I/O Module

FC Series Signal Conditioners

This Datasheet is for the IC693ALG391. Analog Current Output - 2 Channel.

Continental Hydraulics Installation Manual CEM-RA-A

VersaPoint I/O Module

SmartBlock I/O Module - HE579DAC107/HE579DAC207 8/4 Channel Current and Voltage Output 0-5V / 0-10V / 4-20mA / 0-20mA - CsCAN

7SD/7SH/7SM Temperature Controllers

The Allen-Bradley Servo Interface Module (Cat. No SF1) when used with the Micro Controller (Cat. No UC1) can control single axis

Allen-Bradley. User Manual. SLC 500 Analog I/O Modules. (Cat. Nos NI4, -NIO4I, -NIO4V, -NO4I, and -NO4V)

Voltage Adjustment. Load Regulation

LPR2430ER 2.4 GHz Spread Spectrum Transceiver Module Small Size, Light Weight, +18 dbm Transmitter Power

USB-TEMP and TC Series USB-Based Temperature Measurement Devices

DC Voltage Hawk II H235 Series Advanced Digital Panel Meter

Section 1, General information Introduction... 3 Description... 3 Specifications... 4 Wiring connections... 5

P1-04THM Analog Input

Quantum I/O Modules. At a Glance. The following section provides information on the Quantum Input/Output (I/O) modules. What s in this Chapter?

MODEL AT-10 ANALOG TRANSMITTER

I PM. Current Transducer ITZ 5000-SB FLEX ULTRASTAB = 5000 A

IB IL AI 8/IS IB IL AI 8/IS-PAC

JPQ2 PULSE ACCUMULATOR

High Performance Current Transducer IT 200-S ULTRASTAB = A. ε L

24V dc Analog Block I/O Module

EX CHANNEL ISOLATED THERMOCOUPLE AND VOLTAGE MEASUREMENT INSTRUMENT

8558A 8 1/2 Digit Multimeter

NI DAQPad -6020E Family Specifications

Manual Supplement. This supplement contains information necessary to ensure the accuracy of the above manual.

TOP VIEW. Maxim Integrated Products 1

PHOENIX CONTACT - 03/2007

Advanced Ladder Logic Full IEC Languages 25A for <1 24 VDC DC Switched

INSTRUCTION SHEET. Eaton Logic Controller ELCM TC Temperature Modules. [Applicable Temperature modules] ELCM-TC04ANNN MTN1

EX FEATURES. Stand-alone 48-channel unit with built-in Ethernet controller. Built-in bridge completion and Excitation

IB ST (ZF) 24 PT 100 4/4

FC-33, DC SELECTABLE SIGNAL CONDITIONER

Manual Supplement. This supplement contains information necessary to ensure the accuracy of the above manual.

VersaMax Mixed Discrete / High-Speed Counter Module

DIGEM f 96 x 48 EK. Applications. Description

The SCB-68 is a shielded board with 68 screw terminals for easy connection to National Instruments 68-pin products.

E2P0 DVP

Automationdirect.com. D i r e c t L o g i c L o o p P I D C o p r o c e s s o r F P I D

IBS IP CDIO/R 24-8 IBS IP CDIO/R 24-8/SF

DS1633. High Speed Battery Recharger PIN ASSIGNMENT TO 220 FEATURES. PIN DESCRIPTION V CC Supply Voltage V BAT Battery Output GND Ground

Isolated RTD Modules Product Specifications and Installation Data

SCM5B48 ACCELEROMETER INPUT MODULE USER S MANUAL

VersaMax Mixed Discrete / High-Speed Counter Module

Analog Inputs and Outputs

TVA 080 / 100 / 120 / 180 / 200 / 220 Isolation amplifier active

MEMOCAL 2000/2000S. Hand-held calibrator

This Datasheet is for the IC693ALG220. Analog Voltage Input - 4 Channel.

Features EX1629. High-performance Remote Strain Gage Measurement Unit. Overview. 48 programmable channels in a single unit

DUAL OUTPUT AC CURRENT/VOLTAGE TRANSDUCER

IsoTrans 41. The load capability of the 20 ma source is limited and therefore requires efficient use of the load voltage.

High Performance Current Transducer ITL 900-T = A

Continental Hydraulics Installation Manual CEM-PA-A

NI 6013/6014 Family Specifications

HE693THM884/888 High Resolution Thermocouple Module Product Specifications and Installation

For the electronic measurement of current: DC, AC, pulsed..., with galvanic separation between the primary and the secondary circuit.

Dual 16-Bit DIGITAL-TO-ANALOG CONVERTER

SIMATIC. ET 200S distributed I/O 2AI I 4WIRE HS analog electronic module (6ES7134-4GB62-0AB0) Preface. Properties 1. Parameters 2.

IP-OptoAD16. Opto-Isolated 16-bit A/D Conversion IndustryPack. User s Manual

SilverMax Datasheet. QuickSilver Controls, Inc. NEMA 23 Servomotors.

PRetrans Table of contents

SIMATIC. ET 200S distributed I/O 2AI U HF analog electronic module (6ES7134-4LB02-0AB0) Preface. Properties 1. Parameters 2.

Data sheet CPU 314ST/DPM (314-6CF02)

Model 310H Fast 800V Pulse Generator

CX105 Conductivity/Resistivity Transmitter

2601 System SourceMeter 2602 Multi-Channel I-V Test Solutions

Safety Precautions. Copyright / Trademarks

IB IL TEMP 2 UTH. Function. INTERBUS Inline Terminal With Two Analog Input Channels for Measuring Temperature. Data Sheet 5722B

TIP551. Optically Isolated 4 Channel 16 Bit D/A. Version 1.1. User Manual. Issue December 2009

Transcription:

F-AA- -h. In / -h. Out urrent Analog hapter ombination In This hapter... Module Specifications onnecting the Field Wiring Module Operation Special V-Memory Locations Writing the ontrol Program

hapter : F-AA-, -h. In / -h. Out Analog urrent ombination Module Specifications The F-AA- Analog urrent Input/Output module provides several hardware features: Analog inputs and outputs are optically isolated from the PL logic. The module has a removable terminal block so the module can be easily removed or changed without disconnecting the wiring. All input and output channels are updated in one scan. On-board active analog filtering, two IS microcontrollers and PL provide digital signal processing to maintain precision analog measurements in noisy environments. Low-power MOS design requires only ma from an external. V power supply. Input resolution is independently adjustable for each channel. Users may select bit, bit or bit. Output resolution is bit. roken transmitter detection bit (input < ma) for use with ma input device. Each input can be independently configured to return the present value, or to track and hold the maximum or minimum value. No jumper settings. F-AA- Requirements The F-AA- Analog urrent Input/Output Module requires one of the following components as a PU or controller. Hardware and Firmware Requirements ase Type PU/ontroller Firmware Version --. or later Local -. or later Expansion -M. or later H-E(-F).. or later Remote I/O H-E.. or later IN/ F-AA- -.V ma INPUTS -ma PUTS -ma V V V V IN IN V IN IN V IN IN V IN IN ANALOG F-AA- - L Analog Manual, th Edition Rev.

hapter : F-AA- -h. In / -h. Out Analog urrent ombination The following tables provide the specifications for the F-AA- Analog urrent Input/ Output Module. Review these specifications to be certain that it will meet the requirements of your application. Input Specifications Number of Input hannels, single ended (one common) Input Range ma,, or bit; selectable bit, ma =. μa Input Resolution / Value of LS bit, ma =. μa bit, ma =. μa Input Impedance q, ±.%, /W Maximum ontinuous Overload ±ma Loop Supply Voltage Range. V Filter haracteristics Active low pass; - d @ Hz PL Input Update Rate channels per scan (max. with pointers; local base) Sample uration Time (note) ms @ bit;.ms @ bit; ms @ bit bit =.ms per channel onversion Time (note) bit = ms per channel bit = ms per channel onversion Method Over sampling successive approximation Accuracy vs. temperature ppm / maximum Input Stability and Repeatability ±.% of range (after minute warm-up) Input Inaccuracy.% of range maximum bit = ± counts max. (±.% of range) Linearity Error (end to end) bit = ± counts max. (±.% of range) bit = ± counts max. (±.% of range) Monotonic with no missing codes Full Scale alibration Error (not including offset error) ±.% of range maximum Offset alibration Error ±.% of range maximum ommon Mode Rejection -d min. @ ; -d min. @ /Hz rosstalk ±.% of range max. @, /Hz Recommended External Fuse.A, series fast-acting, current inputs NOTE: The values listed for Sample uration Time and onversion Time are for a single channel, and do not include PL scan times. L Analog Manual, th Edition Rev. -

hapter : F-AA-, -h. In / -h. Out Analog urrent ombination Output Specifications Number of Output hannels Output Range ma Output Resolution bit;. μa / bit Output Type urrent sourcing at ma max. Output Signal at Power-up & Power-down ma External Load Resistance q Maximum Inductive Load mh Allowed Load Type Grounded Output Voltage rop V max.; V min. Max. ontinuous Output Overload Open circuit protected Type of Output Protection Electronically current limited to ma or less PL Output All hannel Update Time ms (local base) Output Settling Time.ms max.; μs min. (full scale change) Output Ripple.% of full scale Accuracy vs. Temperature ± ppm/ max. full scale calibration change (±.% of range/ ) Output Stability and Repeatability ± LS after minute warm-up typical Output Inaccuracy.% of range maximum Linearity Error (end to end) ± counts max. ( ±.% of full scale) Monotonic with no missing codes Full Scale alibration Error (not including offset error) ±.% of range maximum Offset alibration Error ±.% of range maximum rosstalk at, /Hz - d or.% of full scale NOTE: One count in the specifications table is equal to one least significant bit of analog data value ( in ) - L Analog Manual, th Edition Rev.

hapter : F-AA- -h. In / -h. Out Analog urrent ombination General Module Specifications igital Input and Output Points Required point () Inputs point () Outputs Power udget Requirement ma @ V (supplied by the base) External Power Supply Requirement. V, ma maximum plus ma per loop output Field Side to Logic Side Isolation VA applied for second (% tested) Insulation Resistance >Mq @ V Operating Temperature ( F); IE-- Storage Temperature (- F); IE--, --, -- Relative Humidity % (non-condensing); IE-- Environmental Air No corrosive gases permitted; EN- pollution degree Vibration MIL ST.; IE-- Shock MIL ST.; IE-- Noise Immunity NEMA IS-; IE--, --, -- Emissions EN-- (conducted and radiated RF emissions) Module Location Field Wiring Any non-pu slot in local, expansion, or Ethernet remote base of L system with L- or L PU point removable terminal block included. Optional remote wiring using ZL-M remote feed-through terminal block module and ZL-L# cable. Agency Approvals UL; UL- Zone ; E (EN-) Module Placement and onfiguration Requirements The F-AA- analog current input/output module requires discrete input and discrete output points. The module can be installed in any non-pu slot of -- or - local bases, -M expansion bases, H-E()(-F) Ethernet remote bases, H-P Profibus slave bases, or H-WPLx-xx WinPL bases. NOTE: The module is NOT supported by -, -, or - PUs. It is also not supported by -RMSM and -RSSS remote I/O master/slave modules. The available power budget may also be a limiting factor. heck the user manual for the particular module of PU and I/O base for more information regarding power budget and number of local, local expansion, or Ethernet remote I/O points. L Analog Manual, th Edition Rev. -

hapter : F-AA-, -h. In / -h. Out Analog urrent ombination onnecting the Field Wiring Wiring Guidelines our company may have guidelines for wiring and cable installation. If so, check the guidelines before beginning 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 transmitter source. o not ground the shield at both the module and the load or source. o not run the signal wiring next to large motors, high current switches, or transformers. This may cause noise problems. Route the wiring through an approved cable housing to minimize the risk of accidental damage. heck local and national codes to choose the correct method for your application. User Power Supply Requirements The F-AA- requires at least one external power supply for the field devices. The same or separate power sources can be used for the module supply and loop supply. The module requires ma at. V. In addition, each current loop requires ma (a total of ma for twelve current loops). If a separate power supply is used, be sure that it meets these requirements. The L bases have built-in V power supplies that provide up to ma of current. This may be used instead of a separate supply if only one combination module is used with less than ten current loops. In some applications, it is desirable to power the loops separately in a location remote from the PL. This will work as long as the loop s power supply meets the voltage and current requirements, and its minus (-) side and the module supply s minus (-) side are connected together. WARNING: If the internal V base power is used, be sure to calculate the power budget. Exceeding the power budget can cause unpredictable system operation that can lead to a risk of personal injury or equipment damage. The L base has a switching type power supply. As a result of switching noise, ± counts of instability may be noticed in the analog input data if the base power supply is used. If this is unacceptable, try one of the following:. Use a separate linear power supply.. onnect the V common to the frame ground, which is the screw terminal marked G on the base. When using these methods, the input stability is rated at ±.% of range. - L Analog Manual, th Edition Rev.

hapter : F-AA- -h. In / -h. Out Analog urrent ombination urrent Loop Transmitter Impedance Standard ma and ma transmitters and transducers can operate from a wide variety of power supplies. Not all transmitters are alike and the manufacturers often specify a minimum loop or load resistance that must be used with the transmitter. The F-AA- provides ohms resistance for each input channel. If the transmitter being used requires a load resistance below ohms, adjustments do not have to be made. However, if the transmitter requires a load resistance higher than ohms, add a resistor in series with the module. onsider the following example for a transmitter being operated from a V supply with a recommended load resistance of ohms. Since the module has a ohms resistance, add an additional resistor. Example: Supply R = Tr Mr R = R +V V Rresistor toadd Tr Transmitter total resistance requirement Mr Module resistance (internal Ohms) Two-wire Transmitter + In the example, add a ohm resistor (R) in series with the module. R Module hannel IN+ IN - Ohms L Analog Manual, th Edition Rev. -

hapter : F-AA-, -h. In / -h. Out Analog urrent ombination b Wiring iagram The F-AA- module has a removable connector to simplify wiring. Simply squeeze the top and bottom retaining clips and gently pull the connector from the module. Use the following diagram to connect the field wiring. The diagram shows one power supply for both the module and the I/O signal loops. If a separate module and loop supplies are to be used, connect the power supply V commons together. -wire -ma + transmitter See Note -wire -ma transmitter -wire -ma transmitter See Note + - + - + - + - -ma output hannel -ma output hannel -ma output hannel -ma output hannel -ma transmitter shield, hannel -ma transmitter shield, hannel See Note -ma transmitter shield, hannel See Note See Note.A Transmitter power A or User V supply V+ V - I+ I+ OM I+ I+ OM OM I+ OM I+ I+ Ω Ω H A H A H A H A H A H A H A H A NOTE : Shields should be connected at their respective signal source. NOTE : A series,.a, fast-acting fuse is recommended for ma current input loops. OM Ω Ω Ω Ω Ω Ω Internal module wiring Isolated analog circuit power H A H A H A H A Isolated analog circuit common IN/ F-AA- -.V ma INPUTS -ma PUTS -ma V V V V IN IN V IN IN V IN IN V IN IN ANALOG - L Analog Manual, th Edition Rev.

hapter : F-AA- -h. In / -h. Out Analog urrent ombination Module Operation Input hannel Scanning Sequence (Pointer Method) If the F-AA- module is installed in a local (PU) base, the input data for all eight channels can be obtained in one scan. However, only one channel of input data can be obtained if the module is installed in an expansion, remote I/O, or Profibus slave base. Scan ExecuteApplication Program Read the data Scan Read Inputs Store data Write tooutputs Read Inputs ExecuteApplication Program Read the data Store data Write tooutputs Scan N Scan N+ Scan N+ Scan N+ System with analog module installed in local (PU) base. h,,,..., h,,,..., h,,,..., h,,,..., Scan N+ h,,,..., Scan N Scan N+ Scan N+ Scan N+ Scan N+ System with analog module installed in expansion, remote I/O or Profibus slave base. h h h h h L Analog Manual, th Edition Rev. -

hapter : F-AA-, -h. In / -h. Out Analog urrent ombination Output hannel Update Sequence (Pointer Method) If the F-AA- is installed in a local (PU) base, all four output channels can be updated on every scan. However, only one channel can be updated per scan if the module is installed in an expansion, remote I/O, or Profibus slave base. The timing is synchronized with the timing of reading the input channels, so each output channel can be updated every eight scans. Scan Read inputs ExecuteApplication Program alculate the data Write data Write tooutputs Scan Read Inputs ExecuteApplication Program Read the data Store data Write tooutputs Scan N Scan N+ Scan N+ Scan N+ System with analog module installed in local (PU) base. h,,, h,,, h,,, h,,, Scan N+ h,,, Scan N Scan N+ Scan N+ Scan N+ Scan N+ Scan N+ System with analog module installed in expansion, remote I/O or Profibus slave base. h h h h Scan N+ h - L Analog Manual, th Edition Rev.

hapter : F-AA- -h. In / -h. Out Analog urrent ombination Understanding the I/O Assignments The F-AA- module appears to the PU as having discrete input and discrete output points. These points provide the data value, channel identification and settings for resolution, range, and track and hold feature. These bits may never have to be used, but it may be an aid to help understand the data format. Since all output points are automatically mapped to V-memory, the location of the data words that will be assigned to the module can simply be determined. MS MS V Input ata its V The individual bits in these data word locations represent specific information about the analog signal. (The specific memory locations may vary, depending upon the slot where the F-AA- module is located.) MS V F-AA Slot Slot Slot Slot Slot pt pt pt pt In pt Input Input Output pt Out Output - LS LS V - MS - - - V Output ata its V - V LS LS L Analog Manual, th Edition Rev. -

hapter : F-AA-, -h. In / -h. Out Analog urrent ombination Input ata its epending upon the resolution selected, up to bits of the input word represent the analog data in binary format. it Value it Value The upper byte of the second input word represents the broken transmitter detection bits for use only with ma input devices. The lower byte is not usable by the programmer. Output ata its All bits of the first output word represent the analog data in binary format. it Value it Value The second output word is not usable by the programmer. MS MS MS MS V V LS = data bits LS =broken transmitter bits = not usable byprogrammer roken Transmitter etection its (seocond input word) V... Input Address # Input it #... T for hannel # n/a... n/a V V LS = data bits = not usable byprogrammer LS - L Analog Manual, th Edition Rev.

hapter : F-AA- -h. In / -h. Out Analog urrent ombination Special V-Memory Locations The L- and L PUs have special V-memory locations assigned to each base slot that greatly simplifies the programming requirements. These V-memory locations specify: the number of input and output channels to scan the storage locations for the input and output data the resolution for the inputs the range selections for the inputs and outputs the track and hold selections for the inputs Module onfiguration Registers The following tables show the special V-memory used by the PUs for the PU base and local expansion base I/O slots. Slot is the module slot next to the PU or -M module. Slot is the module slot two places from the PU or -M, and so on. The PU needs to examine the pointer values at these locations only after a mode transition. PU ase: Analog In/Out Module Slot-ependent V-memory Locations Slot No. of I/O hannels Enabled & Format V V V V V V V V Input Pointer V V V V V V V V Output Pointer V V V V V V V V Input Resolutions V V V V V V V V (Reserved) V V V V V V V V Input Track & Hold V V V V V V V V Expansion ase -M #: Analog In/Out Module Slot-ependent V-memory Locations Slot No. of I/O hannels Enabled & Format V V V V V V V V Input Pointer V V V V V V V V Output Pointer V V V V V V V V Input Resolutions V V V V V V V V (Reserved) V V V V V V V V Input Track & Hold V V V V V V V V Expansion ase -M #: Analog In/Out Module Slot-ependent V-memory Locations Slot No. of I/O hannels Enabled & Format V V V V V V V V Input Pointer V V V V V V V V Output Pointer V V V V V V V V Input Resolutions V V V V V V V V (Reserved) V V V V V V V V Input Track & Hold V V V V V V V V L Analog Manual, th Edition Rev. -

hapter : F-AA-, -h. In / -h. Out Analog urrent ombination - Expansion ase -M #: Analog In/Out Module Slot-ependent V-memory Locations Slot No. of I/O hannels Enabled & Format V V V V V V V V Input Pointer V V V V V V V V Output Pointer V V V V V V V V Input Resolutions V V V V V V V V (Reserved) V V V V V V V V Input Track & Hold V V V V V V V V Expansion ase -M #: Analog In/Out Module Slot-ependent V-memory Locations Slot No. of I/O hannels Enabled & Format V V V V V V V V Input Pointer V V V V V V V V Output Pointer V V V V V V V V Input Resolutions V V V V V V V V (Reserved) V V V V V V V V Input Track & Hold V V V V V V V V Number of I/O hannels Enabled & ata Format Load this V-memory location with a constant that specifies the number of enabled I/O channels and their data formats. The upper byte applies to the inputs, and the lower byte applies to the outputs. The most significant nibbles specify the data formats, and the least significant nibbles specify the number of channels enabled. V-memory Locations for No. of I/O hannels Enabled & Format No. of hannels Enabled Input Kxx Kxx Kxx Kxx Kxx Kxx Kxx Kxx inary Input Kxx Kxx Kxx Kxx Kxx Kxx Kxx Kxx Output Kxx Kxx Kxx Kxx n/a n/a n/a n/a inary Output Kxx Kxx Kxx Kxx n/a n/a n/a n/a Input Selection Resolution its Each of the eight input channels can be individually disabled or configured for,, or bit resolution. V: (specific memory location will vary depending upon the base and slot location). H L H L H L RnH = Resolution channel n High bit RnL = Resolution channel n Low bit H L L Analog Manual, th Edition Rev. H L H L H L H L

hapter : F-AA- -h. In / -h. Out Analog urrent ombination Input Resolution Select RnH RnL bit bit bit isabled Example: Input channels are bit, channel is bit, and channel is bit, and channels and are disabled; V - F(hex). H L H L H L H L F Input Track and Hold Selection its The track and hold feature for each of the eight inputs can be individually configured for minimum, maximum, no hold, or reset held value. This configuration can be changed on the fly while the program is running. V: (specific memory location will vary depending upon the base and slot location). H L H L H L H TnH = Track and hold channel n High bit TnL = Track and hold channel n Low bit Track and Hold Select TnH TnL Result No Track and Hold returns real time input value Track and Hold Minimum Value maintains lowest measured value Track and Hold Maximum Value maintains highest measured value Reset Track and Hold Value resets previously held input value L H Example: Input channel track and hold settings: - = none, ch - = minimum, ch - = maximum, ch = reset; V=E(hex). H L H L H L H L E H H L L L H H H L L L H H H L L L H H H L L L L Analog Manual, th Edition Rev. -

hapter : F-AA-, -h. In / -h. Out Analog urrent ombination Writing the ontrol Program onfiguring the Module to Read/Write I/O (Pointer Method, L- and L only) The example programs starting on the facing page show how to configure the special V-memory locations to read/write data from/to the I/O module. The module configuration rung needs to be read by the PU only after a mode transition, and does not need to be read every scan. Place the configuration rung anywhere in the ladder program, or in the initial stage if stage programming instructions is being used. This is all that is required to read the input data and write the output data to/from the V-memory locations. Once the input data is in V-memory, math can be used for data calculations, compare the data against preset values, and so forth. V and V are used as the beginning of the data areas in the example, but any user V-memory locations can be used. Also, these examples assume that the module is installed in slot of the PU base. The pointer V-memory locations determined by the layout of the application should be used. - L Analog Manual, th Edition Rev.

hapter : F-AA- -h. In / -h. Out Analog urrent ombination Module onfiguration Example : Number of hannels = in, out, ata Format = binary in, out, Input Resolution = bit, Input Track and Hold = none, real time value. SP L K V LA O V LA O V L KAAAA V L K V Loads aconstant that specifies the number ofchannels toscan and the data format. (See note below regarding data format.) The upper byte applies to the inputs. The most significant ribble (MSN) selects the data format (=, =inary), and the LSN selects the number of channels (,,,,,,, or ) to scan. The lower byte applies to the outputs. The most significant nibble (MSN) selects the data format (=, =inary), and the LSN selects the number of channels (,,, or ) to scan. Special V-memory location assigned to slot that contains the number of input and output channels. This constant designates the first V-memory location that will be used to store the input data. For example, the O entered here would mean: h - V, V; h - V, V; h - V, V; h - V, V; h - V, V; h - V, V; h - V, V; h - V, V. For each channel, the st word holds the data, and the nd word is needed only when displaying or bit data in format. The nd word contains the most significant digit in those cases. The constant O isstored here. V isassigned to slot and acts as a pointer, which means the PU will use the value in this location todetermine exactly where tostore the incoming data. This constant designates the first V-memory location that will be used for the analog output data. For example, the O entered here would mean: h - V, V; h - V, V; h - V, V; h - V, V. For each channel, the st word holds the data, and the nd word is needed only when displaying or bit data in format. The nd word contains the most significant digit in those cases. The constant O isstored here. V isassigned to slot and acts as a pointer, which means the PU will use the value in this location to determine exactly where to obtain the output data. Loads a constant that specifies the resolutions for each of the input channels. This constant is determined by the values of two bits per channel, asshown previously in Input Resolutions Selection its. The constant AAAA(hex) configures each of the eight input channels for bits. Special V- memory location assigned to slot that contains the resolution settings for each ofthe inputchannels. Loads aconstant that specifies the track and hold settings for each of the input channels. This constant is determined bythe values of two bits per channel, aspreviously shown in Track and Hold Selection its. The constant configures each ofthe eight input channels for no track and hold. Special V- memory location assigned to slot that contains the track and hold settings for each ofthe inputchannels.. NOTE: inary data format is recommended for or bit resolution input data, especially if the input data is to be used in any math instructions (L User Manual, ch.). There is only one V-memory word ( bits) available for the actual data. Although the bit resolution maximum value of can be stored in one word using either binary or formats, the and bit resolution maximum values of and both exceed the format s maximum single word capacity of. ouble word math would be required for or bit data in format. inary data format is also useful for displaying data on some operator interfaces. L Analog Manual, th Edition Rev. -

hapter : F-AA-, -h. In / -h. Out Analog urrent ombination Module onfiguration Example : Number of hannels = in, out, ata Format = binary in, out, Input Resolution = bit, Input Track and Hold = all inputs maximum value. SP L K V LA O V LA O V L K V L KAAAA V Loads aconstant that specifies the number ofchannels to scan and the data format. (See note below regarding data format.) The upper byte applies tothe inputs. The most significant nibble (MSN) selects the data format (=, =inary), and the LSN selects the number ofchannels (,,,,,,, or ) to scan. The lower byte applies tothe outputs. The most significant nibble (MSN) selects the data format (=, =inary), and the LSN selects the number ofchannels (,,, or ) to scan. Special V-memory location assigned to slot that contains the number ofinput and output channels. This constant designates the first V-memory location that will be used to store the input data. For example, the O entered here would mean: h - V, V; h - V, V; h - V, V; h - V, V. For each channel, the st word holds the data, and the nd word is needed only when displaying or bit data in format. The nd word contains the most significant digit in those cases. The constant O is stored here. V isassigned to slot and acts as a pointer, which means the PU will use the value inthis location todetermine exactly where tostore the incoming data. This constant designates the first V-memory location that will be used for the analog output data. For example, the O entered here would mean: h - V, V; h - V, V; h - V, V; h - V, V. For each channel, the st word holds the data, and the nd word is needed only when displaying or bit data in format. The nd word contains the most significant digit in those cases. The constant O is stored here. V is assigned to slot and acts as a pointer, which means the PU will use the value in this location to determine exactly where to obtain the outputdata. Loads a constant that specifies the resolutions for each of the input channels. This constant is determined by the values of two bits per channel, as shown previously in Input Resolutions Selection its. The constant (hex) configures each of the eight input channels for bits. Special V- memory location assigned to slot that contains the resolution settings for each ofthe inputchannels. Loads aconstant that specifies the track and hold settings for each of the inputchannels. This constant is determined bythe values of two bits per channel, aspreviously shown in Track and Hold Selection its. The constant AAAA(hex) configures each ofthe eight input channels to track and hold the maximum value. Special V- memory location assigned to slot that contains the track and hold settings for each ofthe inputchannels. NOTE: inary data format is recommended for or bit resolution input data, especially if the input data is to be used in any math instructions (L User Manual, ch.). There is only one V-memory word ( bits) available for the actual data. Although the bit resolution maximum value of can be stored in one word using either binary or formats, the and bit resolution maximum values of and both exceed the format s maximum single word capacity of. ouble word math would be required for or bit data in format. inary data format is also useful for displaying data on some operator interfaces. - L Analog Manual, th Edition Rev.

hapter : F-AA- -h. In / -h. Out Analog urrent ombination Module onfiguration Example : Number of hannels = in, out, ata Format = in, out, Input Resolution = bit, Input Track and Hold = all inputs minimum value. SP L K V LA O V LA O V L K V L K V Loads aconstant that specifies the number ofchannels toscan and the data format. (See note below regarding data format.) (The leading zero in this L instruction is shown for clarity. It can be entered by the programmer, but it will be dropped by the programming software.) The upper byte applies to the inputs. The most significant nibble (MSN) selects the data format (=, =inary), and the LSN selects the number of channels (,,,,,,, or ) to scan. The lower byte applies to the outputs. The most significant nibble (MSN) selects the data format (=, =inary), and the LSN selects the number of channels (,,, or ) to scan. Special V-memory location assigned to slot that contains the number of input and output channels. This constant designates the first V-memory location that will be used to store the input data. For example, the O entered here would mean: h - V, V; h - V, V; h - V, V; h - V, V. For each channel, the st word holds the data, and the nd word is needed only when displaying or bit data in format. The nd word contains the most significant digit in those cases. The constant O isstored here. V isassigned to slot and acts as a pointer, which means the PU will use the value in this location todetermine exactly where tostore the incomingdata. This constant designates the first V-memory location that will be used for the analog output data. For example, the O entered here would mean: h - V, V; h - V, V. For each channel, the st word holds the data, and the nd word is needed only when displaying or bit data in format. The nd word contains the most significant digit inthose cases. The constant O isstored here. V isassigned to slot and acts as a pointer, which means the PU will use the value in this location to determine exactly where to obtain the outputdata. Loads a constant that specifies the resolutions for each of the input channels. This constant is determined by the values of two bits per channel, asshown previously in Input Resolutions Selection its. The constant configures each of the eight input channels for bits. Special V- memory location assigned to slot that contains the resolution settings for each ofthe inputchannels. Loads a constant that specifies the track and hold settings for each of the input channels. This constant is determined by the values of two bits per channel, as previously shown in Track and Hold Selection its. The constant (hex) configures each of the eight input channels totrack and hold the minimum value. Special V- memory location assigned to slot that contains the track and hold settings for each ofthe inputchannels.. NOTE: inary data format is recommended for or bit resolution input data, especially if the input data is to be used in any math instructions (L User Manual, ch.). There is only one V-memory word ( bits) available for the actual data. Although the bit resolution maximum value of can be stored in one word using either binary or formats, the and bit resolution maximum values of and both exceed the format s maximum single word capacity of. ouble word math would be required for or bit data in format. inary data format is also useful for displaying data on some operator interfaces. L Analog Manual, th Edition Rev. -

hapter : F-AA-, -h. In / -h. Out Analog urrent ombination Module it Input Resolution When the ma module inputs are configured for bit resolution, the analog signal is converted into ( ) counts ranging from. For example, a ma signal would be, and a ma signal would be. This is equivalent to a binary value of to, or to FFF hexadecimal. The diagram shows how this relates to the signal range. Each count can also be expressed in terms of the signal level by using the equation shown. Module it Input Resolution When the ma module inputs are configured for bit resolution, the analog signal is converted into ( ) counts ranging from. For example, a ma signal would be, and a ma signal would be. This is equivalent to a binary value of to, or to FFF hexadecimal. The diagram shows how this relates to the signal range. Each count can also be expressed in terms of the signal level by using the equation shown. Module it Input Resolution When the ma module inputs are configured for bit resolution, the analog signal is converted into ( ) counts ranging from. For example, a ma signal would be, and a ma signal would be. This is equivalent to a binary value of to, or to FFFF hexadecimal. The diagram shows how this relates to the signal range. Each count can also be expressed in terms of the signal level by using the equation shown. ma ma it Resolution ma it Resolution = H L H = high limit of the signal range L=low limit of the signal range ma / =.μa per count ma ma ma it Resolution it Resolution = H L H = high limit of the signal range L=low limit of the signal range ma / =.μa per count ma ma ma it Resolution it Resolution = H L H = high limit of the signal range L=low limit of the signal range ma / =.μa per count - L Analog Manual, th Edition Rev.

hapter : F-AA- -h. In / -h. Out Analog urrent ombination Analog and igital Input ata Value onversion Sometimes it is useful to be able to quickly convert between the signal levels and the digital values. This is especially helpful during machine startup or troubleshooting. The table provides formulas to simplify the conversion. A = ()(A max ) / ( max ) = (A)( max ) / (A max ) A = Analog value from current transmitter A max = Maximum analog value = igital value of input provided to PL PU max = Maximum digital value Analog and igital Input ata onversion Resolution -mitter Range If the digital value is If the analog known signal is known bit ma ma A = ()() / = (A)() / bit ma ma A = ()() / = (A)() / bit ma ma A = ()() / = (A)() / For example, if bit resolution is being used, and the signal measured is ma, the formula can be easily used to determine the digital value () that should be stored in the V-memory location that contains the data. = (A) = () (.) = Notice that the mathematical relationship between the analog and digital values remains the same regardless of whether ma or ma transmitters are used. Only the engineering unit input scaling will vary, as will be shown later. Input Value omparisons: Analog, igital, Engineering Units The following table shows how the input analog, digital, and engineering unit values are related to each other. The above example is a measurement of pressure from.. PSI, using a multiplier of for one implied decimal place. Analog, igital, and Engineering Units Input omparisons Analog (ma) igital igital igital E.U. E.U. it ma ma it it Transmitter Transmitter N/A L Analog Manual, th Edition Rev. -

hapter : F-AA-, -h. In / -h. Out Analog urrent ombination Scaling the Input ata Most applications require measurements in engineering units, which provide more meaningful data. This can be accomplished by using the conversion formulas shown below. EU = (A - A offset )(EU H - EU L ) / (A max - A offset ) EU = ( - offset )(EU H - EU L ) / ( max - offset ) A = analog value from current transmitter A offset = ma offset when using - ma current transmitter = digital value of input provided to PL PU offset = digital value of ma offset with - ma current transmitter EU = engineering units EU H = engineering units high value EU L = engineering units low value The following examples show a bit measurement of pressure (PSI) from... The the analog value needs to be multiplied by in order to imply a decimal place when the value is viewed with the programming software. Notice how the calculations differ when the multiplier is used. Scaling Example Analog Value =. ma; Transmitter = ma; Resolution = bit Result should yield. PSI Example without multiplier EU = ( offset ) EU = ( ) EU = EU H EU L max offset Example without multiplier EU = ()( offset ) EU = ()( ) EU = EU H EU L max offset NOTE: inary data format is recommended for or bit resolution input data, especially if the input data is to be used in any math instructions (L User Manual, ch.). There is only one V-memory word ( bits) available for the actual data. Although the bit resolution maximum value of can be stored in one word using either binary or formats, the and bit resolution maximum values of and both exceed the format s maximum single word capacity of. ouble word math would be required for or bit data in format. inary data format is also useful for displaying data on some operator interfaces. - L Analog Manual, th Edition Rev.

hapter : F-AA- -h. In / -h. Out Analog urrent ombination Input Engineering Unit onversion Example : ata format =, Input hannel data memory location = V, hannel resolution = bits, hannel engineering units =.. PSI, hannel input device = ma transmitter Engineering Unit onversion Example : ata format = binary, hannel data memory location = V, hannel resolution = bits, hannel engineering units =.. PSI, hannel input device = ma transmitter SP SP L V MUL K IV K V L V MUL K IV KFFF V Load input channel digital value into accumulator. Multiply by ; EU range for implied decimal. ivide by ; bit digital range for - ma. Store input EUvalue in V. Load input channel digital value into accumulator. Multiply by [hex ]; EU range for implied decimal. ivide by [hex FFF]; bit digital range for - ma. (Use [KFFFF] for bit; [KFFF] for bit.) Store input EUvalue in V. NOTE: The above examples use SP (which is always on) as a permissive contact for the engineering unit conversions.,, etc. could also be used as a permissive contact. L Analog Manual, th Edition Rev. -

hapter : F-AA-, -h. In / -h. Out Analog urrent ombination Input Engineering Unit onversion Example : ata format =, hannel data memory location = V, hannel resolution = bits, hannel engineering units =.. PSI, hannel input device = ma transmitter. SP V K is on when analog input is less than ma; =ma @ bits. (This rung not used if input transmitter is - ma.) L K V L V SU V MUL K IV K V L K V Load constant into accumulator; bit digital value for ma offset. Store input offset value in V. Load input channel digital value into accumulator. (If input not less than ma.) Subtract ; bit digital value for ma offset. (This rung not used if input transmitter is - ma.) Multiply by ; EU range for implied decimal. ivide by ; bit digital range for - ma. (For - ma xmitter: use.) Store input EUvalue in V. Load value ofinto accumulator. (If input less than ma.) (This rung not used if input transmitter is- ma.) Store value of inv (This rung not used if input transmitter is - ma.) - L Analog Manual, th Edition Rev.

hapter : F-AA- -h. In / -h. Out Analog urrent ombination Input Engineering Unit onversion Example : ata format = binary, hannel data memory location = V, hannel resolution = bits, hannel engineering units =.. PSI, hannel input device = ma transmitter. V K is on when analog input isless than ma; hex = =ma @ bits. (Use K for bit; K for bit.) (This rung not used if input transmitter is- ma.) L V TOR SUR R MULR R IVR R RTO V L K V Load input channel digital value into accumulator. (If input not less than ma.) onvert from binary toreal data format. Subtract ; bit digital value for ma offset. (Use R for bit; R for bit.) (This rung not used if input transmitter is - ma.) Multiply by ; EU range for implied decimal. ivide by ; bit digital range for - ma. (Use R for bit; R for bit.) (For - ma xmitter: use bit R, bit R, bit R.) onvert to binary data format. Store input EUvalue in V. Load value ofinto accumulator. (If input less than ma.) (This rung not used if input transmitter is- ma.) Store value of inv (This rung not used if input transmitter is - ma.) Using the Input Track and Hold Feature The input Track and Hold feature allows the individual inputs to be separately configured to maintain their maximum or minimum data values. If No Track and Hold is selected, the present real time value of the input will be stored in the input data V-memory location. If Track and Hold minimum value is selected, the first input value less than or equal to full scale will be read and maintained until a lower value is measured, or until Track and Hold is reset. If maximum value is selected, the first input value greater than or equal to zero will be read and maintained until a higher value is measured, or until Track and Hold is reset. To reset Track and Hold, write a value of one to the Track and Hold selection high and low bits. When Track and Hold is reset, the module will display the real-time input value. When the selection is changed from reset to minimum value or maximum value, the input will start over as described previously. L Analog Manual, th Edition Rev. -

hapter : F-AA-, -h. In / -h. Out Analog urrent ombination Track and Hold Example: Number of hannels = in, out, ata Format = binary in, binary out, Input resolution = bits, Input Track and Hold = channel reset. SP L K V LA O V LA O V L K V L K V L K V L K V L K V Rung, Module onfiguration: Input: binary data format, channel. Output: binary data format, channel. Module location: local base, slot. Input data st memory location: V Output data st memory location: V Input resolution: bit channel. Input Track and Hold: reset channel. loads value of (binary ) into the Track and Hold Selection register. This sets input channel for Track and Hold Maximum Value. As the analog value varies, only ameasured value higher than the previously stored value will be written tov. loads a value of (binary )into the Track and Hold Selection register. This sets input channel for Track and Hold Reset Value. Real - time measured values will be written tov until another Track and Hold Selection is made. loads value of (binary ) into the Track and Hold Selection register. This sets input channel for Track and Hold Minimum Value. As the analog value varies, only a measured value lower than the previously stored stored will be written to V. - L Analog Manual, th Edition Rev.

hapter : F-AA- -h. In / -h. Out Analog urrent ombination Module it Output Resolution Since the ma output module has bit resolution, the analog signal is converted into ( ) counts ranging from -. For example, a ma signal would be, and a ma signal would be. This is equivalent to a binary value of, or FFFF hexadecimal. The diagram shows how this relates to the signal range. Each count can also be expressed in terms of the signal level by using the equation shown. igital and Analog Output ata Value onversion Sometimes it is useful to be able to quickly convert between the signal levels and the digital values. This is especially helpful during machine startup or troubleshooting. The table below provides formulas to make this conversion easier. A = A min + [()(A max - A min ) / ( max )] = (A - A min )( max ) / (A max - A min ) Resolution Output Range If the digital value is known If the analog signal level is known. bit ma A = + For example, if a ma analog output signal is needed, the formula could be used to determine the digital value () to be stored in the V-memory location that contains the output data. ma = ( ) = ()(.) = Output Value omparisons: Analog, igital, Engineering Units The table to the right shows how the output analog, digital, and engineering unit values are related to each other. The example is a measurement of pressure from.. PSI, using a multiplier of for one implied decimal place. ma ma it Output Resolution Resolution = H L H = high limit of the signal range L=low limit of the signal range ma / =.μa per count A = analog current output value A max = maximum analog value A min = minimum analog value = digital value from PL PU max = maximum digital value = (A ) Analog, igital, and Engineering Units Output omparisons Analog (ma) igital it E.U. L Analog Manual, th Edition Rev. -

hapter : F-AA-, -h. In / -h. Out Analog urrent ombination alculating the igital Output Value The value sent to the bit analog output module must be in digital form. A very good method to do this is to convert the value into engineering units. Use the formula shown on the right to accomplish this. Adjustments to the formula may be needed depending on the scale chosen for the engineering units. onsider the following example which controls pressure from.. PSI. y using the formula, the digital value can be determined that can be sent to the module. The example shows the conversion required to yield. PSI. Notice the formula divides by, because the representation of. includes a multiplier of to allow for the implied decimal. The division corrects for the multiplier. = EU (EU H EU L ) alculating Output ata: Engineering Units onversion The below example program shows how to write the program to perform the engineering unit conversion to output the bit data format of. This example assumes that the engineering units have been calculated or loaded, including a multiplier of, in format and stored it in V for output channel. Output Engineering Unit onversion / Output ata alculation Example: ata format = binary, hannel data memory location = V, hannel engineering units =.. PSI, SP max L V IN MUL KFFFF IV K V max = EU (EU H EU L ) = digital value EU = engineering units EU H = engineering unit range high limit EU L = engineering unit range low limit = = () Load output channel data value into accumulator; EUvalue for implied decimal. onvert from to binary data format. Multiply by ; FFFF hex = ; bit maximum digital value. ivide by ; hex = ; EU range for implied decimal. Store output digital value in V. - L Analog Manual, th Edition Rev.