Home
Chapter 5 - AutomationDirect
Contents
1. a 5 a Vo AD L oe Ke a gt Lic Q DL205 Analog Manual 7th Ed Rev B 4 10 Input Specifications General Specifications Values in parenthesis with an asterisk are for older modules with two circuit board design and date codes 0609D4 and previous Values not in parenthesis are for single circuit board models with date code 0709E1 and above The F2 08AD 2 Analog Input appears as a 16 point discrete input module The module can be installed in any slot of aDL205 system The available power budget and discrete I O points are the 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 Analog Input Configuration Requirements F2 08AD 2 8 Channel Analog Voltage Input The following tables provide the specifications for the F2 O8AD 2 Analog Input Module Review these specifications to make sure the module meets your application requirements Number of Channels Input Ranges Resolution Step Response Crosstalk Active Low Pass Filtering Input Impedance Maximum Continuous Overload Linearity Error End to End Input Stability Full Scale Calibration Error Offset error not included Offset Calibration Error Maximum Inaccuracy Accuracy vs Temperature 8 single ended one common 0 5V 0 10V 5V 10V 12 bi
2. Scan N 1 Ch 1 2 3 8 Scan N 2 lt Ch 1 2 3 8 Store data H Scan N 3 lt Ch 1 2 3 8 y Scan N 4 Ch 1 2 3 8 Write to Outputs DL205 Analog Manual 7th Ed Rev B 4 10 g PT N SS as vo oY N O Cc cS 5 5 a No AD L ox Ke a gt Lic Q F2 08AD 2 8 Channel Analog Voltage Input Analog Module Updates Understanding the Input Assignments Analog Data Bits Even though the channel updates to the CPU are synchronous with the CPU scan the module asynchronously monitors the analog transmitter signal and converts the signal to a 12 bit binary representation This enables the module to continuously provide accurate measurements without slowing down the discrete control logic in the RLL program For the vast majority of applications the values are updated much faster than the signal changes However in some applications the update time can be important The module takes approximately 4ms to sense 95 of the change in the analog signal Note this is not the amount of time required to convert the signal to a digital representation The conversion to the digital representation takes only a few microseconds Many manufacturers list the conversion time but it is the settling time of the filter that really determines the update time You may reca
3. J3 Jumper J3 ret B B Cx J A24 w J3 is located on the smaller circuit board which is on top of the motherboard J Install J3 for 0 5V or 5V operation Remove J3 or store on single pin for O to 10 Install J3 for 0 5V or 5V operation or 10V operation Remove J3 or store on single pin for 0 to 10 or 10V operation z 5 a fa To AD L ox Ke a gt Lic Q DL205 Analog Manual 7th Ed Rev B 4 10 5 7 F2 08AD 2 8 Channel Analog Voltage Input Connecting the Field Wiring Wiring Guidelines User Power Supply Requirements VA O PENR 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 transmitter source Do not ground the shield at both the module and the source e Do not run the signal wiring next to large motors high current switches or transformers This may cause noise problems e Route the 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 You may use the same or separate power source for the transmitter voltage supply The DL205 bases have
4. Analog Voltage Input Special Placement Even though the module can be placed in any slot it is important to examine the Requirements configuration if you are using a DL230 CPU As you will see in the section on writing DL230 and the program you use V memory locations to extract the analog data If you place Remote I O Bases the module so that the input points do not start on a V memory boundary the instructions cannot access the data This also applies when placing this module ina remote base using a D2 RSSS in the CPU slot Input Input Input Input Output Correct F2 08AD 2 ay B A LI LI LI LI LI LI ea E8 Be EB BE f BE Slot 0 Slot 1 Slot 2 Slot 3 Slot 4 Tl 8pt 8pt 16pt 16pt 16pt XO X10 X20 X40 YO X7 X17 X37 X57 Y17 C C C C C aroraa V40400 V40402 V40401 Data is correctly entered so input points MSB oe LSB start on a V memory boundary xX xX 3 2 7 0 Incorrect F2 08AD 2 N N r a aa 3 LI j 1 1 LI j 0 Slot 1 Slot 2 Slot 3 Slot 4 8pt 46pt 16pt 16pt 16pt i Input In Input Input Output a
5. may need to know the direction for a motor With the pointer method you cannot use the last input X37 in the previous examples to show the sign for each channel because the DL240 250 1 260 read all eight channels in one scan If you tried to use X37 you would only be monitoring the last channel that was read You would not be able to determine the sign for the previous channels There is a simple solution e If you get a value greater than or equal to 8001 the value is negative The sign bit is the most significant bit which combines 8000 to the data value If the value is greater than or equal to 8001 you only have to mask the most significant bit and the active channel bits to determine the actual data value The following program shows how you can accomplish this Since you always want to know when a value is negative these rungs should be placed before any other operations that use the data such as math instructions scaling operations and so forth Also if you are using stage programming instructions these rungs should be in a stage that is always active Note you only need this logic for each channel that is using bipolar input signals The example only shows two channels Check Channel 1 a Load channel 1 data from V memory into the f wen accumulator Remember the data can be negative Contact SP1 is always on ANDD This instruction m
6. pam c xo X10 x50 YO N X7 X27 x47 X Y17 C C C C Data is split over two locations so instructions cannot access data from a DL230 MMMA EEEREN X XX x x X X X 3 3 2 2 4 17 0 7 07 o 7 0 To use the required V memory references the first input address assigned to the module must be one of the following X locations The table also shows the V memory addresses that correspond to these X locations ss 5 a Vo AD L oe Ke a gt Lic Q DL205 Analog Manual 7th Ed Rev B 4 10 F2 08AD 2 8 Channel Analog Voltage Input 5 5 Setting the Module Jumpers Selecting the There are three jumpers labeled 1 2 Number of and 4 that are used to select the Channels number of channels that will be used See the figures below to locate the jumpers on your module The module is set from the factory for eight channel operation all three jumpers installed Any unused channels are not processed For example if you only select channels 1 thru 3 channels 4 thru 8 will not be active The following table shows how to set the jumpers to select the number of channels No of Channels 1 2 4 For example to select 8 channel 1 No No No operation leave all three jumpers 1 2 Yes No No installed To select only channel 1 1 2 33 No Yes No remove or st
7. the accumulator Copies the value in the accumulator to J OUTD location V1400 V1400 Converts the real number in the RTOB accumulator to a binary value and stores the result in the accumulator Converts the binary value in the accumulator BCD to a BCD number Note The BCD instruction is not need for PID loop PD loop PD is a binary number Loads the BCD number filtered value from OUT the accumulator into location V1402 to use in V1402 your application or PID loop DL205 Analog Manual 7th Ed Rev B 4 10
8. top and bottom retaining clips and gently pull the connector from the module Use the following diagram to connect the field wiring IN ANALOG CH1 CH1 8CH Voltage Transmitter Cie i I anes CH3 F2 08AD 2 Voltage Transmitter CH44 S 10 30v0C CH3 CH5 amp gt me Voltage CH6 Oo B Transmitter gt E CH4 CH7 P gt Voltage CH8 D Transmitter E OVDC gt Ap ANALOG IN 38 oo 0 5 0 10VDC ae ee 5 4 10VDC 24 VDC o o aD Gn T XN AA Transmitter l Supply Note 1 Connect unused channels CH5 CH6 CH7 CH8 in this diagram to common 0 VDC z 5 a fa To AD L ox Ke a gt Lic Q DL205 Analog Manual 7th Ed Rev B 4 10 F2 08AD 2 8 Channel Analog Voltage Input Module Operation Channel Scanning Sequence for a DL230 CPU Multiplexing Channel Scanning Sequence for a DL240 DL250 1 o DL260 CPU Pointer Method Before you begin writing the control program it is important to take a few minutes to understand how the mod
9. F2 08AD 2 8 Channel Analog Voltage Input In This Chapter Module Specifications Setting the Module Jumpers Connecting the Field Wiring Module Operation Writing the Control Program 5 2 F2 08AD 2 8 Channel Analog Voltage Input Module Specifications NOTE A re designed F2 08AD 2 with a single circuit board design was released in 2009 The jumper link location is different See Setting the Module Jumpers on page 5 5 Also some specifications were changed on page 5 3 Otherwise the re designed module functions the same as the prior design The F2 08AD 2 Analog Voltage Input module provides several hardware N ANALOG features e Analog inputs are optically isolated from the PLC logic l l e The module has a removable F2 08AD 2 terminal block so the module can be easily removed or changed without disconnecting the wiring e With a DL240 DL250 1 or DL260 CPU you can update all channels in one scan 10 30VDC 5mA ov Firmware Requirements To use this module D2 230 CPUs must have firmware version 1 6 or later To use Fests the pointer method of writing values SLBa I0vDC D2 240 CPUs require firmware version 2 2 or later a y All versions of the D2 250 1 and D2 260 CPU s firmware support this module and the pointer method
10. asks the sign bit of the BCD data if it K7FFF is set Without this step negative values will not be correct so do not forget to include it OUT Put the actual signal value in V2020 Now you can use V2020 the data normally V2000 K8001 CI Channel 1 data is negative when C1 is on a value of 1 OUT reads as 8001 2 is 8002 etc Check Channel 2 SP1 LD Load channel 2 from V memory into the accumulator v2001 Remember the data can be negative Contact SP1 is always on ANDD This instruction masks the sign bit of the BCD data if it K7FFF is set Without this step negative values will not be correct so do not forget to include it OUT Put the actual signal value in V2021 Now you can use V2021 the data normally V2001 K8001 Ga Channel 2 data is negative when C2 is on a value of 1 OUT reads as 8001 2 is 8002 etc DL205 Analog Manual 7th Ed Rev B 4 10 Reading Values Multiplexing Viviv iv 230 240 250 1 260 Single Channel Selected F2 08AD 2 8 Channel Analog Voltage Input The DL230 CPU does not have the special V memory locations that allow you to automatically enable the data transfer Since all channels are multiplexed into a single data word the control program must be setup to determine which channel is being read Since the module appears as X input points to the CPU itis very easy to use the active channel status bits to determine which channel is being monitor
11. built in 24 VDC power supplies that provide up to 300mA of current You may use this instead of a separate supply if you are using only acouple of analog modules It is desirable in some situations to power the transmitters separately in a location remote from the PLC This will work as long as the transmitter supply meets the voltage and current requirements and the transmitter s minus side and the module supply s minus side are connected together WARNING If you are using the 24 VDC base power supply 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 DL205 base has a switching type power supply As a result of switching noise you may notice 3 5 counts of instability in the analog input data if you use the base power supply If this is unacceptable try one of the following 1 Use a separate linear power supply 2 Connect the 24VDC common to the frame ground which is the screw terminal marked G on the base By using these methods the input stability is rated at 1 count Unused inputs should be shorted together and connected to common DL205 Analog Manual 7th Ed Rev B 4 10 rd PT N SS as vo oY N O Cc cS F2 08AD 2 8 Channel Analog Voltage Input Wiring Diagram The F2 08AD 2 module has a removable connector to make wiring easier Simply squeeze the
12. ctive Channel Three of the inputs are binary encoded Indicator Inputs to indicate the active channel V40401 remember the V memory bits are MSB LSB mapped directly to discrete inputs The DEN inputs are automatically turned on and X XX xX off to indicate the active channel for each 333 2 scan 654 0 Scan X34 X35 X36 Channel I channel inputs N Off Off Off 1 N 1 On Off Off 2 N 2 Off On Off 3 N 3 On On Off 4 N 4 Off Off On 5 N 5 On Off On 6 N 6 Off On On 7 N 7 On On On 8 Module The MSB input is the broken transmitter 40401 Diagnostic no 24 volts indicator and sign indicator MSB LSB and Sign If bit is on and the data is zero there is no M 24 volts input power or the terminal blockis X loose or missing If the data is not zero 3 then the input represents the sign bit on x P diagnostic input sign bit Module Since the module has 12 bit unipolar Unipolar Bipolar Resolution resolution the analog signal is Ranges Ranges converted into 4096 counts ranging from 0 4095 212 For example with a 0 to 10V scale a OV signal would be 0 and a 10V signal would be 4095 This is oy equivalent to a binary value of 0000 0000 0000 to 1111 1111 1111 or 000 to EV 4095 0 4095 FFF hexadecimal The diagram shows how mle relates to eae signal range Unipolar Resolution H L The bipolar ranges utilize a sign bit to 4095 provide 13 bit resolution A value of B
13. e complete data word into the accumulator The V memory location depends on the I O configuration See Appendix A for the memory map This instruction masks the channel identification bits Without this the values used will not be correct so do not forget to include it When the module is not busy and X34 X35 and X36 are off channel 1 data is stored in V2000 CO is reset to indicate that channel 1 s value is positive If X37 is on then the data value represents a negative voltage CO is set to indicate that channel 1 s value is negative Invert the bit pattern in the accumulator Channel 1 data is in double word starting at V2040 When the module is not busy and X34 is on and X35 and X36 are off channel 2 data is stored in V2001 C1 is reset to indicate that channel 2 s value is positive If X37 is on then the data value represents a negative voltage C1 is set to indicate that channel 2 s value is negative Invert the bit pattern in the accumulator Channel 2 data is in double word starting at V2042 rd N N SS aS vo oY N O Cc cS DL205 Analog Manual 7th Ed Rev B 4 10 ot 5 a fa Vo AD L ox Ke a gt Lic Q F2 08AD 2 8 Channel Analog Voltage Input Analog Power Failure Detection Scaling the Input Data The analog module has an on board RISC like microcontroller that can diagnose analog input circuit problems You can easily create a simple ladder rung to de
14. ed Note this example is for a module installed as shown in the previous examples The addresses used would be different if the module was used in a different slot You can place these rungs anywhere in the program or if you are using stage programming instructions place them in a stage that is always active Loads the complete data word into the accumulator The V memory location depends on the I O configuration See Appendix A for the memory map This instruction masks the channel identification bits Without this the values used will not be correct so do not forget to include it It is usually easier to perform math operations in BCD so it is best to convert the data to BCD immediately You can leave out this instruction if your application does not require it When X34 X35 and X36 are off channel 1 data is stored in V2000 SP1 iD 40401 ANDD L KFFF BCD Store Channel 1 X34 X35 X36 W K 2000 Store Channel 2 X34 X35 X36 hi AEA Ton i a ee When X34 is on X35 and X36 are off and broken transmitter detect is off channel 2 data is stored in V2001 repeat for channels 3 6 Store Channel 7 X34 X35 X36 OUT AS 1 V2006 When X35 and X36 are on and X34 is off channel 7 data is stored in V2006 Store Channel 8 X34 X35 X36 L IL j OUT 1 fF 1 fT I v2007 When X34 X35 and X36 are on channel 8 data is
15. 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 2 that contains the vee number of channels to scan This loads an octal value for the first V memory location that will be LDA used to store the incoming data For example the 02000 entered 92000 here would designate the following addresses Chi V2000 Ch2 V2001 Ch3 V2002 Ch4 V2003 Ch5 V2004 Ch6 V2005 Ch7 V2006 Ch8 V2007 The octal address 02000 is stored here V7672 is assigned to slot OUT 2 2 and acts as a pointer which means the CPU will use the octal 767 value in this location to determine exactly where to store the incoming data DL205 Analog Manual 7th Ed Rev B 4 10 F2 08AD 2 8 Channel Analog Voltage Input 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 I 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 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 The Table below applies to the DL240 DL250 1 and DL260 CPU base CPU Base Analog Input Module Slot Dependent V mem
16. he sign The following program shows how you can accomplish this Since you always want to know when a value is negative these rungs should be placed before any operations that use the data such as math instructions scaling operations and so forth Also if you are using stage programming instructions these rungs should be in a stage that is always active Note you only need the additional logic for those channels that are using bipolar input signals The example shows two channels but you can repeat these steps for all eight channels if necessary Load Data SP1 LD V40401 ANDD KFFF Store Channel 1 X34 X35 X36 BCD PT 4 OUT V2000 Co RS co Store Channel 2 X34 X35 X36 SET mA OUT V2001 C1 ______ RST C1 SE DL205 Analog Manual 7th Ed Rev B 4 10 Loads the complete data word into the accumulator The V memory location depends on the I O configuration See Appendix A for the memory map This instruction masks the channel identification bits Without this the values used will not be correct so do not forget to include it It is usually easier to perform math operations in BCD so it is best to convert the data to BCD immediately You can leave out this instruction if your application does not require it When the module is not busy and X34 X35 and X36 are off channel 1 data is sto
17. ial V memory locations assigned to each base slot that greatly simplify the programming requirements These V memory locations e specify the data format e specify the number of channels to scan e specify the storage locations NOTE DL240 CPUs with firmware release 2 2 or later supports this method DL250 CPUs with firmware release version 1 06 or later support this method If you must use the DL230 example module placement in the base is very important Review the section earlier in this chapter for guidelines The example program 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 instructions This is all that is required to read the data into V memory locations Once the data is in V memory you can perform math on the data compare the data against preset values and so forth V2000 is used in the example but you can use any user V memory location In this example the module is installed in slot 2 You should use the V memory locations for your module placement The pointer method automatically converts values to BCD SPO LD or LD K 0800 ot K 8800 Loads a constant that specifies the number of channels to scan and the data format The upper byte most significant nibble MSN selects the data format i e O BCD 8 Binary the LSN selects the number of channels i e 1 2 3 4 5 6 7 or 8 The binary
18. ides better resolution than those modules that do not offer a sign bit The following table provides formulas to make this conversion easier If you know the pun value If you know the signal level O to 5V 5V to 5V O to 10V 10V to 10V For example if you are using the 10 to 10V range and you have measured the D 4095 a signal at 6V use the following formula to 10 determine the digital value that is stored 4095 in the V memory location that contains Ds to the data DL205 Analog Manual 7th Ed Rev B 4 10 g PT N SS as vo oY N O Cc cS ss 5 a Vo AD L 0 oS a gt Lic Q F2 08AD 2 8 Channel Analog Voltage Input Filtering Input Noise DL250 1 DL260 CPUs Only X XIS lv 230 240 250 1 260 Add the following logic to filter and smooth analog input noise in DL250 1 and DL260 CPUs This is especially useful when using PID loops Noise can be generated by the field device and or induced by field wiring The analog value in BCD is first converted to a binary number because there is nota BCD to real conversion instruction Memory location V1400 is the designated workspace in this example The MULR instruction is the filter factor which can be from 0 1 to 0 9 The example uses 0 2 A smaller filter factor increases filtering You can use a higher precision value but it is not generally needed The filtered value is then conver
19. iplier Example with multiplier we _ yn H L te H L Units A 4095 Units 10 A 4095 ao 100 0 te 100 0 Units 2024 4095 Units 20240 4095 Units 49 Units 494 Handheld Display Handheld Display V 2001 V 2000 V 2001 V 2000 0000 0049 0000 0494 This value is more accurate DL205 Analog Manual 7th Ed Rev B 4 10 Analog and Digital Value Conversions F2 08AD 2 8 Channel Analog Voltage Input The example below shows how you would write the program to perform the engineering unit conversion This example assumes you have BCD data loaded into the appropriate V memory locations using instructions that apply for the model of CPU you are using Note this example uses SP1 which is always on You could also use an X C etc permissive contact ie LD When SP1 is on load channel 1 data to the accumulator V2000 MUL Multiply the accumulator by 1000 to start the conversion K1000 DIV Divide the accumulator by 4095 K4095 OUT Store the result in V2010 V2010 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 Remember this module does not operate like other versions of analog input modules that you may be familiar with The bipolar ranges use 0 4095 for both positive and negative voltages The sign bit allows this which actually prov
20. ipolar Resolution a 4095 can represent the upper limit of either side of the range Use the sign bit H or L high or low limit of the range to determine negative values Each count can also be expressed in terms of the signal level by using the equation shown The following table shows the smallest detectable signal change that will result in one LSB change in the data value for each input signal range Range Signal Span Divide By Smallest Detectable H L Change Oto 1 Oto 10V e ww 4095 2 44 2 44mV i f gt 7 N 10 to a ae 2 44 0 to 5V BV 4095 1 22 mV 5V to 5V 8191 1 22 mV a lt oO je Co oO ge s DL205 Analog Manual 7th Ed Rev B 4 10 a 5 a Vo AD L oe Ke a gt Lic Q F2 08AD 2 8 Channel Analog Voltage Input Writing the Control Program Reading Values Pointer Method and Multiplexing Pointer Method X ViVi Vv 230 240 250 1 260 There are two methods of reading values e The pointer method e Multiplexing You must use the multiplexing method when using a DL230 CPU You must also use the multiplexing method with remote I O modules the pointer method will not work 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 The DL240 DL250 1 and DL260 CPUs have spec
21. ll the F2 08AD 2 module requires 16 discrete input points in the CPU You can use these points to obtain e an indication of which channel is active e the digital representation of the analog signal e module diagnostic information Since all input points are automatically mapped into V memory it is very easy to determine the location of the data word that will be assigned to the module F2 08AD 2 M gt We Te fT ye ye Sloto Siti Slot2 Slot3 Slot4 8pt 8pt 16pt 16pt 16pt D Input Input Input Input Output S D a xo X10 x20 x40 Yo a Z NS X7 X17 X37 X57 Y17 CI CI C CI 1 40400 V40402 40500 V40401 MSB LSB X XXX X 3333 2 7654 Data Bits 0 Within these word locations the individual bits represent specific information about the analog signal The first twelve bits represent the analog data in binary format V40401 Bit Value Bit Value MSB LSB 0 j of 1111119876543210 2 128 543210 2 4 8 256 3 8 9 512 4 16 10 1024 data bits 5 32 11 2048 DL205 Analog Manual 7th Ed Rev B 4 10 F2 08AD 2 8 Channel Analog Voltage Input 5 11 A
22. ore on a single post to 1 2 3 4 Yes Yes No prevent losing them all three jumpers 1 2 3 4 5 No No Yes 1 2 3 4 5 6 Yes No Yes 1 2 3 4 5 6 7 No Yes Yes Yes jumper installed 1 2 3 4 5 6 7 8 Yes Yes Yes No jumper removed Jumper Location on Modules Having Jumper Location on Modules Having Date Code 0609D4 and Previous Date Code 0709E1 and Above Two Circuit Board Design Single Circuit Board Design 1 2 4 Use jumpers 1 2 and 4 to select number of channels oor 4 a 2 1 UF ral PT J lt x These jumpers are located on the 29 motherboard the one with the black J GEA D shell style backplane connector 2G 2 DL205 Analog Manual 7th Ed Rev B 4 10 5 6 F2 08AD 2 8 Channel Analog Voltage Input Selecting the There is another jumper labeled J3 that Input Voltage is used to select between the 5V ranges Range and the 10V ranges See the figures below to locate the jumber on your Install J3 for 0 5V or 5V module The module comes from the Operation Remove J3 or store factory set for 10V operation jumper is On single pin for O to 10 or removed and is stored on one of the 10V operation pins Jumper J3 Location on Modules Having Jumper J3 Location on Modules Having Date Code 0609D4 and Previous Date Code 0709E1 and Above Two Circuit Board Design Single Circuit Board Design
23. ory Locations Lae Ee ee Ey set TV cee V700 V760 faces VEBE V707 No of Channels V7660 v7661 V7662 V7663 V7664 V7665 V7666 V7667 v7670 V7671 V7672 V7673 V7674 V7675 V7676 V7677 The Table below applies to the DL250 1 or DL260 expansion base 1 Expansion Base D2 CM 1 Analog Input Module Slot Dependent V memory Locations CEEA The Table below applies to the DL250 1 or DL260 expansion base 2 Expansion Base D2 CM 2 Analog Input Module Slot Dependent V memory Locations Ra Pah an ae aa The Table below applies to the DL260 CPU expansion base 3 s TOP tT 2 Te Ts 8 7 The Table below applies to the DL260 CPU expansion base 4 Expansion Base D2 CM 4 Analog Input Module Slot Dependent V memory Locations pot 2 Se DRNEA Red eee S V PROE vores VORO No of Channels V36300 V36301 V36302 V36303 V36304 V36305 V36306 V36307 Storage Pointer V36310 V36311 V36312 V36313 V36314 V36315 V36316 V36317 rd PT N SS as vo oY N O Cc cS DL205 Analog Manual 7th Ed Rev B 4 10 ss 5 a Vo AD L oe Ke a gt Lic Q F2 08AD 2 8 Channel Analog Voltage Input Using Bipolar Ranges Pointer Method X ViV iv 230 240 250 1 260 With bipolar ranges you need some additional logic to determine whether the value being returned represents a positive or a negative voltage For example you
24. red in V2000 CO is reset to indicate channel 1 s value is positive If X37 is on then the data value represents a negative voltage CO is set to indicate channel 1 s value is negative When the module is not busy and X34 is on and X35 and X36 are off channel 2 data is stored in V2001 C1 is reset to indicate channel 2 s value is positive If X37 is on then the data value represents a negative voltage C1 is set to indicate channel 2 s value is negative F2 08AD 2 8 Channel Analog Voltage Input 5 17 Using 2 s Complement Multiplexing VILIS x 230 240 250 1 260 The 2 s complement data format may be required to display negative values on some operator interface devices It could also be used to simplify data averaging on bipolar signals The example shows two channels but you can repeat these steps for all eight channels if necessary X36 Load data when module is not busy LD 1 1 V40401 ANDD KFFF Store Channel 1 X36 X34 X35 LA JA JA OUT Vm m V2000 Co __________RsT X37 Co i SET INV _ BCD _ ADDD Ki X36 X34 X35 A JA JA VA Nets Store Channel 2 X36 X34 X35 lA J L_JA OUT i 2 V2001 C1 RST X37 C1 1 SET INV _ BCD _ ADDD Ki X36 X34 X35 IA I LA OUT AS A V2042 Loads th
25. stored in V2007 Since you do not have to determine which channel is selected the single channel program is even simpler Store Channel 1 X X34 X 36 3 35 LD V V40401 ANDD KFFF BCD OUT V2000 Loads the complete data word into the accumulator The V memory location depends on the I O configuration See Appendix A for the memory map This instruction masks the channel identification bits Without this the values used will not be correct so do not forget to include it It is usually easier to perform math operations in BCD So it is best to convert the data to BCD immediately You can leave out this instruction if your application does not require it When the module is not busy and X34 and X35 are off channel 1 data is stored in V2000 DL205 Analog Manual 7th Ed Rev B 4 10 rd PT N SS aS vo oY N O Cc cS ss 5 a Vo AD L oe Ke a gt Lic Q F2 08AD 2 8 Channel Analog Voltage Input Using Bipolar Ranges Multiplexing Viviviv 230 240 250 1 260 With bipolar ranges you need some additional logic because you need to know if the value being returned represents a positive voltage or a negative voltage For example you may need to know the direction for a motor Since the DL230 only reads one channel per scan you can use the last input X37 in the examples to show t
26. t 1 in 4096 unipolar 0 4095 13 bit 1 in 8192 bipolar 4095 4095 1 ms 4 ms to 95 of full step change 70 dB 1 count maximum 3dB 200Hz 6 dB per octave gt 20MQ 75 VDC to 75 VDC 0 025 of span 1 count maximum unipolar 2 count maximum bipolar 1 count 3 counts maximum 1 count maximum 0 VDC 1 25 C 3 0 to 60 C 32 to 140 F 50 ppm C maximum full scale calibration including maximum offset change of 2 counts One count in the specification table is equal to one least significant bit of the analog data value 1 in 4096 PLC Update Rate Data Acquisition Time Digital Inputs Input points required Power Budget Requirement External Power Supply Operating Temperature Storage Temperature Relative Humidity Environmental air Vibration Shock Noise Immunity 1 channel per scan maximum DL230 CPU 8 channels per scan maximum DL240 250 1 260 CPU 3ms channel asynchronous 12 binary data bits 1 sign bit 3 channel ID bits 1 diagnostic bit 16 point X input module 100 mA 60 mA maximum 5 VDC supplied by base 5 mA 80 mA maximum 10 30 18 26 4 VDC 0 to 60 C 32 to 140 F 20 to 70 C 4 to 158 F 5 to 95 non condensing No corrosive gases permitted MIL STD 810C 514 2 MIL STD 810C 516 2 NEMA ICS3 304 go 7 N SS as co oY N ze Cc cS DL205 Analog Manual 7th Ed Rev B 4 10 F2 08AD 2 8 Channel
27. tect these problems This rung shows an input point that would be assigned if the module was used as shown in the previous examples A different point would be used if the module was installed in a different I O arrangement Multiplexing method V2000 KO X37 C1 J OUT V memory location V2000 holds ema tl eat NS channel 1 data When a data value of zero is returned and input X37 is on the analog channel is not operating properly Pointer method V2000 K8000 C1 OUT V memory location V2000 holds x channel 1 data When a data value of 8000 is returned the analog channel is not operating properly Most applications usually require H L measurements in engineering units Units A Fos 4095 which provide more meaningful data This is accomplished by using the H high limit of the engineering conversion formula shown unit range You may have to make adjustments to L low limit of the engineering the formula depending on the scale you unit range choose for the engineering units A Analog value 0 4095 For example if you wanted to measure pressure PSI from 0 0 to 99 9 you would have to multiply the analog value by 10 in order to imply a decimal place when you view the value with the programming software or a handheld programmer Notice how the calculations differ when you use the multiplier Analog Value of 2024 slightly less than half scale should yield 49 4 PSI Example without mult
28. ted back to binary and then to BCD The filtered value is stored in location V1402 for use in your application or PID loop NOTE Be careful not to do a multiple number conversion on a value For example if you are using the pointer method to get the analog value it is in BCD and must be converted to binary However if you are using the conventional method of reading analog and are masking the first twelve bits then it is already in binary and no conversion using the BIN instruction is needed SP Loads the analog signal which is a BCD value een and has been loaded from V memory location V2000 into the accumulator Contact SP1 is always on Converts the BCD value in the accumulator to __ BIN binary Remember this instruction is not needed if the analog value is originally brought in as a binary number Converts the binary value in the accumulator BTOR to a real number Subtracts the real number stored in location SUBR V1400 from the real number in the accumulator V1400 and stores the result in the accumulator V1400 is the designated workspace in this example Multiplies the real number in the MUDR accumulator by 0 2 the filter factor and stores the result in the accumulator This is the filtered value Adds the real number stored in ADDR location V1400 to the real number v1400 filtered value in the accumulator and stores the result in
29. ule processes and represents the analog signals The F2 08AD 2 module can supply different amounts of data per scan depending on the type of CPU you are using The DL230 can obtain one channel of data per CPU scan Since there are eight channels it can take up to eight scans to get data for all channels Once all channels have been scanned the process starts over with channel 1 Unused channels are not processed so if you select only two channels then each channel will be updated every other scan The multiplexing method can also be used for DL240 250 1 260 CPUs System With Read Inputs DL230 CPU Execute Application Program Read the data ScanN lt Channel 1 H Scan N 1 lt Channel 2 repeat for ch 3 6 Store data Ly ie Scan N 6 lt _ Channel 7 Scan N 7 Channel 8 y Write to Outputs Scan N 8 _ Channel 1 If you are using a DL240 DL250 1 or DL260 CPU you can obtain all eight channels of input data in one scan This is because those CPUs supports special V memory locations that are used to manage the data transfer this is discussed in more detail in the section on Writing the Control Program Scan System With DL240 250 1 Read Inputs 260CPU y Execute Application Program Read the data Scan N lt Ch 1 2 3 8 H
Download Pdf Manuals
Related Search
Related Contents
Logitech V220 User's Manual アニメーション制作業界における下請適正取引等の推進の Compilador MiniJava versão 1.0 Manual de Instalação Manual de Cowon Systems A3 MP3 Player User Manual COMPACTADOR VIBRATORIO Modelo MRH-800GS Téléchargez le programme du séminaire Manual SIGTB Trait d`union n°115, octobre 2014 Copyright © All rights reserved.
Failed to retrieve file