background image

DL305

Analog I/O Modules

Manual Number D3--ANLG-M

Содержание DL305

Страница 1: ...DL305 Analog I O Modules Manual Number D3 ANLG M...

Страница 2: ...ation is based on information that was available at the time it was printed At Automationdirect com we constantly strive to improve our products and services so we reserve the right to make changes to...

Страница 3: ...16 10 1 10 14 A 1 A 10 Original Issue 2nd Edition 3 96 Cover Copyright Contents Manual Revisions 1 1 1 9 2 1 2 18 3 1 3 20 4 1 4 15 5 1 5 21 6 1 6 13 7 1 7 14 8 1 8 18 9 1 9 16 10 1 10 14 A 1 A 10 2nd...

Страница 4: ...Terminology 1 9 Channels per Module 1 9 Input Ranges 1 9 Resolution 1 9 Input Type 1 9 Input Impedance 1 9 Conversion Method 1 9 Conversion Time 1 9 Linearity Error and Total Tolerance Relative Accur...

Страница 5: ...annel Scan Output 2 8 Single Channel Scan Outputs 2 9 Active Channel Selection Inputs 2 9 Analog Data Bits 2 10 Writing the Control Program 2 11 Identifying the Data Locations 2 11 Single Channel on E...

Страница 6: ...upply Requirements 4 4 Current Loop Transmitter Impedance 4 4 Removable Connector 4 5 Wiring Diagram 4 5 Module Operation 4 6 Channel Scanning Sequence 4 6 Understanding the I O Assignments 4 7 Active...

Страница 7: ...5 24 Broken Transmitter Detection 5 25 Analog and Digital Value Conversions 5 26 Chapter 6 D3 02DA 2 Channel Analog Output Module Specifications 6 2 Analog Output Configuration Requirements 6 2 Connec...

Страница 8: ...DAS 4 Channel Isolated Analog Output Module Specifications 8 2 Analog Output Configuration Requirements 8 3 Setting the Module Jumpers 8 4 Jumper Locations 8 4 Selecting Input Signal Ranges 8 5 Specia...

Страница 9: ...9 8 Analog Data Bits 9 8 Temperature Input Resolution 9 8 Millivolt Input Resolution 9 8 Writing the Control Program 9 9 Identifying the Data Locations 9 9 Automatic Temperature Conversion 9 9 Using t...

Страница 10: ...o 10 12 Storing the Temperature 10 13 Reading Temperatures on a DL350 with a D3 XX 1 Base 10 14 Temperature and Digital Value Conversions 10 17 Appendix A DL305 Data Types and Memory Map DL330 Memory...

Страница 11: ...11 Getting Started In This Chapter Introduction Physical Characteristics Analog Input Terminology Analog Output Module Terminology Selecting the Appropriate Module Analog Made Easy Four Simple Steps...

Страница 12: ...hese resources for help in locating the information S Table of Contents chapter and section listing of contents in the front of this manual S Quick Guide to Contents chapter summary listing on the nex...

Страница 13: ...ladder logic examples for all bases and CPUs D3 02DA explains the 2 channel analog output module Provides ladder logic examples for all bases and CPUs F3 04DA 1 explains the 4 channel analog output m...

Страница 14: ...4 channel isolated input 12 bit resolution S F3 08AD 8 channel input 12 bit resolution S F3 16AD 16 channel input 12 bit resolution S D3 02DA 2 channel output 8 bit resolution S F3 04DA 1 4 channel ou...

Страница 15: ...EDs used to determine the signal level Since there are not enough LEDs to show all of the channels at once there is a small switch underneath the terminal cover that allows you to select the channel f...

Страница 16: ...rements Specification D3 04AD F3 04ADS F3 08AD F3 16AD Channels 4 4 8 16 Input Ranges 1 5V 4 20 mA 0 5V 1 5V 0 10V 5V 10V 0 20mA 4 20mA 4 20mA 0 5V 1 5V 0 10V 5V 10V 0 20mA 4 20mA1 Resolution 8 bit 1...

Страница 17: ...curacy at 77 F 25 C 0 4 0 2 voltage 0 6 current 0 8 See Chapter 6 7 8 Specification F3 08TEMP FACTS F4 04DA Channels 8 Temperature Input 8 Thermocouple Input Input Ranges 0 1mA AD590 input types E 270...

Страница 18: ...ns to make sure the module meets your application requirements STEP 2 Set the module switches and or jumpers to select S number of channels S the operating ranges voltage or current Note some of the m...

Страница 19: ...complete the analog to digital conversion The linearity and accuracy of the digital representation over the entire input range The effect of temperature on the accuracy of the module LED indicators o...

Страница 20: ...n over the entire output range The effect of temperature on the accuracy of the module LED indicators on the module Some modules require a separate 24VDC power source The 24VDC output supply at the lo...

Страница 21: ...12 D3 04AD 4 Channel Analog Input In This Chapter Module Specifications Setting the Module Jumpers Connecting the Field Wiring Module Operation Writing the Control Program...

Страница 22: ...tial comparison Conversion Time 2 ms maximum Power Budget Requirement 55 mA 9V External Power Supply 24 VDC 10 65 mA class 2 Operating Temperature 32 to 140 F 0 to 60_ C Storage Temperature 4 to 158 F...

Страница 23: ...se shielded wiring and ground the shield at the signal source Do not ground the shield at both the module and the source S Don t run the signal wiring next to large motors high current switches or tra...

Страница 24: ...standard input ranges The following diagram shows how this works R Vmax Imax R value of external resistor Vmax high limit of selected voltage range Imax maximum current supplied by the transmitter Exa...

Страница 25: ...below 250 ohms then you do not have to make any adjustments However if your transmitter requires a load resistance higher than 250 ohms then you need to add a resistor in series with the module Consid...

