Home
Chapter 11 - AutomationDirect
Contents
1. Analog Data Bits The first twelve bits represent the analog V40501 data in binary format MSB LSB Bit Value Bit Value 0 1 6 64 de ea 1 2 7 128 2 4 8 256 3 8 9 512 data bits 4 16 10 1024 5 32 11 2048 Output Enable The last output can be used to update V40501 outputs If this output is off the outputs MSB LSB are cleared Y Y 3 2 7 0 output enable Module Resolution Since the module has 12 bit resolution the analog signal is converted from 4096 counts ranging from 0 4095 212 For example with a 0 to 10V range send a 0 to get a OV signal and send 4095 to get a 10V signal This is equivalent to a binary value of 0000 0000 0000 to 1111 1111 1111 or 000 to FFF hexadecimal Each countcan also be expressed in terms of the signal level by using the following equation 0 10V me HS ine Resolution 2095 H high limit of the signal range L low limit of the signal range ov 0 4095 The following table shows the smallest change in signal level due to a digital value change of 1 LSB count Voltage Range Signal Span Divide By Smallest Output Change 0 to 5V 4095 1 22 mV 0 to 10V 10 volts 4095 2 44 mV DL205 Analog Manual 7th Ed Rev B 4 10 F2 08DA 2 8 Channel Analog Voltage Output Writing the Control Program Calculating the Digital Value Your program has to calculate
2. Channel 8 Write to outputs J iy J DL205 Analog Manual 7th Ed Rev B 4 10 EES F2 08DA 2 8 Channel Analog Voltage Output Channel Update If you are using pointers Pointer Method you can update all channels on every Sequence for a scan This is because the DL240 250 1 260 CPU supports special V memory DL240 DL250 1 or locations that are used to manage the data transfer This is discussed in more detail DL260 CPU in the section on Writing the Control Program re 2 2 3 NO lt L o As a gt Less x q ee Pointer Method Scan 5 a Read inputs System With DL240 250 1 260 CPU Using Point er Method y Scan N gt Channel 1 2 8 Calculate the data Execute Application Program Write data CD Scan N 1 gt Channel 1 2 8 Scan N 2 gt Channel 1 2 8 Scan N 3 gt Channel 1 2 8 Scan N 4 Channel 1 2 8 y Write to outputs iy F DL205 Analog Manual 7th Ed Rev B 4 10 F2 08DA 2 8 Channel Analog Voltage Output Understanding You may recall the F2 O8DA 2 module requires 16 discrete output points
3. lt EN lt J Chs V7 Voltage source V8 See lt oo amp DtoA Converter F2 08DA 2 DL205 Analog Manual 7th Ed Rev B 4 10 11 7 F2 08DA 2 8 Channel Analog Voltage Output you can only get new data from the CPU at the rate of one channel per scan Since there are eight channels it can take eight scans to update all channels However if you are only using one channel you can update that channel on every scan The multiplexing method can also b used for the DL240 250 1 260 CPUs Module Operation 7 TI Channel Update Before you begin writing the control program it is important to take a few minutes to sg Sequence for a understand how the module processes and represents the analog signals FO DL230 CPU If you are using multiplexing ladder you can send one channel of data to the output S 3 Multiplexing module on each scan The module refreshes both field devices on each scan but On oO Cc System Using Scan Multiplex Method a DL230 Read inputs a Scan N gt Channel 1 Execute Application Program Calculate the data Scan N 1 gt Channel 2 Scan N 2 gt Channel 3 Write data Scan N 3 gt Channel 4 E CD Scan N 8
4. Pointer Method and Multiplexing Pointer Method Example XISSI x 230 240 250 1 260 F2 08DA 2 8 Channel Analog Voltage Output There are two methods of reading values e The pointer method e Multiplexing method You can use either method when using DL240 DL250 1 and DL260 CPUs but for ease of programming it is strongly recommended that you use the pointer method You must use the multiplexing method when using DL230 CPUs and with remote I O modules the pointer method will not work Once you have calculated the data values shown previously you must enter the program that actually updates the module The DL240 250 1 260 has special V memory locations assigned to each base slot that greatly simplify the programming requirements By using these V memory locations you can e specify the number of channels to update e specify where to obtain the output data NOTE DL240 CPUs with firmware release version 3 0 or later and DL250 CPUs with firmware release 1 33 are required to support this method The following program example shows how to setup these locations Place this rung anywhere in the ladder program or in the initial stage if you are using stage programming You may recall in the previous example we used V2000 through V2007 to store the calculated values Also in the previous examples we had the analog module installed in slot 3 You should use the appropriate memory locations for y
5. Specifications General Specifications Analog Output Configuration Requirements F2 08DA 2 8 Channel Analog Voltage Output The following tables provide the specifications for the F2 O8DA 2 Analog Output Module Review these specifications to make sure the module meets your application requirements 15VDC clamped by transient voltage suppressor 1kQ 0 5V range 10kQ 0 10V range Linearity Error end to end 1 count 0 025 of full scale maximum Conversion Settling Time 400 us maximum full scale change 4 5ms to 9ms for digital out to analog out Full Scale Calibration Error 12 counts max 25 C 77 F offset error included Offset Calibration Error 3 counts maximum 25 C 77 F Accuracy vs Temperature 57 ppm C full scale calibration change including maximum offset change of 2 counts Maximum Inaccuracy 0 3 25 C 77 F 0 45 0 60 C 32 140 F PLC Update Rate 1 channel per scan maximum Multiplexing 8 channels per scan maximum Pointer DL240 DL250 1 260 only 12 binary data bits 3 ch ID bits 1 output enable Output Points Required bit 16 Y output points required 60 mA 5VDC supplied by base 24VDC 10 140mA outputs fully loaded 0 to 60 C 32 to 140 F 20 to 70 C 4 to 158 F 5 to 95 non condensing NEMA ICS3 304 OO Noise Immunity NEMA ICS3 304 One count in the specification table is equal to one least significant bit of the analog data value 1 in 4096
6. o Top Board Bottom Board N Voltage The table lists both possible combinations of voltage ranges and data formats Range and along with the corresponding jumper settings Output Combinations Voltage Range Output Data Format Jumpers Setting top board Oto Oto5V o 0 4095 4095 Instal These graphs show the voltage range to output data format relationship for each of the two selections Ranges OV 5V DL205 Analog Manual 7th Ed Rev B 4 10 3 2 2 5 NO lt Q As n gt Less x q ee F2 08DA 2 8 Channel Analog Voltage Output Connecting the Field Wiring Wiring Guidelines User Power Supply Requirements Sk Wiring Diagram Typical User Wiring Ch1 load 1K 10K ohms minimum NOTE 1 Shields should be connected to to the OV terminal of the module NOTE 1 Ch 8 load 1K 10K ohms minimum z z Di a 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 e Use the shortest wiring route whenever possible e Use shielded wiring and ground the shield at the signal source Do not ground the shield at both the module and the load e Do not run the signal wiring next to large motors high current switches or transformers This may cause noise problems e Route th
7. The F2 08DA 2 analog output requires 16 discrete output points The module can be installed in any slot of a DL205 system but the available power budget and discrete I O points can be limiting factors Check the user manual for your particular model of CPU and I O base for more information regarding power budget and number of local local expanison or remote I O points DL205 Analog Manual 7th Ed Rev B 4 10 2 5 lt o r D Ke D S 5 Z S i f U T N fo 5 a 2 5 DAO to ae oO n gt LL P Z 9 F2 08DA 2 8 Channel Analog Voltage Output Special Placement Even though the module can be placed in any slot it is important to examine the configuration As you can see in the section on writing the program you use DL230 and V memory locations to extract the analog data If you place the module so the Remote I O Bases output points do not start on a V memory boundary the instructions cannot access the data This also applies when module is placed in remote base D2 RSSS in Requirements CPU slot Correct F2 08DA 2 N N w A Lye ye ye ye ae 0 ono oo oo oo ono o Sloto Slot1 Slot2 Slot3 Slot4 a 2 16pt 8pt 16pt 16pt 8pt
8. in the D the Output CPU These points provide the data value and an indication of which channel to Assignments update Note if you are using a DL240 250 1 260 CPU you may never have to use P these bits but it may help you understand the data format 5N Since all output points are automatically mapped into V memory it is very easy to BS determine the location of the data word that will be assigned to the module oF On F2 08DA 2 x 5 A a a e a i o EE E 2H SlotO Slot1 Slot2 Slot3 Slot4 e O 16pt 8pt 16pt 16pt 8pt E oO Input Input Output Output Output itl xo X20 Yo Y20 Y40 g rl G z X17 X27 Y17 Y37 Y47 C C C C C C V40500 V40502 V40501 MSB LSB YYYY Y 3333 2 7 6 5 4 Data Bits 0 Within this word location the individual bits represent specific information about the analog signal Channel Select Three of the outputs select the active Outputs channel Remember the V memory bits V40501 are mapped directly to discrete outputs MSB LSB The binary weight of these three bits determines the selected channel By controlling these outputs you can select which channel gets updated Dw ow lt roO On lt channel select outputs DL205 Analog Manual 7th Ed Rev B 4 10 11 10 F2 08DA 2 8 Channel Analog Voltage Output pe 5 2 2 5 DAO to O F oO n gt LL P Z 9 oo
9. so on Remember the CPU only examines the pointer values at these locations after a mode transition Also if you use the DL230 multiplexing method verify that these addresses in the CPU are zero ne f O T N The Table below applies to the DL240 DL250 1 and DL260 CPU base CPU Base Analog Output Module Slot Dependent V memory Locations T gt lt 2 mr D a D O ne a puree ieee Vee eT 7 The Table below applies to the DL250 1 or DL260 expansion base 1 7 Expansion Base D2 CM 1 Analog Output Module Slot Dependent V memory Locations s Jof i efs 4 sJef No of Channels V36000 v36001 V36002 v36003 V36004 V36005 V36006 V36007 36020 v36021 V36022 v36023 v36024 V36025 v36026 V36027 The Table below applies to the DL250 1 or DL260 expansion base 2 7 7 7 38007 V36027 Expansion Base D2 CM 2 Analog Output Module Slot Dependent V memory Locations pe ee ee 7 36207 eee The Table below applies to the DL260 CPU expansion base 3 s TO Tt Te fT 8 8 8 The Table below applies to the DL260 CPU expansion base 4 Expansion Base D2 CM 4 Analog Output Module Slot Dependent V memory Locations Tey s sys ey 7 vasso vasa v30303 v36304 VaEa05 Va06 No of Channels V36300 V36301 V36302 V36303 V36304 V36305 V36306 V36307 36320 V36321 V36322 V36323 V36324 V36325 V36326 V363
10. the digital value to send to the analog A u 4995 for 09 4095 output format module There are many ways to do H L this but most applications are understood more easily if you use measurements in engineering units Bs ene valent 21029 This is accomplished by using the U Engineering units conversion formula shown H High limit of the engineering You may have to make adjustments unit range to the formula depending on the L Low limit of the engineering scale you choose for the unit range engineering units Consider the following example which controls pressure from 0 0 to 99 9 PSI By using the formula you can easily determine the digital value that should be sent to the module The example shows the conversion required to yield 49 4 PSI Notice the formula uses a multiplier of 10 This is because the decimal portion of 49 4 cannot be loaded so you must adjust the formula to compensate for it A 2023 4095 4095 A 10U gt 10 H L A 494 7000 0 The following example program shows how you would write the program to perform the engineering unit conversion to output data formats 0 4095 This example assumes you have calculated or loaded the engineering unit values in BCD format and stored them in V2300 and V2301 for channels 1 and 2 respectively The DL205 offers instructions that allow you to perform math operations using BCD format It is usually easier to perform any math calculations in BCD and then conve
11. 27 DL205 Analog Manual 7th Ed Rev B 4 10 pe 5 a 2 5 DAO to O F oO n gt LL P Z 9 Writing Data Multiplexing YiVvivi v 230 240 250 1 260 DL205 Analog Manual 7th Ed Rev B 4 10 F2 08DA 2 8 Channel Analog Voltage Output The following example shows how to write data using the mutliplexing method Co out LD V2007 BIN ORD K7000 C10 LD V2006 BIN ORD K6000 C7 A Un LD V2005 BIN ORD K5000 C6 LD V2004 BIN ORD K4000 C5 a Continued Restarts the update sequence Updates channel 8 Updates channel 7 Updates channel 6 Updates channel 5 F2 08DA 2 8 Channel Analog Voltage Output Writing Data Multiplexing Example C3 Continued rAr Updates channel 4 BIN x ne f U T N ORD K3000 C4 o Paap Updates channel 3 ji g lt o je Co oO xe Cc s __ BIN ORD K2000 C3 ee Cc ee Updates channel 2 BIN ORD K1000 C2 Oy A Updates channel 1 BIN ORD KO C1 o OUT Sends the data to the module Our v40501 example starts with V
12. 40501 but the 37 actual value depends on the location of the module in your application ou ae DL205 Analog Manual 7th Ed Rev B 4 10 3 2 5 DAO lt o As n gt Less x q ee Sending Data to One Channel Analog and Digital Value Conversions F2 08DA 2 8 Channel Analog Voltage Output If you are using more than one channel or if you want to control the updates separately use the following program The LD instruction loads the data into the SP1 accumulator Since SP1 is used this rung LD V2000 automatically executes on every scan You could also use an X C etc permissive contact BIN The BIN instruction converts the accumulator data to binary you must omit this step if you have already converted the data elsewhere ANDD The ANDD instruction masks off the channel select KOFFF bits to prevent an accidental channel selection The OUT instruction sends the data to the module Our OUT example starts with V40501 but the actual value V40501 depends on the location of the module in your application Y34 a RST Y34 Y35 Y36 OFF selects channel 1 for updating Y35 Csi Y36 RST Y37 ou Y37 is the output enable bit 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 follo
13. 5 Input Input Output Output Output a o E XO X20 YO Y20 Y40 a h m X17 X27 Y17 Y37 Y47 gt E C E MT V40500 V40502 V40501 Data is correctly entered so output MSB points start on a V memory boundary COCO SEE SES Y Y 3 2 7 0 Incorrect F2 08DA 2 My N Ny a rom O Slot1 Slot2 Slot3 Slot4 g Z 2 oe T ts ae ca a a comm cI Xo X20 Y20 Y30 D al X17 X27 Y17 Y47 3 C Ci C C C l Data is split over two locations so instructions cannot access data from a DL230 or when module is placed in a remote base Nee 40502 BE NSE V40501 ice ESSERE Bases Y YY Y Y YY Y 5 54 4 3 32 2 7 07 0 7 07 0 To use the V memory references required for the multiplexing method the first output address assigned to the module must be one of the following Y locations The table also shows the V memory addresses that correspond to these Y locations DL205 Analog Manual 7th Ed Rev B 4 10 F2 08DA 2 8 Channel Analog Voltage Output 11 5 Setting the Module Jumper The F2 08DA 2 Analog Output module uses a jumper for selecting the 0 5V or 0 10V voltage ranges This figure shows the jumper location and how to set it for either voltage range n He j jee O if N 0 5V 0 10V p gt lt o a D Q D z S 5 lt S O O
14. F2 08DA 2 8 Channel Analog Voltage Output In This Chapter Module Specifications Setting the Module Jumper Connecting the Field Wiring Module Operation Writing the Control Program EES F2 08DA 2 8 Channel Analog Voltage Output H Module Specifications 5 NO a o The F2 08DA 2 Analog Output module P s provides several hardware features OUT ANALOG a gt e Supports DL230 DL240 DL250 1 we and DL260 CPUs see firmware z requirements below l e Analog outputs are optically F2 08DA 2 isolated from the PLC logic 21 6 26 4 e The module has a removable soo our 0 10VDC terminal block so the module can OV be easily removed or changed 24V R without disconnecting the wiring V1 Re e Can update all channels in one 38 scan DL240 DL250 1 and DL260 V4 ea only V5 Kay e Outputs are voltage sourcing ee R e Outputs can be configured for V8 E either of these ranges Kei 1 0 to 5 VDC F2 08DA 2 2 Oto 10 VDC C 3 Firmware Requirements F2 08DA 2 To use this module DL230 CPUs must have firmware version 2 7 or later To use the pointer method of writing values DL240 CPUs require firmware version 3 0 or later and DL250 CPUs require firmware version 1 33 or later DL205 Analog Manual 7th Ed Rev B 4 10 Output
15. e wiring through an approved cable housing to minimize the risk of accidental damage Check local and national codes to choose the correct method for your application The F2 08DA 2 requires a separate field side power supply Each module requires 21 6 26 4VDC at up to 140mA current The DL205 bases have built in 24 VDC power supplies that provide up to 300mA of current If you are using only a couple of analog modules you can use this power source instead of a separate supply If you want to use a separate supply choose one that meets the power requirements of your application WARNING If you are using 24 VDC output power from the base make sure you calculate the power budget Exceeding the power budget can cause unpredictable system operation that can lead to a risk of personal injury or damage to equipment The F2 08DA 2 module has a removable connector to make wiring easier Squeeze the latches on both ends of the connector and gently pull it from the module Use the following diagram to connect the field wiring OUT ANALOG 8CH 21 6 26 4VDC Internal 140mA Module Wiring l F2 08DA 2 0 VDC gt 5V t gs fe XW 24 VDC 251 15V Kaour See 38 ov 0 10VDC NOTE 1 pe OV 1 Voltage source V1 DtoA V2 Converter V3 lt EN D lt a 5 lt
16. our application The pointer method automatically converts values to binary SPO LD or LD i K8 we K88 Loads a constant that specifies the number of channels to scan and the data format The lower byte most significant nibble MSN selects the data format 0 BCD 8 Binary the LSN selects the number of channels 1 8 The binary format is used for displaying data on some operator interfaces The DL230 240 CPUs do not support binary math functions whereas the DL250 does Special V memory location assigned to slot 3 that contains the Crees number of channels to scan This loads an octal value for the first V memory location that will be LDA used to store the output data For example the 02000 entered here 92000 would designate the following addresses Ch1 V2000 Ch 2 V2001 Ch8 V2007 The octal address 02000 is stored here V7703 is assigned to slot OUT 3 and acts as a pointer which means the CPU will use the octal V7703 value in this location to determine exactly where to store the output data DL205 Analog Manual 7th Ed Rev B 4 10 F2 08DA 2 8 Channel Analog Voltage Output The tables below show the special V memory locations used by the DL240 DL250 1 and DL260 for the CPU base and local expansion base 1 O slots Slot 0 zero is the module next to the CPU or D2 CM module Slot 1 is the module two places from the CPU or D2 CM and
17. rt the value to binary before you send the data to the module SP1 LD The LD instruction loads the engineering units used with channel 1 into 2300 the accumulator This example assumes the numbers are BCD Since 1 SP1 is used this rung automatically executes on every scan You could also use an X C etc permissive contact MUL vr Multiply the accumulator by 4095 to start the conversion DIV Divide the accumulator by 1000 because we used a multiplier of 10 K1000 we have to use 1000 instead of 100 OUT Store the BCD result in V2000 the actual steps required to send the V2000 data are shown later SP1 The LD instruction loads the engineering units used with channel 2 into LD 2301 the accumulator This example assumes the numbers are BCD Since 1 SP1 is used this rung automatically executes on every scan You could also use an X C etc permissive contact MUL 7 K4095 Multiply the accumulator by 4095 to start the conversion DIV Divide the accumulator by 1000 because we used a multiplier of 10 K1000 we have to use 1000 instead of 100 OUT Store the BCD result in V2001 the actual steps required to send the 72001 data are shown later DL205 Analog Manual 7th Ed Rev B 4 10 2 5 lt N oJ FO Be o on 7N S 5 lt S 3 2 5 XO lt o As a gt Less x G ee Writing Values
18. wing table provides formulas to make this conversion easier Remember if you embed the sign information into the data value you must adjust the formulas accordingly If you know the digital value If you know the signal level O to 10V A p 4095 A 0 to 5V _ 5D 4095 For example if you are using the 0 10V 4095 range and you know you need a 6V signal 10 A level use this formula to determine the digital value D that will be stored in the D 4095 6v V memory location that contains the data DL205 Analog Manual 7th Ed Rev B 4 10
Download Pdf Manuals
Related Search
Related Contents
manual de instalação e operação Instruction on mounting and use Prescriptions de montage et ᚃể܇ỉἰὊᜒࡈ ෞᝲဃᴾգႆѣ ᵢᵴᵢ ẲЈẲộẴ ՠԼἘἋἚỉܱ७ ẅẅẅЈЭᜒࡈӖẬ Hannspree HannsPad SN10T1 Quick Start Guide 取扱説明書 - エー・アンド・デイ Copyright © All rights reserved.
Failed to retrieve file