Home
Chapter 15 - AutomationDirect
Contents
1. DLO06 Example 1 The example program below shows how to setup the F0 04THM in option slot 1 for 4 input channels enabled use of a J type thermocouple on all 4 input channels BCD channel data format F temperature scale and magnitude plus sign bit format and burnout detection enabled with an up scale burnout specified Use the table shown on page 15 8 to determine the pointer values if locating the module in any of the other slots 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 temperature or voltage input data into V memory locations Once the data is in V memory you can perform mathematical calculations with the data compare the data against preset values etc V2000 is used in the example but you can use any user V memory location LD TI KO400 m q or LD Loads a constant that specifies the number of input channels to scan and the data format The upper byte most significant nibble MSN selects the data format 0 BCD 8 binary The LSN selects the number of channels 1 2 3 or 4 The binary format is used for displaying data on some operator interface units K84
2. 15 6 DL05 06 Option Modules User Manual 7th Ed Rev A 08 11 Chapter 15 FO 0O4THM 4 Channel Thermocouple Input Module Operation Channel Scanning Sequence The DL05 and DLO6 read the data from all four input channels during each scan The CPUs support special V memory locations that are used to manage the data transfer This is discussed in more detail on the following page Special V memory Locations P RSS C m DL05 DL06 PLC y A Execute Application Program Read the data Scan N lt Ch 1 2 3 4 Scan N 1 lt Ch 1 2 3 4 lt Store data Scan N 2 Ch 1 2 3 4 Scan N 3 lt Ch 1 2 3 4 y Scan N 4 lt Ch 1 2 3 4 Write to Outputs Soo J Analog Module Update 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 16 bit binary representation This enables the module to continuously provide accurate measurements without slowing down the discrete control logic in the RLL program The time required to sense the temperature and copy the value to V memory is 270 milliseconds minimum to 1080 milliseconds plus 1 scan time maximum number of channels x 270 15 milliseconds 1 scan time DL05 06 Option Modules User Manual 7th Ed Rev A 08 11 15 7 Chapt
3. FO O4THM 4 CHANNEL CHAPTER THERMOCOUPLE INPUT In This Chapter Module Specifications s 4448 3000 ui iiaa sheng arene ra roro 15 2 Connecting and Disconnecting the Field Wiring 15 4 Module Operation 4 45444 4 6066 6 ceruri nka U TEU waar aries EE s 15 7 Special V memory Locations 15 8 Configuring the Module in Your Control Program 15 12 Negative Temperature Readings with Magnitude Plus Sign 15 16 Module Resolution 244444048008 wee eee Pee va bee 15 18 Analog Input Ladder Logic Filter 15 19 Thermocouple Burnout Detection Bits 15 21 Chapter 15 F0 04THM 4 Channel Thermocouple Input a Module Specifications The F0 04THM 4 Channel Thermocouple Input Module provides the following features and benefits e Four thermocouple input channels with 16 bit voltage resolution or 0 1 C F temperature resolution e Automatically converts type E J K R S T B N or C thermocouple signals into direct temperature readings No extra scaling or complex conversion is required Temperature data can be expressed in F or C Module can be configured as 0 39 0625mVDC 39 0625mVDC 78 125mVDC 0 156 25mV 156 25mVDC and 0 1 25VDC input and will convert volts and millivolt signal levels into 16 bit digital 0 65535 values amp o i T
4. Power Budget Requirement 30mA 5VDC supplied by base Operating Temperature 0 to 60 C 32 to 140 F Storage Temperature 20 to 70 C 4 to 158 F Relative Humidity 5 to 95 non condensing Environmental Air No corrosive gases permitted MIL STD 810C 514 2 MIL STD 810C 516 2 Noise Immunity NEMA ICS3 304 Replacement Terminal Block FO IOCON THM comes with CJC Wire Size Range amp Connector Screw Torque Thermocouple Specifications Input Ranges 22 16 AWG 0 192Nm DN SS1 Screwdriver Recommended 310 to 1400 H 238 to 2502 346 to 1832 H 149 to 3214 Hf Type J 190 to 760 C Type K 150 to 1372 C Type E 210 to 1000 C TypeR 65 to 1768 C TypeS 65to1768 C 149 to 3214 F TypeT 230 to 400 C 382 to 752 F Type B 529 to 1820 C 984 to 3308 F Type N 70to1300 C 94 to 2372 H Type C 65 to 2320 C io to 4208 Display Resolution 0 1 C or 0 1 F Cold Junction Compensation Automatic Warm Up Time 30 minutes typically 1 C repeatability Linearity Error End to End 1 C maximum 0 5 C typical Maximum Inaccuracy Voltage Voltage Ranges 3 C excluding thermocouple error Input Specifications 0 39 0625mVDC 39 0625mVDC 78 125mVDC 0 156 25mVDC 156 25mVDC 0 1 25VDC Resolution 16 bit 1 in 65535 Max Offset Error All Input Ranges 0 05 0 60 C Typ
5. and burnout detection enabled with a down scale burnout specified Again place this rung in the ladder program or in the intial stage if you are using stage programming instructions SPO a LD _ LD 7 K0200 oe Loads a constant that specifies the number of input channels to scan and the data format The upper byte most significant nibble MSN selects the data format 0 BCD 8 binary The LSN selects the number of channels 1 2 3 or 4 The binary format is used for displaying data on some operator interface units K8200 enables 2 channels in binary format OUT Special V memory location assigned to the option slot that specifies V7700 the data format and the number of channels to scan This loads an octal value for the first V memory location that will be used to store the incoming data For example the 02000 entered here using LDA x 02000 the LDA instruction would designate the following addresses Ch1 V2000 2001 Ch2 V2002 2003 See note on page 15 9 The octal address 02000 is stored here Special V memory location OUT 7701 is assigned to the option slot and acts as a pointer which v7701 means the CPU will use the octal value in this location to determine exactly where to store the incoming data Loads a constant that specifies the input type K1 selects K type LD thermocouple with CJC enabled Enter a KO K14 to specify the input K1 type See table on
6. pune 32767 0 32767 to determine negative values ign bit 1 sign bit 0 Counts Het Bipolar Resolution 32767 H or L high or low limit of the range 15 18 DL05 06 Option Modules User Manual 7th Ed Rev A 08 11 Chapter 15 FO O4THM 4 Channel Thermocouple Input __ __ __ __ Analog Input Ladder Logic Filter PID Loops Filtering Please refer to the PID Loop Operation chapter in the DLO06 or DL05 User Manual for information on the built in PV filter DL05 06 and the ladder logic filter DL06 only shown below A filter must be used to smooth the analog input value when auto tuning PID loops to prevent giving a false indication of loop characteristics Smoothing the Input Signal DLO06 only The filter logic can also be used in the same way to smooth the analog input signal to help stabilize PID loop operation or to stabilize the analog input signal value for use with an operator interface display etc WARNING The built in and logic filters are not intended to smooth or filter noise generated by improper field device wiring or grounding Small amounts of electrical noise can cause the input signal to bounce considerably Proper field device wiring and grounding must be done before attempting to use the filters to smooth the analog input signal Using Binary Data Format SP1 ne Loads the analog signal which is in binary format LD and
7. data format in DirectSoft32 select Signed Decimal For unipolar thermocouple ranges R S B C it does not matter if magnitude plus sign or 2 s complement is selected The bipolar voltage input ranges may be converted to a 15 bit magnitude plus sign or a 16 bit 2 s complement value Bit 0 Temperature Scale ignored if Voltage input is selected 0 Temp in degrees F 1 Temp in degrees C Bit 1 Data Format 0 Magnitude plus sign bit format 1 2 Complement format Unit Code Register Truth Table Temperature Scale Data Format F Magnitude sign bit C Magnitude sign bit HF 2 s Complement C 2 s Complement Temp scale MSB LSB Data Format 15 10 DL05 06 Option Modules User Manual 7th Ed Rev A 08 11 Chapter 15 F0 04THM 4 Channel Thermocouple Input E Thermocouple Burnout Detection Enable Register This register is used to enable disable the thermocouple burnout function Be sure to disable the burnout detection function when checking the module calibration Bit 0 Thermocouple Burnout Detection Enable Disable 0 Burnout detection is enabled 1 Burnout detection is disabled MSB LSB Burnout Function F Thermocouple Burnout Data Value Register This register is used to define either up scale or down scale channel values when a channel thermocouple
8. page 15 9 for selections Special V memory location assigned to the option slot that specifies __ OUT a the thermocouple input type or voltage range selection CJC is disabled when voltage is selected LD Loads a constant that specifies the Units Code temperature scale and K3 data format K3 selects C and 2 s complement data format See truth table on page 15 10 for selections OUT Special V memory location assigned to the option slot that specifies V7704 the temperature scale and data format selections LD Loads a constant that enables disables the thermocouple burnout KO detection function KO selects burnout function enabled OUT Special V memory location assigned to the option slot that specifies V7705 the thermocouple burnout detection enable disable LD Loads a constant that specifies the thermocouple burnout data value at K1 burnout K1 specifies a down scale value of 0000h to be written to the channel input register when a thermocouple burnout occurs OUT Special V memory location assigned to the option slot that specifies the V7706 thermocouple up scale down scale burnout value The value is written to the channel input register when a thermocouple burnout occurs DL05 06 Option Modules User Manual 7th Ed Rev A 08 11 15 13 Chapter 15 F0 04THM 4 Channel Thermocouple Input i
9. parameters in KO V7703 V7706 Special V memory location assigned to the option slot that specifies the OUT thermocouple input type or voltage range selection CJC is disabled with V7703 voltage selected KO selects J type thermocouple with CJC enabled See table on page 15 9 for selections Special V memory location assigned to the option slot that specifies OUT the Units Code temperature scale and data format selections V7704 KO selects F temperature scale and magnitude plus sign bit format See truth table on page 15 10 for selections Special V memory location assigned to the option slot that specifies OUT the thermocouple burnout detection enable disable V7705 KO selects burnout detection enabled Special V memory location assigned to the option slot that specifies OUT the thermocouple up scale down scale burnout value KO selects an V7706 up scale value at burnout FFFFh for unipolar inputs and 7FFFh for bipolar inputs at burnout The value is written to the channel input register when a thermocouple burnout occurs 15 12 DL05 06 Option Modules User Manual 7th Ed Rev A 08 11 Chapter 15 F0 04THM 4 Channel Thermocouple Input _ ________ a DLO5 Example 2 The example program below shows how to setup the FO 04THM for 2 input channels enabled use of a K type thermocouple on the first 2 input channels BCD channel data format C temperature scale 2 s complement format
10. 00 enables 4 channels in binary format OUT Special V memory location assigned to option slot 1 that specifies V700 the data format and the number of channels to scan This loads an octal value for the first V memory location that will be used to store the incoming data For example the 02000 entered here using LDA i z 02000 the LDA instruction would designate the following addresses Ch1 V2000 2001 Ch2 V2002 2003 Ch3 V2004 2005 Ch4 V2006 2007 See note on page 15 9 The octal address 02000 is stored here Special V memory location OUT V701 is assigned to option slot 1 and acts as a pointer which means v701 the CPU will use the octal value in this location to determine exactly where to store the incoming data LD Loads a 0 into the accumulator to set the following parameters in KO V703 V706 Special V memory location assigned to option slot 1 that specifies the OUT thermocouple input type or voltage range selection CJC is disabled with V703 voltage selected KO selects J type thermocouple and CJC enabled See table on page 15 9 for selections Special V memory location assigned to option slot 1 that specifies OUT the Units Code temperature scale and data format selections V704 KO selects F temperature scale and magnitude plus sign bit format See truth table on page 15 10 for selections Special V memory location assigned to optio
11. Channel 2 SP1 LD Load channel 2 from V memory into the accumulator 2002 Contact SP1 is always on AND This instruction masks the sign bit of the binary data if K7FFF itis set Without this step negative values will not be correct so do not forget to include it OUT Put the actual signal value in V2012 Now you can use 2012 the data normally V2002 K8000 C2 Channel 2 data is negative when C2 is on a value of OUT 1 0 reads as 8010 2 0 is 8020 etc 15 16 DL05 06 Option Modules User Manual 7th Ed Rev A 08 11 Chapter 15 FO O4THM 4 Channel Thermocouple Input ____ Magnitude Plus Sign BCD Check Channel 1 2 LDD Load channel 1 data from V memory into the io V2000 accumulator Remember the data can be negative Contact SP1 is always on ANDD This instruction masks the sign bit of the BCD data if it K7FFFFFFF is set Without this step negative values will not be correct so do not forget to include it OUTD Put the actual signal value in V2010 Now you can use V2010 the data normally V2001 K8000 Ci ES out Channel 1 data is negative when C1 is on a value of I Les D 1 0 reads as 8000 0010 2 0 is 8000 0020 etc Check Channel 2 SP1 LDD Load channel 2 from V memory into the accumulator V2002 Remember the data can be negative Contact SP1 is always on ANDD This instruction masks the sign bit
12. K3 data format K3 selects C and 2 s complement data format See truth table on page 15 10 for selections OUT Special V memory location assigned to option slot 2 that specifies V714 the temperature scale and data format selections LD Loads a constant that enables disables the thermocouple burnout KO detection function KO selects burnout function enabled OUT Special V memory location assigned to option slot 2 that specifies V715 the thermocouple burnout detection enable disable LD Loads a constant that specifies the thermocouple burnout data value K1 K1 specifies a down scale value of 0000h to be written to the channel input register when a thermocouple burnout occurs OUT Special V memory location assigned to option slot 2 that specifies the V716 thermocouple up scale down scale burnout value The value is written to the channel input register when a thermocouple burnout occurs DL05 06 Option Modules User Manual 7th Ed Rev A 08 11 15 15 Chapter 15 F0 04THM 4 Channel Thermocouple Input RRR Negative Temperature Readings with Magnitude Plus Sign With bipolar ranges you need some additional logic to determine whether the value being returned represents a positive temperature voltage or a negative temperature voltage There is a simple solution e If you are using bipolar ranges and you get a value greater than or equal to 8000h the value is negative e If you get a value less than or equal to 7FFFh the value is posi
13. Signal processing features include automatic cold junction compensation CJC thermocouple linearization and digital filtering The temperature calculation and linearization are based on data provided by the National Institute of Standards and Technology NIST Diagnostic features include detection of thermocouple burnout or disconnection firmware version 4 60 or later The DLO6 requires DirectSOFT32 version V4 0 build 16 or later and NOTE The DLO5 CPU s analog feature for this module requires DirectSOFT32 Version 3 0c or later and firmware version 1 40 or later See our website for more information www automationdirect com 15 2 DL05 06 Option Modules User Manual 7th Ed Rev A 08 11 Chapter 15 F0 04THM 4 Channel Thermocouple Input WL The following tables provide the specifications for the F0 04THM Analog Input Module Review these specifications to make sure the module meets your application requirements General Specifications Number of Channels 4 differential inputs voltage or thermocouple Common Mode Range 1 3VDC to 3 8VDC Conversion Time 270ms channel Common Mode Rejection gt 100dB 50 60Hz Input Impedance 5MQ min Absolute Maximum Ratings Fault protected inputs to 50 VDC Accuracy vs Temperature Max full scale error including offset 15 ppm C maximum 0 1 25V 35ppm C maximum PLC Update Rate 4 channels per scan
14. Unused channels should have a shorting wire jumper installed from CH to CH Zz 3 zg 3 CH1 CH2 CJC CJC CJC a CH3 The CJC comes installed on the terminal strip CH4 DS ms a 0 04 THM 15 4 DL05 06 Option Modules User Manual 7th Ed Rev A 08 11 Chapter 15 F0 04THM 4 Channel Thermocouple Input Oy Thermocouples A Use shielded thermocouples whenever possible to minimize the presence of noise on the thermocouple wire Ground the shield wire at one end only For both grounded and ungrounded thermocouples connect the shield to the OV common terminal of the PLC power supply Grounded Thermocouple Assembly A grounded thermocouple provides better response time than an ungrounded thermocouple because the tip of the thermocouple junction is in direct contact with the protective case Ungrounded Thermocouple Assembly An ungrounded thermocouple is electrically isolated from the protective case If the case is electrically grounded it provides a low impedance path for electrical noise to travel The ungrounded thermocouple provides a more stable and accurate measurement in a noisy environment To avoid exceeding the common mode specifications be sure that the machine assembly is properly bonded together Exposed Grounded Thermocouple The thermocouple does not have a protective case and is directly connected to a device with a hi
15. ange C Range F 190 to 760 310 to 1400 150 to 1372 238 to 2502 210 to 1000 346 to 1832 65 to 1768 149 to 3214 65 to 1768 149 to 3214 230 to 400 382 to 752 529 to 1820 984 to 3308 70 to 1300 94 to 2372 65 to 2320 149 to 4208 0 39 0625mVDC N A N A 39 0625mVDC N A N A 78 125mVDC N A N A 0 156 25mVDC N A N A 156 25mVDC N A N A 15 0 1 25VDC N A N A MSB A LSB Input Type Selection NOTE The CJC functionality is automatically disabled when a Voltage input is selected DL05 06 Option Modules User Manual 7th Ed Rev A 08 11 15 9 Chapter 15 F0 04THM 4 Channel Thermocouple Input pC D Units Code Register All thermocouple types are converted into a direct temperature reading in either Fahrenheit or Celsius The data contains one implied decimal place For example a value in V memory of 1002 would be 100 2 C or F For thermocouple ranges which include negative temperatures J E K TN the display resolution is from 3276 7 to 3276 7 For positive only thermocouple ranges R S B C the display resolution is 0 to 6553 5 Negative temperatures can be represented in either 2 s complement or magnitude plus sign form If the temperature is negative the most significant bit in the V memory location is set The 2 s complement data format may be required to correctly display bipolar data on some operator interfaces This data format could also be used to simplify averaging a bipolar signal To view this
16. ata is in V memory you can perform mathematical calculations with the data compare the data against preset values etc V2000 is used in the example but you can use any user V memory location LD ors 1 1 K0400 K8400 Loads a constant that specifies the number of input channels to scan and the data format The upper byte most significant nibble MSN selects the data format 0 BCD 8 binary The LSN selects the number of channels 1 2 3 or 4 The binary format is used for displaying data on some operator interface units K8400 enables 4 channels in binary format OUT Special V memory location assigned to the option slot that specifies V7700 the data format and the number of channels to scan This loads an octal value for the first V memory location that will be used to store the incoming data For example the 02000 entered here using LDA x 3 O2000 the LDA instruction would designate the following addresses Ch1 V2000 2001 Ch2 V2002 2003 Ch3 V2004 2005 Ch4 V2006 2007 See note on page 15 9 The octal address 02000 is stored here Special V memory location OUT 7701 is assigned to the option slot and acts as a pointer which v7701 means the CPU will use the octal value in this location to determine exactly where to store the incoming data LD Loads a 0 into the accumulator to set the following
17. ber Note The BCD instruction is not needed for PID loop PV loop PV is a binary number Loads the BCD number filtered value from the accumulator into location V1402 to use in your application or PID loop 15 20 DL05 06 Option Modules User Manual 7th Ed Rev A 08 11 Chapter 15 F0 04THM 4 Channel Thermocouple Input WL Thermocouple Burnout Detection Bits Special Relays Corresponding to Thermocouple Burnouts The following Special Relay SP bits can be used in your program to monitor for thermocouple burnout SP bit 0 Thermocouple OK 1 Thermocouple burnout DLO5 and DLO6 Option Slot Module Channel Channel 1 Channel 2 Channel 3 Channel 4 DL05 06 Option Modules User Manual 7th Ed Rev A 08 11 15 2 1 DL05 06 Option Modules User Manual 7th Ed Rev A 08 11
18. burnout occurs Bit 0 Up scale down scale value at Burnout 0 Up scale value at Burnout Unipolar input type FFFFh BCD HEX or 65535 Binary written to CH register Bipolar input type 7FFFh BCD HEX or 32767 Binary written to CH register 1 Down scale value at Burnout 0000h BCD HEX or 0 Binary written to CH register MSB LSB Up scale down scale Burnout value G Diagnostics Error Register This register is used to determine whether the configuration of the module is valid or not It is controlled by the PLC and is read only Bit 0 Diagnostic bit 0 Module setup is valid 1 Module setup is not valid 15 MSB LSB Diagnostics bit DL05 06 Option Modules User Manual 7th Ed Rev A 08 11 15 11 Chapter 15 F0 04THM 4 Channel Thermocouple Input a Configuring the Module in Your Control Program DLO5 Example 1 The example program below shows how to setup the FO 04THM for 4 input channels enabled J type thermocouple on all 4 input channels BCD channel data format F temperature scale magnitude plus sign bit format and burnout detection enabled with an up scale burnout specified 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 temperature or voltage input data into V memory locations Once the d
19. e MSN selects the data format 0 BCD 8 binary The LSN selects the number of channels 1 2 3 or 4 The binary format is used for displaying data on some operator interface units K8200 enables 2 channels in binary format OUT Special V memory location assigned to option slot 2 that specifies V710 the data format and the number of channels to scan This loads an octal value for the first V memory location that will be used to store the incoming data For example the 03000 entered here using ee the LDA instruction would designate the following addresses Ch1 V3000 3001 Ch2 V3002 3003 See note on page 15 9 The octal address 03000 is stored here Special V memory location OUT V711 is assigned to option slot 2 and acts as a pointer which V711 means the CPU will use the octal value in this location to determine exactly where to store the incoming data Loads a constant that specifies the input type K1 selects K type LD thermocouple with CJC enabled Enter a KO K14 to specify the input K1 type See table on page 15 9 for selections Special V memory location assigned to option slot 2 that specifies OUT A i t the thermocouple input type or voltage range selection CJC is V713 A disabled when voltage is selected LD Loads a constant that specifies the Units Code temperature scale and
20. er 15 F0 04THM 4 Channel Thermocouple Input B Input Pointer Register This is a system parameter that points to a V memory location used for storing module channel input data The V memory location loaded in the input pointer V memory location is an octal number identifying the first V memory location for the input data This V memory location is user defined but must use available consecutive V memory locations For example loading O2000 causes the pointer to write Ch 1 data value to V2000 2001 Ch 2 s data value to V2002 2003 CH 3 s data value to V2004 2005 and Ch 4 s data value to V2006 2007 than four 4 digits to be displayed if a BCD format for channel data is selected For example 1234 5 F A binary format for either a 15 bit magnitude plus sign or 16 bit 2 s complement value will occupy the first V memory location of the two V memory locations assigned for the slected channel Refer to the specific PLC s user manual being used for available user V memory locations NOTE Each channel s data value occupies two 2 consecutive V memory locations This allows for more C Input Type Selection Register This V memory register must be set to match the type of thermocouple being used or the input voltage level Use the table to determine your settings Thermocouple Input Temperature Temperature Voltage Input Type Selection R
21. er 15 F0 04THM 4 Channel Thermocouple Input C C Special V memory Locations The DL05 and DLO06 PLCs have special V memory locations assigned to their respective option slots These V memory locations allow you to e specify the number of input channels enabled and BCD Binary data format e specify the input pointer address e specify the thermocouple or voltage input type e specify the units code temperature scale and data format e enable disable thermocouple burnout detection e specify burnout data value at burnout e read module setup diagnostics Module Configuration Registers The table below shows the special V memory locations used by the DLO5 and DL06 PLCs for the FO 04THM module Module Configuration DLO5 and DLOG Option Slot Parameters A Number of Channels Enabled Data Format B Input Pointer C Input Type D Units Code E Thermocouple Burnout Detection Enable F Thermocouple Burnout Data Value G Diagnostic Error A Number of Channels Enabled Data Format Register This V memory location is used to define the number of input channels to be enabled and to set the channel data to BCD or binary format Number of Channel Datain Channel Data in 15 Channels Enabled BCD Format Binary Format MSB LSB Data Format UOU UY Number of channels 15 8 DL05 06 Option Modules User Manual 7th Ed Rev A 08 11 Chapt
22. f you are using the pointer are using the pointer method in Binary format the conversion to binary BIN instruction is not needed Using BCD Data Format SP1 LDD V2000 BIN BTOR SUBR V1400 ADDR V1400 OUTD V1400 RTOB BCD OUTD V1402 Loads the analog signal which is in BCD format and has been loaded from V memory location V2000 into the accumulator Contact SP1 is always on Converts a BCD value in the accumulator to binary Converts the binary value in the accumulator to a real number Subtracts the real number stored in location V1400 from the real number in the accumulator and stores the result in the accumulator V1400 is the designated workspace in this example Multiplies the real number in the accumulator by 0 2 the filter factor and stores the result in the accumulator This is the filtered value The filter range is 0 1 to 0 9 Smaller filter factors increases filtering 1 0 eliminates filtering Adds the real number stored in location V1400 to the real number filtered value in the accumulator and stores the result in the accumulator Copies the value in the accumulator to location V1400 Converts the real number in the accumulator to a binary value and stores the result in the accumulator Converts the binary value in the accumulator to a BCD num
23. gher potential Grounding the thermocouple assures that the thermocouple remains within the common mode specifications Because a thermocouple is essentially a wire it provides a low impedance path for electrical noise The noise filter has a response of gt 100dB 50 60 Hz WARNING A thermocouple can become shorted to a high voltage potential Because common terminals are internally connected together whatever voltage potential exists on one thermocouple will exist on the other channels Ambient Variations in Temperature The F0 04THM module has been designed to operate within the ambient temperature range of 0 C to 60 C The cold junction compensation is calibrated to operate in a still air environment If the module is used in an application that has forced convection cooling an error of 2 3 C may be introduced To compensate for this you can use ladder logic to correct the values When configuring the system design it is best to locate any heat producing devices above and away from the PLC chassis because the heat will affect the temperature readings For example heat introduced at one end of the terminal block can cause a channel to channel variation When exposing the F0 04THM module to abrupt ambient temperature changes it will take several minutes for the cold junction compensation and terminal block to stabilize Errors introduced by abrupt ambient temperature changes will be less than 4 C DL05 06 Option Modules User Man
24. has been loaded from V memory location V2000 V2000 into the accumulator Contact SP1 is always on BTOR Converts the binary value in the accumulator to a real number Subtracts the real number stored in location V1400 from the real number in the accumulator a and stores the result in the accumulator V1400 is the designated workspace in this example Multiplies the real number in the accumulator by 0 2 the filter factor and stores the result in the MULR accumulator This is the filtered value The filter 2 range is 0 1 to 0 9 Smaller filter factors increases filtering 1 0 eliminates filtering 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 OUTD Copies the value in the accumulator to 15 V1400 location V1400 Converts the real number in the __ RTOB accumulator to a binary value and stores the result in the accumulator Loads the binary number filtered value from OUT the accumulator into location V1402 to use in V1402 your application or PID loop DL05 06 Option Modules User Manual 7th Ed Rev A 08 11 15 19 Chapter 15 F0 04THM 4 Channel Thermocouple Input method in BCD format to get the analog value it must be converted to binary BIN as shown below If you NOTE Be careful not to do a multiple number conversion on a value For example i
25. ical 0 04 25 C Linearity Error All Input Ranges 0 05 0 60 C Typical 0 03 25 C Maximum Inaccuracy 0 39 0625mVDC 39 0625mVDC 78 125mVDC ranges 0 1 0 60 C Typical 0 04 25 C 0 156 25mVDC 156 25mVDC 0 1 25VDC ranges 0 05 0 60 C Typical 0 04 25 C All percentages are calculated as a percent of 216 65536 counts 0 025 max error gt 0 025 65536 100 16 counts max error DL05 06 Option Modules User Manual 7th Ed Rev A 08 11 15 3 Chapter 15 F0 04THM 4 Channel Thermocouple Input i Connecting and Disconnecting the Field Wiring Wiring Guidelines 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 PLC power source Do not ground the shield at both the transmitter and the PLC power source e Use thermocouple extension wire that is the same as the thermocouple type when extending the length 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 To remove the terminal block disconnect
26. n slot 1 that specifies OUT the thermocouple burnout detection enable disable V705 KO selects burnout detection enabled Special V memory location assigned to option slot 1 that specifies the OUT thermocouple up scale down scale burnout value at burnout KO V706 selects an up scale value at burnout FFFFh for unipolar inputs and 7FFFh for bipolar inputs The value is written to the channel input register when a thermocouple burnout occurs 15 14 DL05 06 Option Modules User Manual 7th Ed Rev A 08 11 Chapter 15 F0 04THM 4 Channel Thermocouple Input ______ DL06 Example 2 The example program below shows how to setup the F0 04THM in option slot 2 for 2 input channels enabled use of a K type thermocouple on the first 2 input channels BCD channel data format C temperature scale 2 s complement format and burnout detection enabled with a down scale burnout specified Use the table shown on page 15 8 to determine the pointer values if locating the module in any of the other slots V memory location V3000 is shown in the example but you can use any available user V memory location Again place this rung anywhere in the ladder program or in the initial stage if you are using stage programming instructions LD or D ko200 i K8200 Loads a constant that specifies the number of input channels to scan and the data format The upper byte most significant nibbl
27. of the BCD data if it K7FFFFFFF is set Without this step negative values will not be correct so do not forget to include it OUTD Put the actual signal value in V2012 Now you can use V2012 the data normally V2003 K8000 C2 out Channel 2 data is negative when C2 is on a value of 1 0 reads as 8000 0010 2 0 is 8000 0020 etc DL05 06 Option Modules User Manual 7th Ed Rev A 08 11 15 17 Chapter 15 F0 04THM 4 Channel Thermocouple Input i Module Resolution Module Resolution 16 Bit Unipolar Voltage Input Unipolar analog signals are converted into 65536 216 counts ranging from 0 5VDC 156 25 to 65535 For example with a 0 to MDE 156 25mVDC signal range 78mVDC would be 32767 A value of 65535 represents the upper limit of the range 2 5VDC 78 mVDC Unipolar Resolution ee H or L high or low limit of the range oVDC 0 VDC 0 32767 65535 Counts Module Resolution 15 Bit Plus Sign Bipolar Voltage Input The module has 16 bit unipolar or 15 15625 5VDC bit sign bipolar resolution Bipolar mVDC analog signals are converted into 32768 215 counts ranging from 0 to 32767 For example with a 156 25mVDC to 156 25mVDC input signal range OVDC OVDC 156 25mVDC would be 32767 The bipolar ranges utilize a sign bit to provide 16 bit resolution A value of 32767 can represent the upper limit of either side of the range Use the sign bit re
28. power to the PLC and the field devices Pull the terminal block firmly until the connector separates from the module You can remove the thermocouple module from the PLC by folding out the retaining tabs at the top and bottom of the module As the retaining tabs pivot upward and outward the modules connector is lifted out of the PLC socket Once the connector is free you can lift the module out of its slot Use the following diagram to connect the field wiring If necessary the FO O4THM terminal block can be removed to make removal of the module possible without disturbing field wiring Thermocouple Input Wiring Diagram All of the modules CH terminals must be connected together This will help eliminate ground potential differences between the input channels that could cause damage to the module The two unlabeled terminals are internally connected and may be used for convenience to connect the CH terminals together as shown below See NOTE 1 CH1 CH1 See NOTE 2 CH2 The LM35 shown in the diagram is the CJC CH2 LM35 CJC CJC CJC CH3 UONOSUUOD Jeuseju CH3 CH4 See NOTE 3 ae CH4 XNW ody a Notes 1 Shields should be grounded at the PLC power source only 2 All CH terminals must be connected together 3
29. tive The sign bit is the most significant bit which combines 80004 to the data value If the value is greater than or equal to 8000h you only have to mask the most significant bit and the active channel bits to determine the actual data value The following two programs show how you can accomplish this The first example uses magnitude plus sign binary and the second example uses magnitude plus sign BCD 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 examples only show two channels Magnitude Plus Sign Binary Check Channel 1 SP1 LD Load channel 1 data from V memory into the 2000 accumulator Contact SP1 is always on AND This instruction masks the sign bit of the binary data if K7FFF it is set Without this step negative values will not be correct so do not forget to include it Put the actual signal value in V2010 Now you can use on 0 the data normally V2000 K8000 C1 N out Channel 1 data is negative when C1 is on a value of Wo T 1 0 reads as 8010 2 0 is 8020 etc Check
30. ual 7th Ed Rev A 08 11 15 5 Chapter 15 F0 04THM 4 Channel Thermocouple Input i Voltage Input Wiring Diagram All of the modules CH terminals must be connected together as shown below This will help eliminate ground potential differences between the input channels that could cause damage to the module The two unlabeled terminals are internally connected and may be used for convenience to connect the CH terminals together as shown below Notes 1 Shields should be grounded at the PLC power source 2 All CH terminals must be connected together 3 Unused channels should have a shorting wire jumper installed from CH to CH 4 CJC functionality is automatically disabled when a Voltage input is selected Transmitter Supply 4 r CH1 Voltage Transmitter cH1 IN TEMP mV T L i che Jour See wares Se The CJC D The LM35 shown CH2 comes in the diagram is CIC installed on P the CJC ac 2 S the terminal QUE LM35 a S x strip Tcl CIC S a See NOTE 4 CJC Self powered ias H eic Voltage CH3 Transmitter CH3 A See NOTE 1 F See NOTE 2 m CH4 H CH4 F0 04 THM Voltage l Transmitter CH4
Download Pdf Manuals
Related Search
Related Contents
User Guide PDF - ダッチウエストジャパン PDF [Download] Téléchargez le guide d`utilisation Mode d`emploi Abaisse langue en bois Best Support Hight Performance Nissan Century Securities Declaración de garantía de fabricante de RATIONAL I. Relación con T。SHーBA ア~ムライ ト取扱説明書 保管用 ユーザーズガイド(取扱説明書) MultiNet for OpenVMS User's Guide Copyright © All rights reserved.
Failed to retrieve file