Страница 26: ...CH1 Differential CH2 Single ended Voltage Transmitter Internally Connected Note 1 Terminate all shields of the cable at their respective signal source Note 2 Unused channels should be shorted to 0V o...

Страница 27: ...have to select allof the channels Unused channels are not processed so if you select only two channels then each channel will be updated every other scan Channel 1 Scan N Read the data Store data I O...

Страница 28: ...16pt Analog 4ch Input 8pt Output 050 057 040 047 030 037 020 027 120 127 000 007 100 107 010 017 110 117 0 1 7 not used Within these two register locations the individual bits represent specific info...

Страница 29: ...ff On 3 On On 4 R011 MSB LSB 1 1 0 1 1 7 1 1 6 1 1 5 1 1 4 1 1 3 1 1 2 1 1 1 scan a single channel The first four points of the upper register are used as inputs to tell the CPU which channel is being...

Страница 30: ...11 1111 or 00 to FF hexadecimal The following diagram shows how this relates to each signal range 5V 1V 0 255 1V 5V 20mA 4mA 0 255 4 20mA Each piece can also be expressed in terms of the signal level...

Страница 31: ...mple is designed to read channel 1 If you choose another channel you would have to add a rung or rungs that use the channel select bits to select the channelfor scanning You would also have to change...

Страница 32: ...ecutes for all channels The DL305 performs math operations in BCD This instruction converts the binary data to BCD You can omit this step if your application does not require the data in BCD format BC...

Страница 33: ...000 OUT 117 Select all channels 000 DSTR1 R001 F51 Read the data 001 This rung loads the data into the accumulator This rung executes for all channel scan or single channel scan The DL305 performs mat...

Страница 34: ...ormula shown Units value in Engineering Units A Analog value 0 255 S high limit of the Engineering unit range Units A 256 S The following example shows how you would use the analog data to represent p...

Страница 35: ...R576 F50 MUL K100 F73 DSTR R576 F50 DOUT R450 F60 0 1 1 0 Accumulator 0 0 0 0 Aux Accumulator 0 0 0 0 Accumulator 4 2 9 6 Aux Accumulator This example assumes you have already read the analog data an...

Страница 36: ...6 0 4296 DSTR R576 F50 MUL K1000 F73 DSTR R576 F50 DOUT R450 F60 0 1 1 0 Accumulator 0 0 0 0 Aux Accumulator 0 0 0 0 Accumulator 4 2 9 6 Aux Accumulator This example assumes you have already read the...

Страница 37: ...STR1 R001 F51 Read the data BCD F86 110 Store channel 1 374 DSTR K256 F50 DOUT R430 F60 DSTR K1000 F50 DOUT R432 F60 On the first scan these first two instructions load the analog resolution constant...

Страница 38: ...digital value If you know the analog signal level 1 to 5V 4 to 20mA For example if you are using the 1 to 5V range and you have measured the signal at 3V you would use the following formula to determi...

Страница 39: ...13 F3 04ADS 4 Channel Isolated Analog Input In This Chapter Module Specifications Setting the Module Jumpers Connecting the Field Wiring Module Operation Writing the Control Program...

Страница 40: ...ffset Calibration Error 4 counts maximum bipolar ranges 2 counts maximum unipolar ranges Accuracy vs Temperature 57 ppm _C maximum full scale Recommended Fuse 0 032 A Series 217 fast acting current in...

Страница 41: ...ed to select the number of channels that will be used Without any jumpers the module processes one channel By installing the jumpers you can add channels The module is set from the factory for four ch...

Страница 42: ...NOTE The Polarity jumper selects Unipolar or Bipolar operation for all channels Bipolar Signal Range Jumper Settings 5 VDC to 5 VDC 20 to 20 mA 10 VDC to 10 VDC Unipolar Signal Range Jumper Settings...

Страница 43: ...receives all power from the base A separate power supply is not required Occasionally you may have the need to connect a transmitter with an unusual signal range By changing the wiring slightly and ad...

Страница 44: ...tance below 250 ohms then you do not have to make any adjustments However if your transmitter requires a load resistance higher than 250 ohms then you need to add a resistor in series with the module...

Страница 45: ...Note 2 A Series 217 0 032A Fast acting fuse is recommended for 4 20mA current loops Note 3 Transmitters may be 2 3 or 4 wire type Analog CH3 250 Voltage Transmitter CH2 Voltage Transmitter CH4 4 20mA...

Страница 46: ...not have to select allof the channels Unused channels are not processed so if you select only two channels then each channel will be updated every other scan Channel 1 Scan N Read the data Store data...

Страница 47: ...R010 1 1 7 8pt Relay 8pt Output 16pt Input 16pt Analog 4ch Input 8pt Output 050 057 040 047 030 037 020 027 120 127 000 007 100 107 010 017 110 117 0 1 7 Within these two register locations the indivi...

Страница 48: ...or 000 to FFF hexadecimal The following diagram shows how this relates to each signal range V 0V V 0 4095 10V 10V 5V 5V V 0V 0 4095 0V 10V 0V 5V 5V 1V 0 4095 1V 5V 20mA 4mA 0 4095 4 20mA Each piece ca...

Страница 49: ...data against preset values etc This example is designed to read channel 1 Since you use jumpers to select the number of channels to scan this is the only channel that you can use in this manner 374 D...

Страница 50: ...e channel 4 The channel selection inputs are used to let the CPU know which channel has been loaded into the accumulator By using these inputs to control a DOUT instruction you can easily move the dat...

Страница 51: ...elect 4 is on The example below shows how to read multiple channels on an F3 04ADS Analog module in the 20 27 120 127 address slot This module must be placed in a 16 bit slot in order to work This wri...

Страница 52: ...using the conversion formula shown Units A 4096 S Units value in Engineering Units A Analog value 0 4095 S high limit of the Engineering unit range The following example shows how you would use the an...

