Home
Chapter 3 - AutomationDirect
Contents
1. 230 240 250 1 260 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 from a single data word the control program must be setup to determine which channel is being read Since the module appears as 16 X input points to the CPU it is very easy to use the active channel status bits to determine which channel is being monitored 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 I O configuration You can place these rungs anywhere in the program or if you are using stage programming place them in a stage that is always active Load data when module is not busy X36 T 1 V40401 ANDD KFFF BCD Store Channel 1 X36 X34 X35 aay ap F V a ss a Store Channel 2 X36 X34 X35 e i a7 ee Yr PY Store Channel 3 X36 X34 X35 e a aja VA m Store Channel 4 X36 X34 X35 p E 4 vee Yr Fo 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 o
2. for O to10 or 10V operation for O to10 or 10V operation DL205 Analog Manual 7th Ed Rev B 4 10 3 7 F2 04AD 2 F2 04AD 2L 4 Channel Analog Voltage Input Connecting the Field Wiring Wiring Your company may have guidelines for wiring and cable installation If so you Guidelines 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 User Power The module requires at least one field side power supply You may use the same or Supply separate power sources for the module supply and the voltage transmitter supply Requirements The F2 04AD 2 module requires 18 26 4VDC at 80 mA The DL205 bases have 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 a couple 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 meet
3. select number of channels z 142 J ae These jumpers are located on the motherboard the one with the black J D shell style backplane connector Jumper 1 DL205 Analog Manual 7th Ed Rev B 4 10 3 6 F2 04AD 2 F2 04AD 2L 4 Channel Analog Voltage Input Selecting the There is another jumper labeled either Install jumper J2 or J3 for Input Signal J2 or J3 depending on the whether you 0 5V or 5V operation Range have a single or double circuit board Remove J2 or J3 or store on module that is used to select between the 5V ranges and the 10V ranges See the figures below to locate the jumper on your module The module comes from the factory set for 10V operation jumper not installed a single pin for O to10 or 10V operation Jumper J2 Location on Modules Having Jumper J3 Location on Modules Having Date Code 0609F4 and Previous Date Code 0709G and Above Two Circuit Board Design Single Circuit Board Design D J3 Jumper J2 a a Cx 3 2 U 5 a roO Jo as J S 0 nae Jumper J2 is located on the smaller No circuit board which is on top of the lt motherboard J Install J2 for 0 5V or 5V operation Install J3 for 0 5V or 5V operation Remove J2 or store on a single pin Remove J3 or store on a single pin
4. 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 memory Locations Lae Ee eee Ey set TV cee V700 V760 faces VERE V767 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 Sa Pain ae ae ae 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 7 2 avv0 Z4 E 2 lt o a D Ko D ke lt S Expansion Base D2 CM 4 Analog Input Module Slot Dependent V memory Locations HEERA Se DRNEA Red eee V PROE VAROS VORO No of Channels V36300 V36301 V36302 V36303 V36304 V36305 V36306 V36307 Storage Pointer V36310 V36311 V36312 V36313 V36314 V36315 V36316 V36317 DL205 Analog
5. C CI C CI C Data is split over two locations so instructions cannot access data from a DL230 X X X X X X X xX 3 32 2 1 17 0 7 07 0 7 0 To use the V memory references required for a DL230 CPU 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 DL205 Analog Manual 7th Ed Rev B 4 10 F2 04AD 2 F2 04AD 2L 4 Channel Analog Voltage Input 3 5 Setting the Module Jumpers Selecting the There are two jumpers labeled 1 and Number of 2 that are used to select the number of Channels channels that will be used See the figures below to find the jumpers on your module The module is set from the factory for four channel operation Any unused channels are not processed so if you only select channels 1 thru 3 channel 4 will not be active The following table shows how to use the jumpers to select the number of channels Channel 1 2 1 No No For example to select all 4 1 2 Yes No channels 1 4 leave both jumpers 1 2 3 No Yes installed To select channel 1 1 2 3 4 Yes Yes remove both jumpers Yes jumper installed P On No jumper removed p 2 Ss gt vy Qo Jumper Location on Modules Having Jumper Location on Modules Having Be Date Code 0609F4 and Previous Date Code 0709G and Above Two Circuit Board Design Single Circuit Board Design Use jumpers ee 1 and 2 to
6. Channel 1 BCD BCD so it is best to convert the data to BCD immediately You can leave out this instruction if X36 x34 X35 your application does not require it BA OUT When the module is not busy and X34 and X35 V 7 7 V2000 are off channel 1 data is stored in V2000 CO is Co reset to indicate channel one s value is positive RS X37 Co If X37 is on then the data value represents a Store Channel 2 SET negative voltage CO is set to indicate channel 1 s X36 X34 X35 I N value is negative When the module is not busy and X34 is on 1 1 1 1 SUT and X35 is off channel 2 data is stored in V 7 V2001 ARST V2001 C1 is reset to indicate that channel 2 s C1 value is positive c X37 C1 If X37 is on then the data value represents a SET negative voltage C1 is set to indicate that channel 2 s value is negative DL205 Analog Manual 7th Ed Rev B 4 10 F2 04AD 2 F2 04AD 2L 4 Channel Analog Voltage Input Using 2 s The 2 s complement data format may be required to display negative values on some Complement operator interface devices It could also be used to simplify data averaging on bipolar Multiplexing signals Vivivi iVv 230 240 250 1 289 The example shows two channels but you can repeat these steps for all four channels if necessary Load data when module is not busy X36 LD Loads the complete data word into the accumulator v
7. Manual 7th Ed Rev B 4 10 F2 04AD 2 F2 04AD 2L 4 Channel Analog Voltage Input Using Bipolar With bipolar ranges you need some additional logic to determine whether the Ranges value being returned represents a positive voltage or a negative voltage For Pointer Method example you may need to know the direction for a motor With the DL240 250 CPU Tar ar ae you cannot use the last input X37 in the previous examples to show the sign for each channel This is because the DL240 250 1 260 reads all four channels in one scan Therefore 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 three channels There is a simple solution 230 240 250 1 260 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 Please note y
8. to Outputs 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 10 milliseconds 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 DL205 Analog Manual 7th Ed Rev B 4 10 7 2 avv0 Z4 ra i lt o ted Q 0 5 ge Cc ESE F2 04AD 2 F2 04AD 2L 4 Channel Analog Voltage Input Understanding You may recall that the module appears to the CPU as a 16 point discrete input the Input module You can use these points to obtain Assignments 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 det
9. to examine the configuration if you are using a DL230 CPU As you can see in the section on writing the program you use V memory locations to extract the analog data If you place 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 Correct F2 04AD 2 G N N N Soe a eo Sioto Slot1 Slot2 Slot3 Slot4 _ apt 8pt 16pt 16pt 16pt E Input Input Input Input Output itl xo x10 x20 x40 Yo N X7 X17 X37 X57 Y17 9 C CI C CI C V40400 V40402 V40500 V40401 f MSB LSB Data is correctly entered so input points start on a V memory boundary X X 3 2 7 0 Incorrect F2 04AD 2 N lt a CLE 1 1 O J Slot 1 Slot 2 Slot 3 Slot 4 8pt 6pt 16pt 16pt 16pt _ Input Inp Input Input Output D a m XO X10 X50 YO ka N X7 X27 X47 Y17
10. 0 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 converted 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 SP1 Loads the analog signal which is a BCD value void and has been loaded from V memory location V2000 into the accumulator Contact SP1 is always on 5 Converts the BCD value in the accumulator to o __ BIN binary Remember this instruction is not a needed if the analog value is originally 0 brought in as a binary number No QS Converts the binary value in the accumulator lt 15 BTOR to a real number 3 gt oO Ne L Q Subtracts the real number stored in location SUBR V1400 from the real number in the accumulator V140
11. 0 and stores the result in the accumulator V1400 is the designated workspace in this example Multiplies the real number in the oe accumulator by 0 2 the filter factor i 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 the accumulator Copies the value in the accumulator to _ 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 needed for PID loop PV loop PV 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
12. 04AD 2L 4 Channel Analog Voltage Input Wiring Diagram The module has a removable connector to make wiring easier 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 separate module and transmitter power supplies If you desire to use only one field side supply just combine the supplies positive terminals into one node and remove the transmitter supply Notes 1 Shields should be grounded at the signal source 2 Unused inputs should be jumpered together i e Ch4 to Ch4 3 More than one external power supply can be used provided the commons are connected together 4 F2 04AD 2L requires 10 15 VDC input supply Module Supply See NOTES 3 4 18 26 4VDC i A Internal Typical User Wiring Module Wiring IN ANALOG See NOTE 1 aut e NE ove ipl St ay o a 99 l a tr 24 VDC 3OL gt 15V a I gt 24V 1a f aA0R OV cH cH KW 26 l Voltage r r EA 4 H gt 15V F2 04AD 2 Tran
13. A v40401 The V memory location depends on the I O configuration See Appendix A for the memory map ANDD This instruction masks the channel identification bits KFFF Without this the values used will not be correct so do not forget to include it Store Channel 1 wi OUT When the module is not busy and X34 and X35 are 1 1 VA VA 2000 off channel 1 data is stored in V2000 CO is reset to indicate that channel 1 s value is positive Co _____ Rst X37 Co If X37 is on then the data value represents a SET negative voltage CO is set to indicate that channel 1 s value is negative INV Invert the bit pattern in the accumulator D Om SN BCD Sk gt BO hel ADDD oN 5P X36 X34 X35 ot 1 1 QUTD Channel 1 data is in double word starting at V2040 Store Channel 2 X36 X34 X35 When the module is not busy and X34 is on and X35 A OUT 1 1 Y32001 is off channel 2 data is stored in V2001 C1 is reset to indicate channel 2 s value is positive C1 RST X37 C1 If X37 is on then the data value represents a SET negative voltage C1 is set to indicate that channel 2 s value is negative Invert the bit pattern in the accumulator INV _ BCD _ ADDD K1 X36 X34 X35 Y OUTD ied j 1 v2042 Channel 2 data is in double word s
14. F2 04AD 2 F2 04AD 2L 4 Channel Analog Voltage Input In This Chapter Module Specifications Setting the Module Jumpers Connecting the Field Wiring Module Operation Writing the Control Program 3 2 F2 04AD 2 F2 04AD 2L 4 Channel Analog Voltage Input Module Specifications F2 04AD 2 The F2 04AD 2 analog Input module provides several hardware features i e Analog inputs are optically l isolated from the PLC logic F2 04AD 2 e The module has a removable terminal block so the module can be easily removed or changed without disconnecting the wiring e With a DL240 250 1 260 CPU you can read all four channels in one scan e On board active analog filtering and microcontroller provide digital F2 04AD 2 IN ANALOG 4CH 10 30VDC 5mA signal processing to maintain nti 8 precision analog measurements in SLBA TOVDC noisy environments M Y F2 04AD 2L F2 04AD 2L Obsolete IN ANALOG ee NOTE In 2009 the F2 04AD 2L was discontinued A re designed l F2 04AD 2 was released at the same time which can be powered by either 12 VDC or 24VDC input power supplies This new module am is a direct replacement for prior F2 04AD 2 and all F2 04AD 2L modules The new module is a single circuit board design and the jumper link locations are diffe
15. F2 04AD 2L 4 Channel Analog Voltage Input 3 13 Module Diagnostic The last two inputs are used for module and Sign Inputs diagnostics V40401 Module Busy The first diagnostic MSB LSB input X36 in this example indicates a LI busy condition This input will always an be active on the first PLC scan totellthe 5 6 A CPU that the analog data is not valid After the first scan the input usually only Module Busy comes on when extreme environmental WI diagnostics and sign electrical noise problems are present The last input X37 in this example is used for two purposes Signal Sign When using bipolar ranges you need to know if the value returned is positive or negative When this input is off the value stored represents a positive analog signal OV or greater If the input is on then the value stored represents a negative input signal less than OV Channel Failure This input can also indicate an analog channel failure For example if the 24 VDC input power is missing or the terminal block is loose the module turns on this input and returns a data value of zero remember if this input is on and the data value is not equal to zero then it is just showing the sign The next section Writing the Control Program shows how you can use these inputs in your control program Module Since the module has 12 bit unipolar Unipolar Bipolar Resolu
16. agram shows how this works The example below only shows channel 1 but you can also use the other channels as well Module internal circuitry m 5V OV oV 9g a 15V 24V S na MA 20 Field wiring 2AN 29 ov gt 15V IN CH1 i IN 50mA Current R CH2 Transmitter AtoD Converter youms Bojeuy CH4 ov Vmax V Ren m n Imax R value of external resistor Vmax high limit of selected voltage range 5V or 10V Imax Maximum current supplied by the transmitter 5 pe D os 0 Nc of gs ac 5 n Example current transmitter capable of 50mA 0 10V range selected R a R 200 ohms 50mA NOTE Your choice of resistor can affect the accuracy of the module A resistor that has 0 1 tolerance and a 50ppm C temperature coefficient is recommended If you use 4 20mA signals and convert them to voltage using this method you can easily check for broken transmitter conditions For example if you are using the 0 5V range and the lowest signal for the 4 20mA transmitter is 4mA the lowest digital value for the signal is not 0 but instead is 819 If the transmitter is working properly the smallest value would be 819 in the DL205 If you see a value of less than about 750 allowing for tolerance then you know the transmitter is broken DL205 Analog Manual 7th Ed Rev B 4 10 F2 04AD 2 F2
17. automatically converts values to BCD 5 pe D os 0 Nc of gs ac 5 n SPO JILD or LD K 0400 23 K 8400 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 0 BCD 8 Binary the LSN selects the number of channels i e 1 2 3 or 4 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 OUT Special V memory location assigned to slot 2 that contains the V7662 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 02000 here would designate the following addresses Chi V2000 Ch2 V2001 Ch3 V2002 Ch 4 V2003 The octal address 02000 is stored here V7672 is assigned to slot os 2 and acts as a pointer which means the CPU will use the octal value in this location to determine exactly where to store the incoming data DL205 Analog Manual 7th Ed Rev B 4 10 F2 04AD 2 F2 04AD 2L 4 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 1 O slots Slot 0 zero is the module next to the CPU or D2 CM module Slot
18. ckly convert between the signal levels and and Digital the digital values This is especially helpful during machine startup or Value troubleshooting Remember this module does not operate like other versions of Conversions 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 provides 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 digital value If you know the signal level 0 to 5V A 5D 5V to 5V 4095 7 2 avv0 Z4 gt 2 lt o ted Q oO ge Cc 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 p to the data DL205 Analog Manual 7th Ed Rev B 4 10 F2 04AD 2 F2 04AD 2L 4 Channel Analog Voltage Input Filtering Input Add the following logic to filter and smooth analog input noise in DL250 1 DL260 Noise DL250 1 CPUs This is especially useful when using PID loops Noise can be generated by DL260 CPUs Only the field device and or induced by field wiring X XIJ iv The analog value in BCD is first converted to a binary number because there is nota 230 240 250 1 26
19. ermine the location of the data word that will be assigned to the module F2 04AD 2 a A a See Bea oo oo ogo oo oo _ Sioto Slot 1 Slot 2 Slot 3 Slot 4 8pt 8pt 16pt 16pt 16pt _ Input Input Input Input Output g al xo X10 X20 X40 YO d X7 X17 X37 X57 Y17 45 V40400 V40402 V40401 5 MSB LSB a ser XX XX Xx N Q S Data Bits i T E Within these word locations the individual bits represent specific information LO about the analog signal Analog Data The first twelve bits represent the Bits analog data in binary format 40401 Bit Value Bit Value MSB LSB 0 1 6 64 1 2 7 128 a 2 4 8 256 3 8 9 512 4 16 10 1024 data bits 5 32 11 2048 Active Channel Two of the inputs are binary encoded to Indicator Inputs indicate the active channel remember V40401 the V memory bits are mapped directly MSB LSB to discrete inputs The inputs automatically turn on and off to indicate the current channel for each scan Scan X35 X34 Channel wx X 3 4 onNx N Off Off 1 channel inputs N 1 Off On 2 N 2 On Off 3 N 3 On On 4 N 4 Off Off 1 DL205 Analog Manual 7th Ed Rev B 4 10 F2 04AD 2
20. module is not busy and X34 and X35 are off V2000 channel 1 data is stored in V2000 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 the 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 Please 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 four channels if necessary Load data when module is not busy X36 LD Loads the complete data word into the v40401 accumulator The V memory location depends on the I O configuration See Appendix A for the memory map This instruction masks the channel identification PANDE 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 Store
21. ou only need this logic for each channel that is using bipolar input signals The example only shows two channels 2 Check Channel 1 SP1 LD Load channel 1 data from V memory into the a g V2000 accumulator Remember the data can be negative A ay Contact SP1 is always on lt 6 3 gt ANDD This instruction masks the sign bit of the BCD data if it qc K7FEFF is set Without this step negative values will not be Tae correct so do not forget to include it OUT Put the actual signal value in V2020 Now you can use 2020 the data normally V2000 K8001 C1 OUT Channel 1 data is negative when C1 is on a value of 1 gt C D 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 K7FEFF 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 C2 i OUT Channel 2 data is negative when C2 is on a value of 1 gt C D reads as 8001 2 is 8002 etc DL205 Analog Manual 7th Ed Rev B 4 10 F2 04AD 2 F2 04AD 2L 4 Channel Analog Voltage Input 3 17 Reading Values Multiplexing ViViv iv
22. perations 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 When X34 is on and X35 is off channel 2 data is stored in V2001 9 Z avVv0 Z4 gt 2 lt o ted Co oO ge Cc When X34 is off and X35 is on channel 3 data is stored in V2002 When both X34 and X35 are on channel 4 data is stored in V2003 DL205 Analog Manual 7th Ed Rev B 4 10 es 5 pe i oes o No m lt 5 on Ww amp 5 F2 04AD 2 F2 04AD 2L 4 Channel Analog Voltage Input Single Channel Selected Using Bipolar Ranges Multiplexing Since you do not have to determine which channel is selected the single channel program is even simpler Store channel 1 when module is not busy X36 X34 X35 LD Loads the complete data word into the accumulator J J The V memory location depends on the I O M M M V40401 configuration See Appendix A for the memory map This instruction masks the channel identification bits PREP 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 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 OUT When the
23. ral PLC Update Rate 1 channel per scan maximum D2 230 CPU Specifications 4 channels per scan max D2 240 250 1 260CPU Digital Inputs 12 binary data bits 2 channel ID bits 1 sign diagnostics bit 1 diagnostic bit Input points required 16 point X input module Power Budget Requirement 110 mA 60 mA maximum 5 VDC supplied by base 5 mA 90 mA max 10 30 VDC 18 26 4 VDC F2 04AD 2 models 90 mA maximum 10 to 15 VDC F2 04AD 2L models 5 to 95 non condensing Vibration Values in parenthesis with an asterisk are for older modules with two circuit board design and date codes 0609F4 and previous Values not in parenthesis are for single circuit board models with date code 0709G and above Analog Input Appears as a 16 point discrete input module and can be installed in any slot of a DL205 Configuration system The available power budget and discrete I O points are the limiting factors Check Requirements the user manual for your particular model of CPU and I O base for more information regarding power budget and number of local local expansion or remote I O points 7 Z aVvv0 Z4 gt lt e r D Q D 3 Z S DL205 Analog Manual 7th Ed Rev B 4 10 F2 04AD 2 F2 04AD 2L 4 Channel Analog Voltage Input Special Placement Requirements DL230 and Remote I O Bases we 5 pe D o Nc O88 gs ac DG zi Even though the module can be placed in any slot it is important
24. rent See Setting the Module Jumpers on page 3 5 Also some specifications were changed on page 3 3 Otherwise the re designed module functions the AOAN same as the prior designs a No 5 pe D os 0 Nc of gs ac 5 n DL205 Analog Manual 7th Ed Rev B 4 10 F2 04AD 2 F2 04AD 2L 4 Channel Analog Voltage Input All specifications are the same for both modules except for the input voltage requirements Review these specifications to make sure the module meets your application requirements input epson 12 bit 1 in 4096 unipolar 0 4095 13 bit 1 in 8192 bipolar 4095 4095 8 2 ms 10 ms to 95 of full step change Absolute Maximum Ratings 75 to 75 VDC Converter type Successive approximation Linearity Error End to End 1 count 0 025 of span maximum unipolar 2 counts maximum bipolar input Stabili Full Scale Calibration Error 3 counts maximum Offset error not included Offset Calibration Error 1 count maximum OV input Maximum Inaccuracy 1 25 C 77 F 3 0 to 60 C 32 to 140 F Accuracy vs Temperature 50 ppm C full scale calibration change 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 Gene
25. ressure PSI from 0 0 to 99 9 then 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 multiplier Example with multiplier wo an H L ta n H L Units A 4095 Units 10A 4095 AE 100 0 te 100 0 Units 2024 4095 Units 20240 4095 Units 49 Units 494 Handheld Display v 2001 v 2000 0000 0049 DL205 Analog Manual 7th Ed Rev B 4 10 Handheld Display v 2001 v 2000 0000 0494 This value is more accurate F2 04AD 2 F2 04AD 2L 4 Channel Analog Voltage Input Here is 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 a 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 Analog Sometimes it is useful to be able to qui
26. s the voltage and current requirements and the transmitter 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 7 Z avv0 Z4 VA OZD ZNN ndu eyoA WMC 4 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 you should 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 The F2 04AD 2L requires 10 15VDC at 90mA and must be powered by a separate power supply DL205 Analog Manual 7th Ed Rev B 4 10 F2 04AD 2 F2 04AD 2L 4 Channel Analog Voltage Input Custom Input Occasionally you may have the need to connect a current transmitter with an Ranges unusual signal range By changing the wiring slightly and adding an external resistor to convert the current to voltage you can easily adapt this module to meet the specifications for a transmitter that does not adhere to one of the standard input ranges The following di
27. smitter v CH1 cHt MNA ON CH2 ar pone a i mi cH2 M G3 gt H T CH2 5 oV Voltage pr oo AA CH2 2 Transmitter Nf cae Cp e 24V A e j Y AN TAON AtoD r Gp CH3 ae ai Converter H CH3 Tan AN a3 A Voltage CH4 XW H Transmitter 0 T ap CHa i 38 4 7 A Z K CH4 EII Voltage I l Transmitter Lp 56 ANALOG IN 0 5 0 10VDC OSH l 5 10VDC EA 5 12VDC H See NOTE 3 Supply OV Transmitter Supply 24 volts model shown but wiring is the same for 12 volts model DL205 Analog Manual 7th Ed Rev B 4 10 7 Z avv0 Z4 gt lt je Q 0 3 ge Cc 5 ES F2 04AD 2 F2 04AD 2L 4 Channel Analog Voltage Input o 5 pe D o Nc O88 gs ac DG zi Module Operation Before you begin writing the control program it is important to take a few minutes to understand how the module processes and represents the analog signals Channel The module can supply different amounts of data per scan depending on the type Scanning of CPU you are using The DL230 can obtain one channel of data per CPU scan Sequence for a Since there are four channels it can take up to four scans to get data for all DL230 CPU channels Once all channels have been scanned the process starts over with Multiplexing channel 1 Unused channels are not processed so if you select only two channels then each channel will be updated every other scan The multiple
28. tarting at V2042 DL205 Analog Manual 7th Ed Rev B 4 10 F2 04AD 2 F2 04AD 2L 4 Channel Analog Voltage Input Analog Power The analog module has a microcontroller that can diagnose analog input circuit Failure Detection problems You can easily create a simple ladder rung to detect 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 configuration Multiplexing method V2000 KO X37 co V memory location V2000 holds Ve channel 1 data When a data value 1 It OUT of zero is returned and input X37 is on then the analog circuitry is not operating properly Pointers method choose for the engineering units A Analog value 0 4095 V2000 K8000 co V memory location V2000 holds J CUD channel 1 data When a data value LF lt XQ of 8000 is returned then the analog circuitry is not operating properly Scaling the Most applications usually require H L 5 Input Data measurements in engineering units Units A 4095 Te which provide more meaningful data of This is accomplished by using the H high limit of the engineering a S conversion formula shown unit range g You may have to make adjustments to L low limit of the engineering Q a the formula depending on the scale you unit range N LO a For example if you wanted to measure p
29. tion 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 anda 10V signal would be 4095 This is equivalent to a binary value of 0000 0000 0000 to 1111 1111 1111 or 000 to FFF hexadecimal The diagram shows how this relates to each signal range V 7 Z avv0 Z4 E 2 lt o ted Q oO ge Cc ov V 4095 Oo 4095 Unipolar Resolution H L The bipolar ranges utilize a sign bit to 4095 provide 13 bit resolution A value of Bipolar Resolution H 4095 can represent the upper limit of 8191 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 10 to a ae 2 44 0 to 5V BV 4095 1 22 mV 5V to 5V 8191 1 22 mV DL205 Analog Manual 7th Ed Rev B 4 10 F2 04AD 2 F2 04AD 2L 4 Channel Analog Voltage Input Writing the Control Program Reading Values There are two methods of reading values Pointer Method e The pointer method and Multiplexing e Mul
30. tiplexing 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 Pointer Method DL240 DL250 1 and DL260 CPUs have special V memory locations assigned to lt i viv lv 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 230 240 250 1 260 NOTE 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 RLL PLYS 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
31. xing method can also be used for the DL240 250 1 DL260 CPUs Scan C y Read Inputs y Execute Application Program Read the data H Store data H 1m y Write to Outputs k y DL205 Analog Manual 7th Ed Rev B 4 10 System With DL230 CPU Scan N lt Scan N 1 lt Scan N 2 lt _4 Scan N 3 lt J Scan N 4 lt Channel 1 Channel 2 Channel 3 Channel 4 Channel 1 Channel Scanning Sequence with a DL240 DL250 1 or DL260 CPU Pointer Method Analog Module Updates F2 04AD 2 F2 04AD 2L 4 Channel Analog Voltage Input If you are using aDL240 DL250 1 or DL260 CPU you can obtain all four channels of input data in one scan This is because the DL240 250 1 260 CPU 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 Execute Application Program Read the data Scan N lt Ch1 2 3 4 H Scan N 1 lt Ch 1 2 3 4 Store data Scan N 2 Ch 1 2 3 4 H a Scan N 3 lt Ch 1 2 3 4 y Scan N 4 Ch 1 2 3 4 Write
Download Pdf Manuals
Related Search
Related Contents
パンフレット(MEDICAL BOOK)のダウンロードはコチラ Cadco CAP-H User's Manual 2010年8月号(PDFファイル:3.8MB) Mode d`emploi Brodit ProClip 804990 PDAS-SDI & Options - AMASS Data Technologies Inc notice d`installation manuale d`installazione technische wheaton science products r2p roller apparatus production & modular Pep2Path - Figshare Copyright © All rights reserved.
Failed to retrieve file