Страница 53: ...60 4096 0 4296 DSTR R576 F50 MUL K100 F73 DSTR R576 F50 DOUT R450 F60 1 7 6 0 Accumulator 0 0 0 0 Aux Accumulator 0 0 0 0 Accumulator 4 2 9 6 Aux Accumulator This example assumes you have already read...

Страница 54: ...4296 DSTR R576 F50 MUL K1000 F73 DSTR R576 F50 DOUT R450 F60 1 7 6 0 Accumulator 0 0 0 0 Aux Accumulator 0 0 0 0 Accumulator 4 2 9 6 Aux Accumulator This example assumes you have already read the ana...

Страница 55: ...nnel 1 374 DSTR K4096 F50 DOUT R430 F60 DSTR K1000 F50 DOUT R432 F60 On the first scan these first two instructions load the analog resolution constant of 4096 into R430 and R431 These two instruction...

Страница 56: ...the accumulator Load the data MUL K1800 Rung 3 scales a 0 to 180 range of a transducer over the 4096 counts The raw analog value is loaded to the accumulator from V3001 Channel 2 DIV K4096 OUT V3010...

Страница 57: ...o 5V 0 to 5V 0 to 10V 1 to 5V 4 to 20mA For example if you are using the 10 to 10V range and you have measured the signal at 6V you would use the following formula to determine the digital value that...

Страница 58: ...14 F3 08AD 8 Channel Analog Input In This Chapter Module Specifications Setting the Module Jumpers Connecting the Field Wiring Module Operation Writing the Control Program...

Страница 59: ...ture 57 ppm _C maximum full scale including maximum offset change of 2 counts Recommended Fuse 0 032 A Series 217 fast acting Power Budget Requirement 25 mA 9 VDC 37 mA 24 VDC External Power Supply No...

Страница 60: ...lling the jumpers you can add channels The module is set from the factory for eight channel operation For example if you install the 1 jumper you add one channel for a total of two Now if you install...

Страница 61: ...required Standard 4 to 20 mA transmitters and transducers can operate from a wide variety of power supplies Not all transmitters are alike and the manufacturers often specify a minimum loop or load re...

Страница 62: ...their respective signal source Note 2 To avoid ground loop errors the following transmitter types are recommended 2 3 wire Isolation between input signal P S 4 wire Full isolation between input signal...

Страница 63: ...do not have to select allof the channels Unused channels are not processed so if you select only four channels then the channels will be updated within four scans I O Update Channel 1 Scan N Read the...

Страница 64: ...R010 1 1 7 8pt Relay 8pt Output 16pt Input 16pt Analog 8ch Input 8pt Output 050 057 040 047 030 037 020 027 120 127 000 007 100 107 010 017 110 117 0 1 7 not used Within these two register locations t...

Страница 65: ...l would be 4095 This is equivalent to a binary value of 0000 0000 0000 to 1111 1111 1111 or 000 to FFF hexadecimal The following diagram shows how this relates to each signal range Each piece can also...

Страница 66: ...ath on the data compare the data against preset values etc This example is designed to read channel 1 Since you use jumpers to select the number of channels to scan this is the only channel that you c...

Страница 67: ...rol a DOUT instruction you can easily move the data to a storage register Notice the DOUT instruction stores the data in two bytes Two bytes are required for four digit BCD numbers Temporarily store t...

Страница 68: ...ANDD ORF K8 X20 K8 Kfff The ORF X20 brings the lower byte of data from the module into the accumulator At this time there is a full word of data from the analog module in the accumulator SHFL K8 shif...

Страница 69: ...07 Channel 8 Select Bit States X125 X124 X126 This writes channel four analog data to V3003 when bits X124 X125 and X126 are as shown This writes channel five analog data to V3004 when bits X124 X125...

Страница 70: ...the conversion formula shown Units A 4096 S Units value in Engineering Units A Analog value 0 4095 S high limit of the Engineering unit range The following example shows how you would use the analog d...

Страница 71: ...096 0 4296 DSTR R576 F50 MUL K100 F73 DSTR R576 F50 DOUT R450 F60 1 7 6 0 Accumulator 0 0 0 0 Aux Accumulator 0 0 0 0 Accumulator 4 2 9 6 Aux Accumulator This example assumes you have already read the...

Страница 72: ...6 F50 MUL K1000 F73 DSTR R576 F50 DOUT R450 F60 1 7 6 0 Accumulator 0 0 0 0 Aux Accumulator 0 0 0 0 Accumulator 4 2 9 6 Aux Accumulator This example assumes you have already read the analog data and s...

Страница 73: ...data Store channel 1 374 DSTR K4096 F50 DOUT R430 F60 DSTR K1000 F50 DOUT R432 F60 On the first scan these first two instructions load the analog resolution constant of 4096 into R430 and R431 These t...

Страница 74: ...in the accumulator Load the data MUL K2000 Rung 3 scales a 0 to 200 range of a transducer over the 4096 counts The raw analog value is loaded to the accumulator from V3000 Channel 1 DIV K4096 OUT V30...

Страница 75: ...on easier Range If you know the digital value If you know the analog signal level 4 to 20mA For example if you have measured the signal at 10mA you would use the following formula to determine the dig...

Страница 76: ...15 F3 16AD 16 Channel Analog Input In This Chapter Module Specifications Setting the Module Jumpers Connecting the Field Wiring Module Operation Writing the Control Program...

Страница 77: ...ture 57 ppm _C maximum full scale Recommended Fuse 0 032 A Series 217 fast acting current inputs Power Budget Requirement 33 mA 9 VDC 47 mA 24 VDC External Power Supply None required Operating Tempera...

Страница 78: ...ration Any unused channels are not processed so if you only select channels 1 8 then the last eight channels will not be active The following table shows which jumpers to install Jumpers installed as...

Страница 79: ...10V and 0 20 mA signals at the same time Channels that will receive 0 20 mA signals should have the current jumper installed The following table shows the jumper selections for the various ranges Only...

Страница 80: ...a value of 2048 Fortunately the variable gain feature provides a simple solution Just complete the following steps Potentiometer Adjustment Hole 1 Install a jumper on the gain adjustment pins This ju...

Страница 81: ...ing and ground the shield at the signal source Do not ground the shield at both the module and the source S Don t run the signal wiring next to large motors high current switches or transformers This...

Страница 82: ...to one of the standard input ranges The following diagram shows how this works R Vmax Imax R value of external resistor Vmax high limit of selected voltage range Imax maximum current supplied by the t...

Страница 83: ...d resistance below 500 ohms then you do not have to make any adjustments However if your transmitter requires a load resistance higher than 500 ohms then you need to add a resistor in series with the...

Страница 84: ...Transmitter Current Transmitter CH2 CH3 CH4 CH5 CH6 CH7 CH8 CH9 CH10 CH11 CH12 CH13 CH14 CH15 CH16 Volatage Transmitter Volatage Transmitter Volatage Transmitter Volatage Transmitter Volatage Transmi...

Страница 85: ...ou do not have to select allof the channels Unused channels are not processed so if you select only eight channels then the channels will be updated within eight scans I O Update Channel 1 Scan N Read...

Страница 86: ...ally mapped into Register R memory it is very easy to determine the location of the data word that will be assigned to the module 1 1 0 F3 16AD R 011 MSB LSB R 001 MSB LSB 0 1 0 R 002 R012 R 000 R010...

Страница 87: ...increment with each CPU scan Channel Active Scan Inputs Channel N 0000 1 N 1 0001 2 N 2 0010 3 N 3 0011 4 N 4 0100 5 N 5 0101 6 N 6 0110 7 N 7 0111 8 N 8 1000 9 N 9 1001 10 N 10 1010 11 N 11 1011 12 N...

Страница 88: ...10V 10V 5V 5V V 0V 0 4095 0V 10V 20mA 0mA 0 4095 0 20mA 20mA 4mA 819 4095 4 20mA 0 NOTE When you use 4 20mA signals you have to use the 0 20mA scale You do not have resolution of 4096 if the 4 20mA s...

Страница 89: ...is being read Since the module provides input points to the CPU it is very easy to use the active channel status bits to determine which channel is being monitored 1 1 0 F3 16AD R 011 MSB LSB R 001 M...

Страница 90: ...t data bits into the accumulator from Register 001 DOUT1 R500 F61 Temporarily store the bits to Register 500 Since the most significant bits were loaded into 501 now R500 and R501 contain all twelve b...

Страница 91: ...the accumulator At this time there is a full word of data from the analog module in the accumulator SHFL K8 shifts the data to the left eight places to make room for the lower byte of data The ANDD Kf...

Страница 92: ...bits of analog data to the module and converts it to BCD It is the OUT to V1401 SP1 BCD OUT V1401 The analog data in BCD format is then stored in the Holding Register V1401 Channel Selection Data LD V...

Страница 93: ...3 K3 Channel Selection Data LD V1401 V1400 OUT V2005 K5 Channel Selection Data LD V1401 V1400 OUT V2006 K6 Channel 4 Data Channel 5 Data Channel 6 Data Channel 7 Data Channel Selection Data LD V1401 V...

Страница 94: ...on Data LD V1401 V1400 OUT V2013 Kb Channel Selection Data LD V1401 V1400 OUT V2014 Kc Channel 11 Data Channel 12 Data Channel 13 Data Channel Selection Data LD V1401 V1400 OUT V2015 Kd Channel Select...

Страница 95: ...the conversion formula shown Units A 4096 S Units value in Engineering Units A Analog value 0 4095 S high limit of the Engineering unit range The following example shows how you would use the analog...

Страница 96: ...6 1760 4096 0 4296 DSTR R576 F50 MUL K100 F73 DSTR R576 F50 DOUT R450 F60 1 7 6 0 Accumulator 0 0 0 0 Aux Accumulator 0 0 0 0 Accumulator 4 2 9 6 Aux Accumulator This example assumes you have already...

Страница 97: ...F50 MUL K1000 F73 DSTR R576 F50 DOUT R450 F60 1 7 6 0 Accumulator 0 0 0 0 Aux Accumulator 0 0 0 0 Accumulator 4 2 9 6 Aux Accumulator This example assumes you have already read the analog data and st...

Страница 98: ...74 DSTR K4096 F50 DOUT R460 F60 DSTR K1000 F50 DOUT R462 F60 On the first scan these first two instructions load the analog resolution constant of 4096 into R460 and R461 These two instructions load t...

Страница 99: ...om V3001 Channel 1 DIV K4096 OUT V3010 It is then multiplied by 2000 The additional zero provides a higher degree of resolution It is then divided by 4096 which is the resolution of the module The sca...

Страница 100: ...D F86 Now that all the bits are stored load all twelve bits into the accumulator Math operations are performed in BCD This instruction converts the binary data to BCD You can omit this step if your ap...

Страница 101: ...l level 10V to 10V 5V to 5V 0 to 10V 0 to 20mA or 4 20mA For example if you are using the 10 to 10V range and you have measured the signal at 6V you would use the following formula to determine the di...

Страница 102: ...16 D3 02DA 2 Channel Analog Output In This Chapter Module Specifications Connecting the Field Wiring Module Operation Writing the Control Program...

Страница 103: ...ximum Conversion Time 100 s maximum 2 channels scan Power Budget Requirement 80 mA 9V External Power Supply 24 VDC 10 170 mA class 2 Operating Temperature 32 to 140 F 0 to 60_ C Storage Temperature 4...

Страница 104: ...tors high current switches or transformers This may cause noise problems S Route the wiring through an approved cable housing to minimize the risk of accidental damage Check local and national codes t...

Страница 105: ...2 2 V V 1 V V V V V 24VDC Note 1 Shields should be connected to the 0V of the module or to the 0V of the P S Note 2 Unused voltage and current outputs should remain open no connections D A Convertor 1...

Страница 106: ...D3 02DA module updates both channels in the same scan The control program updates the two channels of this module independent of each other and each channel does not have to be refreshed on each scan...

Страница 107: ...ory it is very easy to determine the location of the data word that will be assigned to the module 1 1 0 D3 02DA R 011 MSB LSB R 001 MSB LSB 0 1 0 R 002 R012 R 000 R010 1 1 7 8pt Relay 8pt Output 16pt...

Страница 108: ...lue of 0000 0000 to 1111 1111 or 00 to FF hexadecimal The following diagram shows how this relates to each signal range 10V 0V 0 255 0V 10V 20mA 4mA 0 255 4 20mA Each piece can also be expressed in te...

Страница 109: ...s to calculate the digital value to send to the analog module There are many ways to do this but most all applications are understood more easily if you use measurements in engineering units This is a...

Страница 110: ...50 MUL K256 F73 DSTR R576 F50 DOUT R450 F60 0 0 4 2 Accumulator 0 0 0 0 Aux Accumulator 0 0 0 0 Accumulator 4 2 0 0 Aux Accumulator This example assumes you have already loaded the Engineering unit va...

Страница 111: ...nit range which in this case is 1000 100 0 implied range 429 1000 429 DSTR R576 F50 MUL K256 F73 DSTR R576 F50 DOUT R450 F60 0 4 2 9 Accumulator 0 0 0 0 Aux Accumulator 0 0 0 0 Accumulator 4 2 9 0 Aux...

Страница 112: ...g and output instructions DSTR R400 F50 DIV K1000 F74 This instruction loads Engineering unit value into the accumulator This instruction moves the two byte decimal portion into the accumulator for fu...

Страница 113: ...it to binary before you send the data to the module DOUT1 R001 F61 Send the accumulator data to the Register that corresponds to channel 1 which is R001 DSTR R452 F50 Send Channel 2 This rung loads th...

Страница 114: ...on easier Range If you know the digital value If you know the analog signal level 0 to 10V 4 to 20mA For example if you are using the 4 20mA range and you know you need a 10mA signal level you would u...

Страница 115: ...17 F3 04DA 1 4 Channel Analog Output In This Chapter Module Specifications Setting the Module Jumpers Connecting the Field Wiring Module Operation Writing the Control Program...

Страница 116: ...25 C 0 6 of span current output 0 2 of span voltage output Accuracy vs Temperature 50 ppm _C maximum Conversion Time 30 S maximum Power Budget Requirement 144 mA 9V 108 mA 24V External Power Supply N...

Страница 117: ...ing diagram shows the jumper locations Channel 2 5V 10V Channel 1 5V 10V Channel 4 5V 10V Channel 3 5V 10V Channel 2 Channel 1 Channel 4 Channel 3 The jumper is set from the factory to allow either 0...

Страница 118: ...ransducer S Don t run the signal wiring next to large motors high current switches or transformers This may cause noise problems S Route the wiring through an approved cable housing to minimize the ri...

Страница 119: ...I CH1 V V V CH3 V 4 20mA are CH1 CH1 Current Sourcing Voltage is Sink Source C O M CH2 I I I CH4 I C O M CH2 V V V CH4 V CH1 I I I CH3 I CH1 V V V CH3 V Current Output 0 1K ohm CH3 Current Output 0 1K...

Страница 120: ...es and represents the analog signals The F3 04DA 1 module can update one channel per CPU scan Your RLL program selects which channel to update so you have complete flexibility to solve your applicatio...

Страница 121: ...SB 0 1 0 R 002 R012 R 000 R010 1 1 7 8pt Relay 8pt Output 16pt Input 16pt Analog 4ch Input 8pt Output 050 057 040 047 030 037 020 027 120 127 000 007 100 107 010 017 110 117 0 1 7 Within these two wor...

Страница 122: ...000 0000 to 1111 1111 1111 or 000 to FFF hexadecimal The following diagram shows how this relates to each signal range V 0V 0 4095 0V 10V 0V 5V 12mA 4 mA 0 4095 4 12mA 20mA 4mA 0 4095 4 20mA Each piec...

Страница 123: ...gital value to send to the analog module There are many ways to do this but most all applications are understood more easily if you use measurements in engineering units This is accomplished by using...

Страница 124: ...ccumulator 0 0 0 0 Accumulator 4 2 0 0 Aux Accumulator This example assumes you have already loaded the Engineering unit value in R400 4 2 0 0 Accumulator 4 2 0 0 Aux Accumulator The accumulator is th...

Страница 125: ...MUL K4096 F73 DSTR R576 F50 DOUT R450 F60 0 4 2 9 Accumulator 0 0 0 0 Aux Accumulator 0 0 0 0 Accumulator 4 2 9 0 Aux Accumulator This example assumes you have already loaded the Engineering unit valu...

Страница 126: ...T 115 If you installthe F3 04DA 1 in the slot corresponding to registers 6 and 16 you have to make a slight program adjustment This is because the DOUT5 instruction is not supported for this slot 374...

Страница 127: ...o the accumulator By turning on 117 this triggers the channel update Since 117 is also used as an input this results in a one shot 374 117 OUT RST 160 Ch4 Done 116 DSTR R456 F50 Ch3 Done OUT 117 115 C...

Страница 128: ...tal value If you know the analog signal level 0 to 5V 0 to 10V 4 to 12mA 4 to 20mA For example if you are using the 4 20mA range and you know you need a 10mA signal level you would use the following f...

Страница 129: ...18 F3 04DAS 4 Channel Isolated Analog Output In This Chapter Module Specifications Setting the Module Jumpers Connecting the Field Wiring Module Operation Writing the Control Program...

Страница 130: ...1 F typical voltage output Load Impedance 470O maximum current output 2KO minimum voltage output Isolation Mode Rejection 140 dB at 60Hz Linearity Error 1 count 0 03 maximum Calibration Error 0 15 ty...

Страница 131: ...systems the available power budget and 16 point module usage are the limiting factors WARNING You should not install this module in Slot 3 of any DL305 base The module has traces on the edge card conn...

Страница 132: ...r we have the channel jumper assignments out of order Your eyes do not deceive you Channel 1 is controlled by JP4 Each channel also has a jumper located on the bottom board of the module These jumpers...

Страница 133: ...channels must be set Bipolar Signal Range Jumper Settings 5 VDC to 5 VDC 10 VDC to 10 VDC Unipolar Signal Range Jumper Settings 4 to 20 mA 1 VDC to 5 VDC 0 VDC to 5 VDC 0 to 20 mA 0 VDC to 10 VDC Sel...

Страница 134: ...ettings Only channel 1 is used in the example but all channels must be set Signal Range Offset Installed Signal Range Offset Removed Jumper Settings 10 VDC to 6 VDC 9 VDC to 7 VDC 5 VDC to 3 VDC 4 VDC...

Страница 135: ...e transducer S Don t run the signal wiring next to large motors high current switches or transformers This may cause noise problems S Route the wiring through an approved cable housing to minimize the...

Страница 136: ...ing fuse in series with the isolated I terminal 15VDC is recommended to protect against accidental shorts to the V terminal 15VDC common Note 4 Do not attempt to source more than 20mA from any one of...

Страница 137: ...f channel 1 to the I of channel 2 4 Send 0 digital value to channel 2 while you send 0 4095 digital value to channel 1 To reverse the power flow send 0 to channel 1 while you send the 0 4095 value to...

Страница 138: ...ocesses and represents the analog signals The F3 04DAS module can update one channel per CPU scan Your RLL program selects the channel to update so you have complete flexibility in solving your applic...

Страница 139: ...MSB LSB 0 1 0 R 002 R012 R 000 R010 1 1 7 8pt Relay 8pt Output 16pt Input 16pt Analog 4ch Input 8pt Output 050 057 040 047 030 037 020 027 120 127 000 007 100 107 010 017 110 117 0 1 7 Within these tw...

Страница 140: ...000 to FFF hexadecimal The following diagram shows how this relates to each signal range V 0V V 0 4095 10V 10V 5V 5V V 0V 0 4095 0V 10V 0V 5V 5V 1V 0 4095 1V 5V 20mA 4mA 0 4095 4 20mA Each piece can a...

Страница 141: ...e digital value to send to the analog module There are many ways to do this but most all applications are understood more easily if you use measurements in engineering units This is accomplished by us...

Страница 142: ...R R576 F50 MUL K4096 F73 DSTR R576 F50 DOUT R450 F60 0 0 4 2 Accumulator 0 0 0 0 Aux Accumulator 0 0 0 0 Accumulator 4 2 0 0 Aux Accumulator This example assumes you have already loaded the Engineerin...

Страница 143: ...the Engineering unit range which in this case is 1000 100 0 implied range DSTR R576 F50 MUL K4096 F73 DSTR R576 F50 DOUT R450 F60 0 4 2 9 Accumulator 0 0 0 0 Aux Accumulator 0 0 0 0 Accumulator 4 2 9...

Страница 144: ...s OUT 115 If you installthe F3 04DA 1 in the slot corresponding to registers 6 and 16 you have to make a slight program adjustment This is because the DOUT5 instruction is not supported for this slot...

Страница 145: ...or By turning on 117 this triggers the channel update Since 117 is also used as an input this results in a one shot 374 117 OUT 160 Ch4 Done 116 DSTR R456 F50 Ch3 Done OUT 117 115 Ch2 Done 114 Ch1 Don...

Страница 146: ...0V 5V to 5V 0 to 5V 0 to 10V 1 to 5V 4 to 20mA For example if you are using the 10 to 10V range and you have measured the signal at 6V you would use the following formula to determine the digital valu...

Страница 147: ...19 F3 08THM n 8 Channel Thermocouple Input In This Chapter Introduction Module Specifications Setting the Module Switches Connecting the Field Wiring Module Operation Writing the Control Program...

Страница 148: ...in versions specially designed to convert millivolt signal levels into direct digital values 0 4095 Two versions are available one for 0 50mV and one for 0 100mV The F3 08THM n also features automatic...

Страница 149: ...CPU scan Converter Type Successive Approximation 574 Linearity Error 1 count 0 03 of full scale maximum Maximum Inaccuracy at 77 F 25 C 0 35 of full scale Accuracy vs Temperature 57 ppm _C maximum fu...

Страница 150: ...ttom of the board that selects between _C and _F temperature measurements This jumper labeled _F should be removed if you require _C measurements Remove this jumper for _C operation _F CNTS Measuremen...

Страница 151: ...nsformers This may cause noise problems S 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 y...

Страница 152: ...annels Once all channels have been scanned the process starts over with channel 1 Channel 1 Scan N Read the data Store data I O Update Execute Application Program Channel 2 Scan N 1 Channel 8 Scan N 7...

Страница 153: ...R 000 R010 1 1 7 8pt Relay 8pt Output 16pt Input 16pt Analog 8ch Input 8pt Output 050 057 040 047 030 037 020 027 120 127 000 007 100 107 010 017 110 117 0 1 7 Within these two register locations the...

Страница 154: ...ent signal level Since the module has 12 bit resolution the analog signal is converted into 4096 pieces ranging from 0 4095 212 For example with a 2 100mV module a signal of 0 mV would be 0 and a sign...

Страница 155: ...eing monitored F3 08THM R 011 MSB LSB R 001 MSB LSB 0 1 0 R 002 R012 R 000 R010 8pt Relay 8pt Output 16pt Input 16pt Analog 8ch Input 8pt Output 050 057 040 047 030 037 020 027 120 127 000 007 100 107...

Страница 156: ...to control a DOUT instruction you can easily move the data to a storage register Notice the DOUT instruction stores the data in two bytes Two bytes are required for four digit BCD numbers Temporarily...

Страница 157: ...y move the data to a storage register Notice the DOUT instruction stores the data in two bytes Two bytes are required for four digit BCD numbers Temporarily store the bits to Register 501 DSTR1 R001 F...

Страница 158: ...decimal This writes channel one data to V2000 when bits X14 X15 and X16 are as shown LD V1400 Channel 1 Select Bit States X15 X14 X16 OUT V2000 This writes channel two data to V2002 when bits X14 X15...

Страница 159: ...en bits X14 X15 and X16 are as shown LD V1400 Channel 7 Select Bit States X15 X14 X16 OUT V2006 This writes channel eight data to V2007 when bits X14 X15 and X16 are as shown LD V1400 Channel 8 Select...

Страница 160: ...rmula shown NOTE The thermocouple versions automatically provide the correct temperature readings Scaling is not required Units A 4096 S Units value in Engineering Units A Analog value 0 4095 S high l...

Страница 161: ...0 Aux Accumulator 0 0 0 0 Accumulator 4 2 9 6 Aux Accumulator This example assumes you have already read the analog data and stored the BCD equivalent in R400 and R401 4 2 9 6 Accumulator 4 2 9 6 Aux...

Страница 162: ...R576 F50 MUL K1000 F73 DSTR R576 F50 DOUT R450 F60 1 7 6 0 Accumulator 0 0 0 0 Aux Accumulator 0 0 0 0 Accumulator 4 2 9 6 Aux Accumulator This example assumes you have already read the analog data a...

Страница 163: ...STR K4096 F50 DOUT R430 F60 DSTR K1000 F50 DOUT R432 F60 On the first scan these first two instructions load the analog resolution constant of 4096 into R430 and R431 These two instructions load the h...

Страница 164: ...leshooting The following table provides formulas to make this conversion easier mV Range If you know the digital value If you know the analog signal level MV50 0 to 50 mV MV100 0 to 100 mV For example...

Страница 165: ...1 10 F3 08TEMP 8 Channel Temperature Input In This Chapter Module Specifications Setting the Module Jumpers Connecting the Field Wiring Module Operation Writing the Control Program...

Страница 166: ...ts Input Ranges 0 1 mA Resolution 12 bit 1 in 4096 No missing codes 0 25 _C with AD590M Input Impedance 10KO 0 1 Absolute Maximum Ratings 50 mA Conversion Time 35 s per channel maximum 1 channel per C...

Страница 167: ...2626J Transmitter Output for Opto 22 and Analog Devices 1 A _K 298 2 A 25 _C 218 A 55 _C 423 A 150 _C The F3 08TEMP Temperature Input appears as a 16 point module The module can be installed in any sl...

Страница 168: ...rs you can add channels The module is set from the factory for eight channel operation For example if you install the 1 jumper you add one channel for a total of two Now if you install the 2 jumper yo...

Страница 169: ...er from the base A separate power supply is not required The F3 08TEMP module has a removable connector to make wiring easier Simply remove the retaining screws and gently pull the connector from the...

Страница 170: ...You do not have to select allof the channels Unused channels are not processed so if you select only four channels then the channels will be updated within four scans Channel 1 Scan N Read the data St...

Страница 171: ...00 R010 1 1 7 8pt Relay 8pt Output 16pt Input 16pt Analog 8ch Input 8pt Output 050 057 040 047 030 037 020 027 120 127 000 007 100 107 010 017 110 117 0 1 7 not used Within these two register location...

Страница 172: ...6 10 1024 5 32 11 2048 1 1 7 R001 MSB LSB 0 1 0 1 1 6 1 1 5 1 1 4 1 1 3 1 1 2 1 1 1 1 1 0 0 1 7 0 1 6 0 1 5 0 1 4 0 1 3 0 1 2 0 1 1 data bits R011 Typically the F3 08TEMP resolution enables you to det...

Страница 173: ...nto a _C or _F temperature More on the conversion in a minute For now let s just read the value into the accumulator Since the DL305 CPUs use 8 bit word instructions you have to move the data in piece...

Страница 174: ...5 459 6 _K offset 0 _K 459 6 _F For _F Readings Temp 1000 1733 4096 273 2 The following example shows how you would use the analog data to represent the temperature This example assumes the analog val...

Страница 175: ...2 3 0 Aux Accumulator Now subtract the _K offset from the accumulator The _K offset is 2732 which represents 273 2 _ 4 2 3 0 Accumulator 2 7 3 2 Constant R577 R576 R577 R576 R577 R576 1 4 9 8 Accumula...

Страница 176: ...2 4 3 1 Aux Accumulator 2 4 3 1 Accumulator 2 4 3 1 Aux Accumulator Now subtract the _K offset from the accumulator The _K offset is 2732 which represents 273 2 _ 2 4 3 1 Accumulator 2 7 3 2 Constant...

Страница 177: ...ccumulator from Register 001 DOUT1 R500 F61 Temporarily store the bits to Register 500 Since the most significant bits were loaded into 501 now R500 and R501 contain all twelve bits in order DSTR R500...

Страница 178: ...V1402 V1402 _On LDF K12 This loads the first twelve bits SP1 BCD This converts to BCD DIV V1402 This scales the value for Celsius SHFL This shifts the BCD value 16 bits to the left This is the equival...

Страница 179: ...ontrol the negative indicator bit When the channels select bits are true for a particular channel and C0 is on the negative bit for that channel is set When the temperature goes above 0 Celsius the bi...

Страница 180: ...T V3007 Channel 8 Select Bit States X125 X124 X126 This writes channel four analog data to V3003 when bits X124 X125 and X126 are as shown This writes channel five analog data to V3004 when bits X124...

Страница 181: ...value If you know the temperature 55 to150 _C 67 to 302 _F For example if you have measured the temperature at 30 _C you would use the following formula to determine the digital value that should be s...

Страница 182: ...1A DL305 Data Types and Memory Map In This Chapter DL330 Memory Map DL330P Memory Map DL340 Memory Map I O Point Bit Map Control Relay Bit Map Special Relays Data Registers...

Страница 183: ...e R600 R673 R674 R677 64 Timer Counter Status Bits T600 T673 T674 T677 None 64 Data Words None R400 R563 116 None specific used with many instructions Shift Registers 400 577 None 128 Special Register...

Страница 184: ...R674 R677 64 Timer Counter Status Bits T600 T673 T674 T677 None 64 Data Words None R400 R563 116 None specific used with many instructions Stages S0 S177 R100 R117 128 Special Registers None R574 R577...

Страница 185: ...73 R674 R677 64 Timer Counter Status Bits T600 T673 T674 T677 None 64 Data Words None R400 R563 R700 R767 172 None specific used with many instructions Shift Registers 400 577 None 128 Special Registe...

Страница 186: ...5 134 133 132 131 130 R13 147 146 145 144 143 142 141 140 R14 157 156 155 154 153 152 151 150 R15 167 166 165 164 163 162 161 160 n a 177 176 175 174 173 172 171 170 n a 707 706 705 704 703 702 701 70...

Страница 187: ...Register reference MSB DL330 Control Relay References LSB Register Number 167 166 165 164 163 162 161 160 R16 177 176 175 174 173 172 171 170 R17 207 206 205 204 203 202 201 200 R20 217 216 215 214 21...

Страница 188: ...01 200 R20 217 216 215 214 213 212 211 210 R21 227 226 225 224 223 222 221 220 R22 237 236 235 234 233 232 231 230 R23 247 246 245 244 243 242 241 240 R24 257 256 255 254 253 252 251 250 R25 267 266 2...

Страница 189: ...ction 377 Battery voltage is low 770 Changes timers to 0 01 second intervals Timers are normally 0 1 second time intervals 771 The external diagnostics FAULT instruction F20 is in use DL330 772 The da...

Страница 190: ...ignificant Bit will be in register R400 as bit0 and the MSB Most Significant Bit will be in register R401 as bit17 NOTE Data Registers are retentive DL330 DL330P 8 Bit Data Registers 407 406 405 404 4...

Страница 191: ...451 450 467 466 465 464 463 462 461 460 477 476 475 474 473 472 471 470 507 506 505 504 503 502 501 500 517 516 515 514 513 512 511 510 527 526 525 524 523 522 521 520 537 536 535 534 533 532 531 530...

Страница 192: ...V7634 User defined timer interrupt V7640 Loop Table Beginning address V1400 V7340 V7641 Number of Loops Enabled 1 4 V7642 Error Code V memory Error Location for Loop Table V7643 V7647 Reserved V7650 P...

Страница 193: ...month 01 to 12 V7774 Contains the year 00 to 99 V7775 Scan stores the current scan time milliseconds V7776 Scan stores the minimum scan time that has occurred since the last Program Mode to Run Mode...

Страница 194: ...77 V40600 V40677 1024 Special Relays SP0 SP777 V41200 V41237 512 Timer Current Values None V0 V377 256 Timer Status Bits T0 T377 V41100 V41117 256 Counter Current Values None V1000 V1177 128 Counter S...

Страница 195: ...311 310 307 306 305 304 303 302 301 300 V40414 V40514 337 336 335 334 333 332 331 330 327 326 325 324 323 322 321 320 V40415 V40515 357 356 355 354 353 352 351 350 347 346 345 344 343 342 341 340 V40...

Страница 196: ...1 310 307 306 305 304 303 302 301 300 V40614 337 336 335 334 333 332 331 330 327 326 325 324 323 322 321 320 V40615 357 356 355 354 353 352 351 350 347 346 345 344 343 342 341 340 V40616 377 376 375 3...

Страница 197: ...1322 1321 1320 V40655 1357 1356 1355 1354 1353 1352 1351 1350 1347 1346 1345 1344 1343 1342 1341 1340 V40656 1377 1376 1375 1374 1373 1372 1371 1370 1367 1366 1365 1364 1363 1362 1361 1360 V40657 141...

Страница 198: ...312 311 310 307 306 305 304 303 302 301 300 V41014 337 336 335 334 333 332 331 330 327 326 325 324 323 322 321 320 V41015 357 356 355 354 353 352 351 350 347 346 345 344 343 342 341 340 V41016 377 376...

Страница 199: ...24 1323 1322 1321 1320 V41055 1357 1356 1355 1354 1353 1352 1351 1350 1347 1346 1345 1344 1343 1342 1341 1340 V41056 1377 1376 1375 1374 1373 1372 1371 1370 1367 1366 1365 1364 1363 1362 1361 1360 V41...

Страница 200: ...136 135 134 133 132 131 130 127 126 125 124 123 122 121 120 V41105 V41145 157 156 155 154 153 152 151 150 147 146 145 144 143 142 141 140 V41106 V41146 177 176 175 174 173 172 171 170 167 166 165 164...

Отзывы: