Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
NEXGEN PLC
8 Channel, Thermocouple Input Module (Ordering Code 4310)
Document No.:ED-2002-016
Version: 1.0
MESSUNG SYSTEMS EL-2, J- Block MIDC Bhosari, Pune 411026.(INDIA) Tel: (+91)-020-712 0807, 712 2807. Email : marketing@ms.messung.com WEB: www.messung.com
Messung Systems
1.0
22 May 2004
8 Channel, Thermocouple Input Module (Ordering Code 4310) NEXGEN Series of PLCs.
Messung Systems
INDEX
1. 1.1 1.2 1.3 2. MODULE OVERVIEW........................................................................................................................................ 6 THERMOCOUPLE INPUT MODULE OVERVIEW ...................................................................................................... 6 LED INDICATIONS ............................................................................................................................................. 8 GENERAL SPECIFICATIONS ................................................................................................................................ 9 MODULE OPERATION.................................................................................................................................... 10 2.1 BLOCK DIAGRAM............................................................................................................................................. 10 2.2 THERMOCOUPLE TYPES AND RANGE OF TEMPERATURES ................................................................................... 12 2.3 ON-BOARD PROCESSOR OPERATIONS............................................................................................................. 12 2.3.1 Power On Operations ............................................................................................................................ 12 2.3.2 Analog to Digital Conversion ................................................................................................................. 13 2.3.3 Cold Junction Compensation................................................................................................................. 14 2.3.4 Scaling ................................................................................................................................................... 14 2.3.5 Linearization .......................................................................................................................................... 14 2.3.6 Averaging .............................................................................................................................................. 15 2.4 MODULE INFORMATION ................................................................................................................................... 15 2.4.1 Input Output Image Mapping ................................................................................................................. 15 2.4.2 Memory Mapping ................................................................................................................................... 16 2.4.3 Commands ............................................................................................................................................ 17 2.4.4 Module Status Bits................................................................................................................................. 18 3. 3.1 3.2 3.3 4. INSTALLATIONS AND WIRING...................................................................................................................... 19 MODULE INSTALLATION ................................................................................................................................... 19 CONNECTION DETAILS .................................................................................................................................... 19 PRECAUTIONS TO BE TAKEN ............................................................................................................................ 21 CONFIGURATION AND PROGRAMMING ..................................................................................................... 22 4.1 SLOT CONFIGURATION .................................................................................................................................... 22 4.2 CHANNEL CONFIGURATION .............................................................................................................................. 23 4.2.1 Static Configuration ............................................................................................................................... 23 4.2.2 Dynamic Configuration .......................................................................................................................... 25 4.3 CHANNEL INFORMATION .................................................................................................................................. 27 4.3.1 Channel Data......................................................................................................................................... 27 4.3.2 Channel Status ...................................................................................................................................... 27 4.4 PROGRAMMING WITH NEXGEN 4000 CPU ....................................................................................................... 30 4.5 PROGRAMMING WITH NEXGEN 5000 CPU ....................................................................................................... 37 5. 5.1 5.2 6. TROUBLESHOOTING ..................................................................................................................................... 42 LED INDICATIONS FOR DIAGNOSTICS............................................................................................................... 42 FAULT DIAGNOSTIC ......................................................................................................................................... 42 APPENDIX 1 .................................................................................................................................................... 46 6.1 REFERENCE TABLE - T TYPE THERMOCOUPLE (COPPER VS. COPPER-NICKEL) ................................................. 47 6.2 REFERENCE TABLE - E TYPE THERMOCOUPLE (NICKEL-CHROMIUM VS. COPPER-NICKEL)................................. 48 6.3 REFERENCE TABLE - R TYPE THERMOCOUPLE (PLATINUM-13% RHODIUM VS. PLATINUM) ................................ 48 6.4 REFERENCE TABLE - S TYPE THERMOCOUPLE (PLATINUM-10% RHODIUM VS. PLATINUM)................................. 49 6.5 REFERENCE TABLE - B TYPE THERMOCOUPLE (PLATINUM-30% RHODIUM VS. PLATINUM-6% RHODIUM) ........... 50 6.6 REFERENCE TABLE - N TYPE THERMOCOUPLE (NICKEL-14.2% CHROMIUM-1.4% SILICON VS. NICKEL-4.4% SILICON- 0.1% MAGNESIUM) ................................................................................................................................... 51
Messung Systems
INDEX OF FIGURES
FIGURE 1 : FRONT VIEW OF THERMOCOUPLE INPUT MODULE.........................................................7 FIGURE 2 : BLOCK DIAGRAM OF THERMOCOUPLE INPUT MODULE..................................................11 FIGURE 3 : ADC CONVERSION CYCLE ........................................................................................13 FIGURE 4 : INPUT OUTPUT IMAGE MAPPING OF THERMOCOUPLE INPUT MODULE .........................16 FIGURE 5 : MEMORY MAPPING OF THERMOCOUPLE INPUT MODULE .............................................16 FIGURE 6 : CONNECTION DIAGRAM OF THERMOCOUPLE INPUT MODULE .......................................20
Messung Systems
a)
Guidelines for the Safety of the user and protection of I/O Modules. This manual provides information for the use of the I/O Modules . The manual has been written to be used by trained and competent personnel. The definition of such a person or persons is as follows: Any engineer who is responsible for the planning, design and construction of automatic equipment using the product associated with this manual should be of a competent nature, trained and qualified to the local and national standards required to fulfill that role. These engineers should be fully aware of all aspects of safety with regards to automated equipment. Any commissioning or service engineer must be of a competent nature, trained and qualified to the local and national standards required to fulfill that job. These engineers should also be trained In the use and maintenance of the completed product. This Includes being completely familiar with all associated documentation for the said product. All maintenance should be carried out in accordance with established safety practices. All operators of the completed equipment should be trained to use that product in a safe and coordinated manner in compliance to established safety practices. The operators should also be familiar with documentation, which is connected with the actual operation of the completed equipment. Note: The term-completed equipment refers to a third party constructed device, which contains or uses the product associated with this manual. Note on the Symbol used in this Manual At various times through out this manual certain symbols will be used to highlight points of Information, which are Intended to ensure the users personal safety and protect the integrity of equipment. Whenever any of the following symbols are encountered its associated. Note must be read and understood. Each of the symbols used is listed below; with a brief description of its meaning.
b)
c)
Warning !
This product can only function correctly and safely if it is transported, stored, setup, and installed correctly, and operated and maintained as recommended.
Warning !
The specifications of product and contents of manual are subject to change without notice.
Messung Systems
1. Module Overview
This chapter describes the following Thermocouple Input Module Overview LED Indications General Specifications
J K T E R S B N
C Temperature range -210.0 to +760.0 -270.0 to +1370.0 -270.0 to +400.0 -270.0 to +1000.0 0.0 to +1760.0 0.0 to +1760.0 0.0 to +1820.0 -270.0 to +1300.0
The parameters and commands those are transferred to the module for advanced processing are Thermocouple input type Return value in case of open circuit Averaging Channel enable / disable Maximum minimum set points Static configuration write The module provides diagnostic information for each channel. It includes Maximum / minimum set points exceeded Invalid configuration Out of range Open circuit detection CJC fault This is an intelligent module with on-board processor and memory. The data transfer between CPU module and thermocouple input module takes place by 'READ_W' and 'WRITE_W' functions in application program. The module status is available in input image and commands can be issued through output image.
Messung Systems
The figure 1 on next page shows front view of 8 channels thermocouple input module
4310
Terminal Block Fixing Screw
01 02 03 04 05 06 07 08 09 10
CH0 11 TC0+ TC1+ TC0CH1 CH2 CH3 CH4 CH5 CH6 CH7
12 13 14 16
18 20 22
24 25 26 28 30 31 32 33 34 35
IO Label
36 37 38
LED Indications
Front Door
Figure 1 : Front View of Thermocouple Input Module The module provides LED indications on the front. Brief information about channel can be written on the front door. Behind front door, 38-pin removable terminal block is provided for interfacing. The wiring details are shown on backside of front door.
SD-2002-016 8 Channel Thermocouple Input Module(4310)mod.doc Document No.: ED-2002-006/V1.0 Published July 2002 Page 7 of 53
Messung Systems
The thermocouple input module can be configured in any IO slot of the PLC. The number of thermocouple input modules is limited by back panel current capacity. In general a channel requires following information Dynamic configuration information Static configuration information Data and Status information In all, 22 words information per module is available.
LED
No 24 V Supply
Color
Orange
Status
OFF ON OFF
Description
24 VDC supply to module healthy 24 VDC supply to module absent 24 VDC circuit on-board glass fuse blown Module hardware healthy and module is ready Module in self test CPU watchdog faulty Module busy CJC sensor OK. CJC sensor short CJC sensor open Channel not enabled Channel enabled and healthy Parameter mismatch Invalid configuration Over range Under range Open circuit CJC fault
CPU fault
Orange
ON OFF
CJC Fault
Orange
ON OFF ON
Green
Messung Systems
-210.0 C to +760.0 C -270.0 C to +1370.0 C -270.0 C to +400.0 C -270.0 C to +1000.0 C 0.0 to +1760.0 C 0.0 to +1760.0 C 0.0 to +1820.0 C -270.0 C to +1300.0 C
0.1 C 0.5 % of full scale 50 Hz 60 ms per channel In steps of 10 C LM 35 IC sensor mounted on terminal block itself 1.5 kV optical Nil 1 M Ohms 24 V DC, 100 mA (18 30 VDV including ripple) 315 mA miniature glass fuse on module Reverse polarity protection No 24 V Supply CPU fault CJC fault Channel status (8) 250 mA 8 input bits and 8 output bits Removable 38 pin terminal block 4310
Messung Systems
2. Module Operation
This chapter helps in getting started with the thermocouple input module. It describes the basic operation of the module. This chapter explains operational details of: Block Diagram Thermocouple Types and Range of Temperatures On-Board Processor Operations Module Information
At the time of application program development, the module can be configured using the programming software DOXMINI+ so that above special features can be used. Refer chapter 4 for configuration and programming details.
Processor
Watch Dog
TC0+ TC0SHIELD0
Amplifier
Information
Multiplexer
TC7+ TC7SHIELD7
CPU Module
DC-to-DC Converter
Messung Systems
Figure 2 : Block diagram of Thermocouple Input module The module provides eight analog to digital channels for thermocouple input. CPU bus is optically isolated from ADC circuit. The analog to digital converter operates on serial data from the channels. The cold junction compensation sensor signal and enabled channel input signals are multiplexed and then amplified for ADC input. Thus sigma-delta (/ ) ADC converts only enabled analog channels to digital value one by one. The converted count for each channel is manipulated by on-board processor. It has following functions. Cold junction compensation Scaling Linearization Averaging
Thus cold junction compensated, scaled and linearized temperature reading is transferred to module memory, which holds channel data information. If averaging is required, depending on the averaging count, on-board processor performs averaging of those many previous readings and updates channel data information. The channels can be independently enabled or disabled. Each channel input circuit has open circuit detection mechanism. On-board processor detects signals, which are out of range of selected input type. The CJC sensor faults are detected by module. All this information is available to main CPU. The dynamic configuration, static configuration, data, status information is available in dual port RAM on the module. The configuration of all channels is transferred to the module memory using WRITE_W function in the application program. Similarly data and status of all channels can be read by READ_W function in the application program. The module requires external 24 V for ADC circuit operation. Internally DCto-DC converter generates 15 VDC and 5 VDC as required by each channel. If 24 VDC is absent or on-board glass fuse is blown, module generates 'No 24 V Supply' signal for main CPU. The fuse protection for external 24 VDC supply is provided on module.
Messung Systems
J K T E R S B N
Iron Vs Constantan (Copper-Nickel) Chromel (Nickel-Chromium Vs Alumel (Nickel-Aluminium) Copper Vs Constantan (Copper-Nickel) Chromel (Nickel-Chromium) Vs Constantan (Copper-Nickel) Platinum Vs Platinum-13% Rhodium Platinum Vs Platinum-10% Rhodium Platinum- 6% Rhodium Vs Platinum-30% Rhodium Nickel-14.2% Chromium-1.4% Silicon Vs Nickel-4.4% Silicon-0.1% Magnesium
-8.096 to 42.922 -6.458 to 54.807 -6.258 to 20.869 -9.835 to 76.358 0.000 to 21.108 0.000 to 18.698 0.000 to 13.814 -3.990 to 47.502
-210.0 to +760.0 -270.0 to +1370.0 -270.0 to +400.0 -270.0 to +1000.0 0.0 to +1768.0 0.0 to +1768.0 0.0 to +1820.0 -200.0 to +1300.0
Messung Systems
2.3.2
Analog to Digital Conversion The module samples a thermocouple input channel and converts mV input to its digital value one by one. After power on, first CJC sensor signal is sampled and conversion is started. After that as shown in the figure below, only enabled channels are converted. If any error like invalid configuration is detected, channel is not converted. The disabled channels or channels with error detected are bypassed retaining earlier values. After one channel conversion, module initiates next channel conversion. During this conversion period, module processes converted data of previous channel. This process includes applying CJC compensation, scaling, linearization and averaging. Thus the processed data for previous channel is made available during this period. After converting all healthy channels, processed data and status information of all the channels is transferred to respective memory area on the module. This cycle continues. Thus when the processor module performs READ_W operation, it reads either old or new information i.e. data and status of channels.
Channel 0 disabled / error detection
CJC Channel Conversion Update all channel data and status Channel 0 Conversion Channel 7 Conversion
Figure 3 : ADC Conversion Cycle The module takes certain time to sample all enabled channels and convert into digital value. The required time is the module update time. The factors affecting module update time is number of channels enabled. The module update time is minimum when only one channel is enabled. Likewise the module update time is maximum when all channels are enabled. The module incorporates a digital low pass filter to reject noise on the input signal. For thermocouple inputs, it is fixed to 50 Hz. It provides better noise rejection for low filter frequencies.
Messung Systems
2.3.3
Cold Junction Compensation Cold Junction Compensation (CJC) is necessary when making temperature measurements using thermocouples. The thermocouple itself works on the principle that an electrical potential exists at the junction of two dissimilar metals. The amount of this potential varies with temperature. When using a thermocouple, the voltage across the thermocouple is measured and accordingly the temperature is calculated. CJC becomes necessary because the junction between each end of the thermocouple and thermocouple input module (terminal block) also adds a potential difference to the actual thermocouple voltage. When the thermocouple wires are connected to the terminal block, two more thermocouple junctions are formed, because the terminals are made of a different material (copper) than the thermocouple wires. These extra junctions (called cold junctions), develop their own voltage, which alters the voltage generated by the actual thermocouple. To compensate for this added potential, it is necessary to know the temperature at the junction between the thermocouple and terminal block. This temperature is measured using an extra CJC sensor. This is a temperature sensor other than a thermocouple. The sensors used here is IC (integrated circuit) sensors LM 35, which is directly, mounted on terminal block between terminal numbers 4, 6 and 8 as shown in chapter 3.2. 15 VDC for the sensor LM35 is provided by thermocouple input module. The sensor provides 0 to 70 mV for 0 to 70 C temperature. To make actual thermocouple temperature measurement, the voltage from the thermocouple and CJC sensor is measured considering them as different channel inputs as explained in chapter 2.3.2. Then CJC sensor temperature reading is compensated from thermocouple channel temperature reading. Thus the effect of cold junctions is negated. This compensated reading is then scaled and linearized to get actual temperature.
2.3.4
Scaling The mV signal from thermocouples is scaled for equivalent temperature as per reference tables provided by standards. For the same, refer appendix 1.
2.3.5
Linearization Thermocouple signals are not linear e.g. 10 percent change in a thermocouple voltage does not correspond to a 10 percent change in its temperature. Therefore linearization of thermocouple signal is necessary to get equivalent temperature. Also, each thermocouple type requires different linearization. In thermocouple input module linearization is performed by flexible software methods. This is done with look up table in steps of 10 C for each thermocouple type. ADC count is mapped within its 10 C temperature range and equivalent temperature is calculated considering line equation.
Messung Systems
2.3.6
Averaging The module provides user selectable averaging facility so that stable value is available for processing and necessary control action. The module samples and converts enabled channels one by one. The module keeps digital value into different memory locations. Depending on the averaging count, the module performs averaging of those many previous readings and updates channel data information. Thus if the averaging counts of channel 0, 1 and 2 are 0, 4 and 8 respectively, then initially data of channel 0, 1 and 2 are updated after 1, 4 and 8 conversion cycles respectively. After that, it gets updated in every cycle. One conversion cycle means sampling and converting all enabled channels as explained in chapter 2.3.2. Thus combination of filter frequency and averaging count can be selected to get optimum channel update time and stable temperature reading.
CPU Fault
Output Image
Static Configuration Write Qx.0
Channel 5 Channel 6
Channel 7
Messung Systems
Figure 4 : Input Output Image Mapping of Thermocouple Input Module The module consumes 8 input bits (1 byte) of input image and 8 output bits (1 byte) of output image in the CPU module. CPU reads the status of module in input scan. CPU writes user commands to module in output scan. For immediate updation of input and output image in application program, IMM_IN and IMM_OUT functions can be used in application program whenever required. For the details refer chapter 2.4.3 and 2.4.4. 2.4.2 Memory Mapping The memory mapping related to thermocouple input module is shown in figure below.
CPU module Thermocouple Input module
Logic Scan WRITE W ENO EN SLOT DATA LEN ADDR Logic Scan READ W ENO EN SLOT DATA MW118 MW120 MW122 MW124 MW126 LEN ADDR 17 words hold channel dynamic information of 8 channels Channel Enable Word MMW00 Channel 0 High Set Point MMW02 Channel 0 Low Set Point MMW04
17 words hold channel dynamic information of 8 channels Channel Enable Word MW66 Channel 0 High Set Point MW68 Channel 0 Low Set Point MW70
MW96 MW98
8 words hold channel static information of 8 channels Channel 0 Static Configuration MW50 Channel 7 Static Configuration MW64 9 words hold data for 8 channels and CJC Channel 0 Data MW100 Channel 7 Data CJC Data 5 words hold status of 8 channels Channel Set Point Status Channel Configuration Status Channel Input Range Status Channel Open Circuit Status CJC Sensor Status MW114 MW116
MMW30 MMW32
8 words hold channel static information of 8 channels Channel 0 Static Configuration MMW96 Channel 7 Static Configuration MMW110 9 words hold data for 8 channels and CJC Channel 0 Data MMW128 Channel 7 Data CJC Data 5 words hold status of 8 channels Channel Set Point Status Channel Configuration Status Channel Input Range Status Channel Open Circuit Status CJC Sensor Status MMW142 MMW144 MMW146 MMW148 MMW150 MMW152 MMW154
Figure 5 : Memory Mapping of Thermocouple Input Module The configuration (grouped as static and dynamic) from PLC variable area e.g. memory or page is transferred to module memory when WRITE_W function gets executed in application program i.e. in logic scan. The module
Published July 2002 Page 16 of 53 SD-2002-016 8 Channel Thermocouple Input Module(4310)mod.doc Document No.: ED-2002-006/V1.0
Messung Systems
takes action on static configuration information only when static configuration write command is issued. This can be issued by setting Qx.0 bit of output image. In case of dynamic configuration information, the module detects any change in configuration cyclically and if any valid change is detected, it takes appropriate action. After power on, the module starts converting CJC sensor input channel. The module starts its channel conversion operation only after receiving valid configuration. If channel configuration is modified or channel is enabled / disabled, it takes effect only in the subsequent conversion cycle. The channel configuration can be modified using WRITE_W function. Similarly channel can be enabled or disabled during normal operation for optimum results. The channel temperature readings and CJC reading (ambient temperature) and status information can be read from the module using READ_W function. 2.4.3 Commands As discussed in chapter 2.4.1, output image bits are used as user commands to module. User can issue various commands to module through application program. CPU writes commands in output image area of module in output scan. The module reads output image area cyclically and takes appropriate action. If 'IMM_OUT' function is executed in logic scan for a particular slot, it stops current logic scan, executes output scan for defined slot and resumes logic scan again. This is useful when ever immediate updation of output image is needed. The functions of output image bits are given below No. Bit Address Command Write static configuration OFF Status ON 1 Qxx.0 Description It gives command to module to accept static configuration or change static configuration as per contents of module memory words MMW #96 to MMW#110. Write static command is OFF.
Note xx is slot number in which module is fixed. Qxx.1 to Qxx.7 are reserved and should not be used.
Messung Systems
2.4.4
Module Status Bits As discussed in chapter 2.4.1, input image bits are used as module status indications. User can check the module status through application program. The module writes status in its input image area cyclically. The CPU reads this input image area in input scan. If 'IMM_IN' function is executed in logic scan for a particular slot, it stops current logic scan, executes input scan for defined slot and resumes logic scan again. This is useful when ever immediate updation of input image is needed. The functions of input image bits are given below
No.
Bit Address
Module Status
Statu s
ON OFF
Description
24 VDC supply to module absent 24 VDC circuit fuse blown. Module CPU watch dog fault. Module not ready. 24 VDC Supply to module healthy Module healthy and ready Invalid static configuration Parameter mismatch Valid static configuration Valid parameters Any channel temperature reading above high set point Any channel temperature reading below low set point All channel temperature readings within high and low set points Over range for any enabled channels/s. Under range for any enabled channels/s. All enabled channel inputs are within specified range Open circuit for any enabled channels/s. All enabled channel inputs are connected CJC sensor open CJC sensor short CJC sensor healthy Module CPU watch dog fault Module not ready Module healthy and ready
Ixx.0
Not Applicable
Ixx.1
Invalid Configuration
ON OFF ON OFF ON
MMW #148
Ixx.2
MMW #146
Ixx.3
MMW #150
Ixx.4
MMW #152
Ixx.5
Ixx.6
CPU Fault
ON OFF
Note xx is slot number in which module is fixed. Ixx.6 is reserved and should not be used. Whenever accessing the module, user must check the module status bit Ix.0. If any error condition is detected in input image, check corresponding module memory word to get more details to locate exact problem.
Published July 2002 Page 18 of 53 SD-2002-016 8 Channel Thermocouple Input Module(4310)mod.doc Document No.: ED-2002-006/V1.0
Messung Systems
Messung Systems
01 02 03 04 05 06
Thermocouple 1
TC115 SHIELD0 17 SHIELD1 TC2+ TC3+ TC2TC3SHIELD2 SHIELD3 TC4+ TC5+ TC4-
18 19 20 21 22 23 24 25
Thermocouple 8
26 28 30
32
33 34 35 36 37 38
In figure, thermocouples are connected to channel 0 and 7. For interfacing thermocouples, 38-pin terminal block is provided. Thermocouple input is connected to TCn+ and TCn- terminals, where n is a channel number. For healthy working, ensure correct polarity of thermocouple element. It is ensured that all the three connections of a thermocouple element come in line on terminal block for easy connectivity. Thermocouple 1 is connected to terminal cumbers 12, 14 and 16. Thermocouple 2 is to be connected to terminal numbers 13, 15 and 17. Thermocouple 8 is to be connected to
Published July 2002 Page 20 of 53 SD-2002-016 8 Channel Thermocouple Input Module(4310)mod.doc Document No.: ED-2002-006/V1.0
Messung Systems
terminal numbers 31, 33 and 35. Ensure that thermocouple element is isolated tip type only. Being susceptible to industrial noise, mill volt signal from thermocouple is to be carried out on the field through shielded cable. Connect shield on module side to 'SHIELDn' terminal provided on terminal block. For each thermocouple input separate 'SHIELDn' terminal is provided. Other end of shield should be earthed. For functioning of thermocouple input module, external 24 VDC supply is required. Connect 24 VDC supply between terminals 36 (+ 24 V) and 37 (0 V). Connect terminal 38 to earth busbar in control panel.
Outside control panel Following guidelines to be observed outside control panel. Depending upon the type of modules used in PLC, separate ducts should be provided for Power circuit wiring and power cables. Input cables Output cables All cables carrying low level signals for analog IO modules, thermocouple/ RTD input modules and for communication.
Wherever possible, it is recommended to Avoid parallel routing of cables carrying analog signals and power cables, etc over long distances Ensure that cables carrying analog signals cross at right angles to power cables so that minimum length of cable will be in close vicinity of power cables. Run cables on metallic surfaces Avoid number of joints Keep cable lengths as short as possible.
Published July 2002 Page 21 of 53
Messung Systems
Input module in first slot 0 consumes IB0 to IB3 of input image. Output module in slot 1 consumes QB4 to QB7 of output image. Thermocouple input module consumes IB8 of input image and QB8 of output image.16 DC Output module in slot 3 consumes QB9 and QB10 of output image. The IO byte consumption along with configuration of Nexgen5000 PLC is shown below.
Power Supply Module Nexgen5000 CPU Module Slot 0 32 DC Input Module (4632) %IX0.0 - %IX0.7 %IX1.0 - %IX1.7 %IX2.0 - %IX2.7 %IX3.0 - %IX3.7 Slot 1 32 DC Output Module (4732) Slot 2 Thermocouple Input Module (4310) Slot 3 16 DC Output Module (4716)
%QX0.0 - %QX0.7 %QX5.0 - %QX5.7 %QX1.0 - %QX1.7 %IX4.0 - %IX4.7 %QX6.0 - %QX6.7 %QX2.0 - %QX2.7 %QX4.0 - %QX4.7 %QX3.0 - %QX3.7
Messung Systems
Input module in first slot 0 consumes IB0 to IB3 of input image. Output module in slot 1 consumes QB0 to QB3 of output image. The analog input module consumes IB4 of input image and QB4 of output image.16 DC Output module in slot 3 consumes QB5 and QB6 of output image.
Messung Systems
Item
Description B thermocouple N thermocouple Invalid Invalid 50 Hz Invalid Invalid Zero Upper Scale Lower Scale Invalid 16 8 4 1 --
15 14 13 12 11 10
4 3 2 1 0 0 0 1 1 0 0 0 1 1 1 0 1 0 0 0 1 1 1 1 1
Filter Return value on Open circuit & CJC fault Avg. Samples Res.
0 0 1 0 0 1 1 0 0 1 1 0 0 0 0 0 1 0 1 0 1 0 1
0 0 1
0 1 1
Input type The thermocouple input module supports different types of inputs. The inputs include J type thermocouple K type thermocouple T type thermocouple E type thermocouple R type thermocouple S type thermocouple B type thermocouple N type thermocouple Bit 0 to bit 4 hold input type information. Filter frequency Next three Bits, Bit 5 to bit 7 defines the low-pass filter frequency. One out of four filter frequencies can be selected.
Bit 7 0 0 0 0 0 0 1 1 Bit 6 0 1 0 1 Bit 5 Filter Frequency 50 Hz 60 Hz 250 Hz 500 Hz Update time for a Channel 60 ms 50 ms 12 ms 6 ms
This is in built function of ADC. The filter frequency affects noise rejection on incoming thermocouple milli- volt signal. A lower filter frequency increases
Published July 2002 Page 24 of 53 SD-2002-016 8 Channel Thermocouple Input Module(4310)mod.doc Document No.: ED-2002-006/V1.0
Messung Systems
noise rejection. Also it affects channel update time. So select a filter frequency considering acceptable noise and channel update time. Return value on open circuit and CJC fault Next two bits, bit 8 and bit 9 define the value of the channel temperature reading when the open circuit is detected for that channel or CJC fault (CJC sensor open or short) is detected.
Bit9 Bit8 Open Circuit value
0 0 1 1
0 1 0 1
In such open circuit condition, the channel value can be set to any one of above options considering safety in control action. Averaging Next two Bits, Bit10 and Bit 10 define the selection of sampling value for averaging.
Bit10 Bit11 Averaging Samples
0 0 1 1
0 1 0 1
16 8 4 No
If the averaging counts of channel 0, 1 and 2 are 0, 4 and 8 respectively, then initially data of channel 0, 1 and 2 are updated after 8, 4 and 1 conversion cycles respectively. After that, it gets updated in every cycle. One conversion cycle means sampling and converting all enabled channels as explained in chapter 2.3.2. Thus combination of filter frequency and averaging count can be selected to get optimum channel update time and stable temperature reading. Module memory words MMW #0 to MMW #32 are module memory words for dynamic configuration. MMW #0 is a channel enable / disable word. MMW #2 to MMW #32 provides high and low set points for individual channels. 4.2.2 Dynamic Configuration The channel dynamic configuration information includes Channel enable/ disable Channel high and low set points This information is transferred to module memory by using 'WRITE_W function. The module detects change in dynamic configuration information in its own scan. If valid change is detected, appropriate action is initiated and dynamic configuration or change in dynamic configuration is effective immediately. Channel Enable
SD-2002-016 8 Channel Thermocouple Input Module(4310)mod.doc Document No.: ED-2002-006/V1.0 Published July 2002 Page 25 of 53
Messung Systems
The eight bits in module memory word MMW #0 defines the enable status of the all the channels. If it is 0 channel is disabled and if it is 1 channel is enable. The module samples only enabled channels and converts into digital value. Thus enabling only used channels can minimize the channel update time. If a particular channel is important at particular instance, all other channels can be disabled temporarily and only one channel conversion can be carried out to get fast response. MMW #0 Channel enable / disable word
Item Ch 0 Description Disable Enable Disable Enable 0 0 0 0 0 0 0 0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 1
Ch 7 Res
0 1
Bit 0 of MMW #0 is enable / disable bit for channel 1. Bit 7 of MMW #0 is enable / disable bit for channel 8. Bits 8 to 15 are reserved and should not be used. Channel High and Low set points User can define high and low set points for individual channel temperature readings available in 0.1 C resolution. If channel temperature is above high set point, corresponding high bit in MMW #146 is set. If channel temperature is below low set point, corresponding bit in MMW # 146 is set. MMW #2 to MMW #32 - Channel High and Low set points MMW #2 MMW #4 MMW #30 MMW #32 Channel 0 high set point (in 0.1 C resolution) Channel 0 low set point (in 0.1 C resolution) Channel 7 high set point (in 0.1 C resolution) Channel 7 low set point (in 0.1 C resolution)
Valid range for high and low set points is changed as per input type selection. These user settings are compared with input type selected for a channel. If settings are not within range of that input type, Ixx.1 bit is made ON indicating invalid configuration. Refer MMW #148 to point out faulty channel configuration. If high set point for a channel is less than that of low set point and vice versa, Ixx.1 bit is made ON indicating parameter mismatch. Refer MMW #148 to point out faulty channel configuration. MMW #34 to MMW #94 are reserved and should not be used.
Messung Systems
4.3
Channel Information For the configured channels, necessary information is available as channel data and status bits. This is explained in details below
4.3.1
Channel Data Module memory words MMW #128 to MMW #142 are module memory words for channel temperature readings. MMW #144 holds CJC sensor reading. This is nothing but ambient temperature. The temperature reading resolution is 0.1 C. For enabled channels, this information is updated cyclically in module. The data is read and stored using READ_W function in application program. Thermocouple Type J K T E R S B N C Temperature range -210.0 to +760.0 -270.0 to +1370.0 -270.0 to +400.0 -270.0 to +1000 0.0 to +1768.0 0.0 to +1768.0 0.0 to +1820.0 -200.0 to +1300.0
4.3.2
Channel Status Channel status information is available in MMW #146 to MMW #154 in bit form as follows. Channel high and low set point status MMW #146 stores high and low limit status of individual channels.
Item Ch 0
Description < Max. limit > Max. limit > Min. limit < Min. limit < Max. limit > Max. limit > Min. limit < Min. limit
15 14 13 12 11 10
1 0 1
0 0 1
Ch 7
0 1 0 1
First two bits bit 0 and bit 1 holds high and low point status of channel 0 comparing high and low set points in MMW #2 and MMW #4 respectively. Channel 0 high bit, bit 0 becomes ON when temerature reading is above high set point. It becomes OFF when temprature reading is below high set point. Low bit becomes ON when temerature reading is below low set point. It becomes OFF when temprature reading is above low set point.
SD-2002-016 8 Channel Thermocouple Input Module(4310)mod.doc Document No.: ED-2002-006/V1.0 Published July 2002 Page 27 of 53
Messung Systems
Similarly next two bits gives high and low point status of cahnnel 1 and so on. Channel configuration status Module memory word MMW #148 holds status of validity of configuration and parameters for all the channels. MMW #148 Channel configuration and parameter mismatch status
Item Ch 0 Description Config. valid Config. Invalid 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 1
Ch 7 Res -
0 1
Bit 0 of MMW #148 gives channel 0 configuration status and bit 7 of MMW #148 gives channel 7 configuration status. Configuration bit is ON when Static configuration for a channel is invalid i.e. if bit 4 to bit 0 are 01000 to 11111 if bit 5 to bit 7 are 100 to 111 In dynamic configuration if high set point is not within specified input range if low set point is not within specified input range if high set point < low set point In all these cases, Ixx.1 bit becomes ON. Corresponding green channel LED starts flashing. Channel out of range status MMW #150 stores over range and under range status of individual channels.
Item Ch 0 Description < Over range Over range > Under range Under range < Over range Over range > Under range Under range 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 1 0 1 0 1 0 0 1
Ch 7
First two bits bit 0 and bit 1 gives over range and under range status of channel 0 depending on input type selected. Next two bits give over range and under range status of channel 1 and so on. The input ranges are as given below.
Messung Systems
Thermocouple Type J K T E R S B N
mV signal C Temperature range -8.096 to 42.922 -210 to +760 -6.458 to 54.807 -270 to +1370 -6.258 to 20.869 -270 to 400 -9.835 to 76.358 -270 to 1000 0.000 to 21.108 0 to 1768 0.000 to 18.698 0 to 1768 0.000 to 13.814 0 to 1820 -3.990 to 47.502 -200 to 1300
Over range bit becomes ON when thermocouple input is above specified input signal. Under range bit becomes ON when thermocouple input is below specified input signal. In all these cases, corresponding green channel LED starts flashing. Open Circuit Error MMW #152 stores open circuit status of individual channels.
Item Ch 0 Description Input connected Open circuit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 1
Ch 7 Res
0 1 0 0 0 0 0 0 0
Bit 0 of MMW #152 holds status of channel 0. It becomes ON if channel 0 is configured and input signal is not connected. Bit 1 of MMW #152 holds status of channel 1. In ADC conversion cycle, first open circuit status for configured channel is checked. If open circuit is detected, channel is bypassed and return value in case of open circuit is stored as channel temperature reading. Bit 9 and bit 8 of static configuration word of a channel decides return value as zero, upper scale or lower scale considering safety in control action. If open circuit error bit is set for a channel, corresponding channel LED (green color) on module starts flashing. CJC status MMW #154 stores cold junction compensation sensor channel status of individual channels.
Item Short Circuit Open Circuit Res Description 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Sensor not shorted 0 Sensor shorted 1 Sensor Connected 0 CJC Sensor Open 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Bit 0 of MMW #154 is CJC sensor short circuit bit Bit 1 of MMW #154 is open circuit status bit
Messung Systems
The behavior in case of CJC fault is similar to that of any thermocouple input channel. In case of fault, 'CJC fault' indication (yellow) on front side of module becomes ON.
'WRITE_W' function gets executed when condition for enable 'EN' is ON. 'ENO' output becomes ON, when EN is ON and function is executed successfully. ENO is OFF if Parameters of function are invalid or not within specified range. Thermocouple input module is not accessible to CPU module M0.0 --- WRITE_W -M0.1
ENO|-+---------+---( )--| | | |
|
#8 #96
So 8 words (MW50 to MW64) information from CPU memory is transferred to the memory at address #96 onwards of thermocouple input module fitted in slot 2. The 'READ_W' function below shows data transfer from the Thermocouple input module memory to CPU memory. The details of transfer are Thermocouple input module is configured in slot 2 of PLC Address on the thermocouple input module in slot 2 is #128 Start address of memory on the CPU module is MW100 Length of data area to be transferred is 8 words 'READ_W' function gets executed when condition for enable 'EN' is ON. 'ENO' output becomes ON, when EN is ON and function is executed successfully. ENO is OFF if Parameters of function are invalid or not within specified range. Thermocouple input module is not accessible to CPU module
Published July 2002 Page 30 of 53 SD-2002-016 8 Channel Thermocouple Input Module(4310)mod.doc Document No.: ED-2002-006/V1.0
Messung Systems
M0.2 ------ READ_W ----M0.3 +---| |---+--------- |EN ENO|-+---------+---( )--| | #2 -|SLOT | | | #128 -|ADDR | | | #8 -|LEN | | | MW100-|DATA | | | ------------------So 8 words (MMW128 to MMW142) information on thermocouple input module fitted in slot #2 are transferred to the CPU memory words (MW100 to MW114). Example of basic application program is given below. For the same, refer Nexgen PLC configuration shown in chapter 4.1. In the configuration, following points are to be noted. I 8.0 is a module status bit as 'Module Not OK' bit. I8.0 is set if 24 VDC supply to module is not healthy and / or hardware fault, watchdog fault is observed on module. I 8.1 is a configuration status bit as 'Invalid Configuration' bit. I 8.1 is set if for one or more channels, configuration is invalid. I 8.2 is a maximum minimum set point status bit as 'Set point Exceeded' bit. I 8.2 is set if for one or more configured channels, input signal is below or above limits set. I 8.3 is a thermocouple input range status bit as 'Out of Range' bit. I 8.3 is set if for one or more configured channels, input signal is below or above specified range. I 8.4 is a open circuit status bit as 'Open Circuit ' bit. I 8.4 is set if for one or more configured channels, input is not connected. I 8.5 is a CJC status bit as 'CJC Fault ' bit. I 8.5 is set if CJC sensor mounted directly on top side of terminal block is open or short. Q 8.0 is a command for 'Static Configuration Write'. When this bit is set by user, thermocouple input module accepts static configuration available in module memory words MMW#96 to MMW#110 and configures the module accordingly for input type, filter, return value for open circuit and number of averaging samples.
SD-2002-016 8 Channel Thermocouple Input Module(4310)mod.doc Document No.: ED-2002-006/V1.0 Published July 2002 Page 31 of 53
Messung Systems
S 4.2 is a 'Module Error' bit for the module fitted in slot 2. While developing application program, first check whether the module is healthy. For the same, check 'Module Error' bit S 4.2 and 'Module Not Ok' bit I8.0. If any bit is set, declare respective fault. In this case, module is not accessible. If both are OFF, then only enable 'WRITE_W' and 'READ_W' functions for thermocouple input module. The static configuration information consists of basic attributes like input type (J, K, T, E, R, S, B and N), filter (50 Hz, 60 Hz, 250 Hz, 500 Hz), return value in case of open circuit of input signal (zero, upper scale, lower scale) and no. of averaging samples ( 1, 4, 8, 16 ). This configuration is to be transferred to module memory MMW#96 to MMW#110, if all the 8 channels are used. In this example, channels are configured for T type of thermocouple 50 Hz filter Return value is of upper scale in case of open circuit of input signal No. of averaging samples is 8 For this configuration, the value $0902 should be written to respective module memory word.
Static Configuration Word
15 0
$0902
14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 0 0 1 0 0 1 0 0 0 0 0 0 1 0
Reserved Avg. of 4 Samples
50 Hz Filter
So MW50 to MW 64 should contain $0902, for the configuration required. This information is transferred to thermocouple module memory MMW#96 to MMW#110, when 'WRITE_W' function is executed. When 'WRITE_W' function is executed successfully, ENO output becomes ON, When ENO is ON, set 'Static Configuration Write' command bit informing the module to accept the static configuration or change in configuration. Once this information is transferred to module, it is valid as long as PLC power is present. It is recommended to enable 'WRITE_W function when Warm start is observed i.e. System bit S0.6 is ON Cold start is observed i.e. System bit S0.7 is ON Module Error bit becomes OFF i.e. System bit S4.2 is ON Module Not OK bit becomes OFF i.e. Input bit I8.0 is ON and Any other condition as per requirement of application program e.g. memory bit M2.0 is ON.
Messung Systems
S0.6 ------ WRITE_W ---Q8.0 +---| |---+---------+---------|EN ENO|-+---( )--| | | S0.7 | | | +---| |---+---------| #2 -|SLOT | | | | S4.2 M0.4 | | | +---| |---+---|N|---| MW50 -|DATA | | | | I8.0 M0.5 | | | +---| |---+---|N|---+ #8 -|LEN | | | | M2.0 M2.1 | | | +---| |---+---|P|---+ #96 -|ADDR | | | ------------------If 'WRITE_W' function is executed successfully, Q8.0 bit becomes ON for one scan duration. If this bit is not ON even if function enable conditions are ON, declare fault and take appropriate action. Once, static configuration is written, channels are enabled as per requirement. To enable all the channels, memory word MW166 should contain $00FF value. Enable 'WRITE_W' function with any condition M0.6 with interlocks of Module Error bit S4.2 and 'Module Not Ok' bit I8.0. When 'WRITE_W' function is executed, the data $00FF is transferred to module memory MMW#00. The maximum and minimum set points for each channel is transferred to module memory words MMW#02 to MMW#32 If 'WRITE_W' function is executed successfully, M0.7 bit becomes ON. If this bit is not ON even if function enable conditions are ON, declare fault and take appropriate action. M0.6 S4.2 I8.0 ------ WRITE_W ---M0.7 +---| |---+---|/|---+---|/|---|EN ENO|-+---( )--| | | | #2 -|SLOT | | | | | MW166 -|DATA | | | | | #17 -|LEN | | | | | #0 -|ADDR | | | ------------------SD-2002-016 8 Channel Thermocouple Input Module(4310)mod.doc Document No.: ED-2002-006/V1.0 Published July 2002 Page 33 of 53
Messung Systems
After transferring static and dynamic configuration information to thermocouple module memory, module starts functioning. Enable 'READ_W' function with any condition M1.0 with interlocks of Module Error bit S4.2 and 'Module Not Ok' bit I8.0. When 'READ_W' function is executed, the temperature readings (0.1 C resolution) stored in module memory MMW#128 to MMW#142 are transferred to CPU memory MW100 to MW#114 respectively. CJC data i.e. ambient temperature reading is available in memory word MW#116. If 'READ_W' function is executed successfully, M1.1 bit becomes ON. If this bit is not ON even if function enable conditions are ON, declare fault and take appropriate action. M1.0 S4.2 I8.0 ------ READ_W ----M1.1 +---| |---+---|/|---+---|/|---|EN ENO|-+---( )--| | | | #2 -|SLOT | | | | | #128 -|ADDR | | | | | #9 -|LEN | | | | | MW100 -|DATA | | | ------------------To read the status of temperature readings for maximum and minimum set points, it is necessary to read MMW#146 when I8.2 bit 'Set point Exceeded' in ON. I8.2 S4.2 I8.0 ------ READ_W ----M1.5 +---| |---+---|/|---+---|/|---|EN ENO|-+---( )--| | | | #2 -|SLOT | | | | | #146 -|ADDR | | | | | #1 -|LEN | | | | | MW126 -|DATA | | | ------------------Here M126.0 is over range bit for channel 0 and M126.1 is for under range for channel 0. Similarly, M127.6 is over range bit for channel 7 and M127.7 is
Published July 2002 Page 34 of 53 SD-2002-016 8 Channel Thermocouple Input Module(4310)mod.doc Document No.: ED-2002-006/V1.0
Messung Systems
for under range for channel 7. With this status, appropriate action can be taken for temperature control. To read the status of each channel, read the status information when ever corresponding input image bit is ON. This is depicted below. 'Invalid Configuration bit I8.1 becomes ON, if one or more channel configuration data is invalid. To find out exact faulty channel/s, read MMW#148 from module. I8.1 S4.2 I8.0 ------ READ_W ----M1.2 +---| |---+---|/|---+---|/|---|EN ENO|-+---( )--| | | | #2 -|SLOT | | | | | #148 -|ADDR | | | | | #1 -|LEN | | | | | MW118 -|DATA | | | ------------------When this 'READ_W' function is executed successfully, check CPU memory bits M118.0 to M118.7. M118.0 bit is ON if channel 0 configuration is invalid, M118.1 bit is ON if channel 1 configuration is invalid and so on. In this correct the configuration of faulty channel. In case of invalid configuration for particular channel, channel temperature reading becomes #0. 'Out of Range' bit I8.3 becomes ON, if one or more channel input signal/s is/are below or above specified range for selected input type. To find out exact faulty channel/s, read MMW#150 from module. I8.3 S4.2 I8.0 ------ READ_W ----M1.3 +---| |---+---|/|---+---|/|---|EN ENO|-+---( )--| | | | #2 -|SLOT | | | | | #150 -|ADDR | | | | | #1 -|LEN | | | | | MW120 -|DATA | | | -------------------
Messung Systems
When this 'READ_W' function is executed successfully, check CPU memory bits M120.0 to M121.7 for over range and under range status. M120.0 bit is ON if channel 0 input signal is above specified range, M120.1 bit is ON if channel 0 input signal is below specified range and so on. In this case, take proper action. For a particular channel, if input signal is above specified range, channel temperature reading remains at maximum value. For T type thermocouple input, this is 400.0 C. For a particular channel, if input signal is below specified range, channel temperature reading remains at minimum value. For T type thermocouple input, this is -270.0 C. 'Open Circuit' bit I8.4 becomes ON, if one or more channel input is disconnected. To find out exact faulty channel/s, read MMW#152 from module. I8.4 S4.2 I8.0 ------ READ_W ----M1.4 +---| |---+---|/|---+---|/|---|EN ENO|-+---( )--| | | | #2 -|SLOT | | | | | #152 -|ADDR | | | | | #1 -|LEN | | | | | MW122 -|DATA | | | ------------------When this 'READ_W' function is executed successfully, check CPU memory bits M122.0 to M122.7 for open circuit status. M122.0 bit is ON if channel 0 input is open, M122.1 bit is ON if channel 1 input is open and so on. In this case, take proper action. For a particular channel, in case of open circuit, channel temperature reading is forced to value selected by user. In this case, it is upper scale value, which is 400.0 C for T type of thermocouple input type. 'CJC Fault' bit I8.5 becomes ON, if CJC sensor is open or short. This CJC sensor is mounted directly on terminal block and terminal no. 4,6,8 are used for the same. To find out exact reason, read MMW#154 from module. I8.5 S4.2 I8.0 ------ READ_W ----M1.5 +---| |---+---|/|---+---|/|---|EN ENO|-+---( )--| | | | #2 -|SLOT | | | | | #154 -|ADDR | | | | | #1 -|LEN | | | | | MW124 -|DATA | | | ------------------Published July 2002 Page 36 of 53 SD-2002-016 8 Channel Thermocouple Input Module(4310)mod.doc Document No.: ED-2002-006/V1.0
Messung Systems
When this 'READ_W' function is executed successfully, check CPU memory bits M124.0 and M124.1 for CJC sensor status. M124.0 bit is ON if CJC sensor is short and M122.1 bit is ON if CJC sensor is open. In this case, take proper action. If CJC sensor fault is detected, all the channel temperature readings are forced to user selected value (the return value in case of open circuit). In this case, it is upper scale value, which is 400.0 C for T type of thermocouple input type.
Messung Systems
Messung Systems
So 8 words configuration information ( Static ) from CPU memory is transferred to the memory at address 96 onwards & 17 words configuration information ( Dynamic) from CPU memory is transferred to memory 0 onwars of Thermocouple input module fitted in slot 2. The 'IM_Read function shows data transfer from the Theromocouple input module memory to CPU memory. The details of transfer are The Thermocouple input module is configured in slot 2 of PLC Address on the Thermocouple input module in slot 2 is 128 The data to be stored in PLC variable array Thermocouple_Data & AIStatus array. Length of data area to be transferred is 16 bytes for Thermocouple_data & 8 bytes for AIstatus . 'IM_Read' function gets executed when ' Rd_Delay.Q ' is ON. 'Rd_Dn' & Stat_Rdy output becomes ON, when EN is ON and function is executed successfully. ENO is OFF if Parameters of function are invalid or not within specified range. The module is not accessible to CPU module
Messung Systems
Example of basic application program is given below. For the same, refer Nexgen PLC configuration shown in chapter 4.1. In the configuration, following points are to be noted. %IX4.0 is a module status bit as 'Module Not OK' bit. %IX4.0 is set if 24 VDC supply to module is not healthy and / or hardware fault, watchdog fault is observed on module. %IX4.1 is a channel status bit as. %IX4.1 is set if for one or more channels, configuration is invalid and / or any channel error like open circuit is observed. _BRACK_0_IOERR.2 is a 'Module Error' bit for the module fitted in slot 2. While developing application program, first check whether the module is healthy. For the same, check 'Module Error' bit _BRACK_0_IOERR.2 and 'Module Not Ok' bit %IX4.0. If any bit is set, declare respective fault. In this case, module is not accessible. If both are OFF, then only enable 'IM_Write' and 'IM_Read functions for Thermocouple module. Once Thermocouple input data is read successfully, the data can be processed as the application requirement. If anaolg input data read is to be displayed on HMI or SCADA, the varaible AIData should be mapped to any memory varaible while declaration like
Thermocouple_Data AT%MW100: ARRAY [0..7] OF INT;
Here the Thermocouple data for the channels is stored in memory variable %MW100 to %MW116 in integer format. Channel 0 data is stored in %MW100 while channel 7 data is stored in %MW16. If input image bit %IX4.0 or %IX4.1 is TRUE, the appropriate error should be declared and further processing of anaolg input data read should be hold. If input image bit %IX4.1 is TRUE, the status of all the channels can be read and individual channel error and exact cause can be located with the help of an application program as shown below.
Messung Systems
Messung Systems
5. Troubleshooting
In this chapter, following points related to thermocouple input module are discussed. LED Indications for diagnostics Fault Diagnostic
No 24 V Supply
CPU fault
Orange ON OFF
CJC Fault
Orange
ON OFF ON
Green
24 VDC supply to module healthy 24 VDC supply to module absent 24 VDC circuit on-board glass fuse blown Module hardware healthy and module is ready Module in self test CPU watchdog faulty Module busy CJC sensor OK. CJC sensor short CJC sensor open Channel not enabled Channel enabled and healthy Parameter mismatch Invalid configuration Over range Under range Open circuit CJC fault
In first two cases, replacement of module is required where as third case can be sorted out by on line monitoring of application program.
Published July 2002 Page 42 of 53 SD-2002-016 8 Channel Thermocouple Input Module(4310)mod.doc Document No.: ED-2002-006/V1.0
Messung Systems
Equipments required The following equipments are required for fault diagnosis of thermocouple input module Screw driver Digital Multi meter with measuring facility for mV DC voltage. Continuity and resistance. Set up for on line monitoring of application program as follows. PC with DOXMINI+ software PC to Nexgen PLC Cable The following diagnostic flow chart shows various possibilities of faults if thermocouple module is not in operation as per requirement and corrective action to be taken.
Module not working
ON
OFF
ON
OFF
YES
NO
ON Replace Module
OFF
Replace Module
CJC sensor short or open. All enabled channel LEDs will start flashing
Replace Module
Messung Systems
ON
OFF
ON
OFF
Fix module properly. Check expansion cable if it i9s in expansion rack. Check configuration of PLC. Take proper action.
ON Replace Module
OFF
NO
Diagnosis Over
Flashing
ON
OFF Check module input image bits Ix.1 to Ix.4 Check application program. Enable channel.
Invalid configuration or parameter Mismatch. Take proper action. Temperature reading beyond Maximum - minimum set points. Take proper action. Temperature reading out of range of input type configured. Take proper action. Thermocouple element connections open circuit. Take proper action.
Ix.1 is set
OFF
ON
Ix.2 is set
Replace Module
Ix.3 is set
Ix.4 is set C
Messung Systems
NO
YES
Remove thermocouple element and short the terminals. Now module should show ambient temperature.
Diagnosis Over
YES
Monitor binary data value for channel with PC based Programming Software YES
be replaced by same
Note For healthy operation of module always ensure specified range i.e. 18 VDC to 30 VDC YES ripple. Always ensure that thermocouple elements are of isolated Diagnosis Over
tip type.
Messung Systems
6. Appendix 1
This section shows the reference tables for each thermocouple type. Each table gives mV signal from thermocouple and equivalent temperature. Reference Table - J Type Thermocouple (Iron vs. Copper-Nickel)
C -210 -200 -190 -180 -170 -160 -150 -140 -130 -120 -110 -100 -90 -80 -70 -60 -50 mV -8.096 -7.890 -7.659 -7.403 -7.123 -6.821 -6.500 -6.159 -5.801 -5.426 -5.037 -4.633 -4.215 -3.786 -3.344 -2.893 -2.431 C -40 -30 -20 -10 0 10 20 30 40 50 60 70 80 90 100 110 120 mV -1.961 -1.482 -0.995 -0.501 0.000 0.507 1.019 1.537 2.059 2.585 3.116 3.650 4.187 4.726 5.269 5.814 6.360 C 130 140 150 160 170 180 190 200 210 220 230 240 250 260 270 280 290 mV 6.909 7.459 8.010 8.562 9.115 9.669 10.224 10.779 11.334 11.889 12.445 13.000 13.555 14.110 14.665 15.219 15.773 C 300 310 320 330 340 350 360 370 380 390 400 410 420 430 440 450 460 mV 16.327 16.881 17.434 17.986 18.538 19.090 19.642 20.194 20.745 21.297 21.848 22.400 22.952 23.504 24.057 24.610 25.164 C 470 480 490 500 510 520 530 540 550 560 570 580 590 600 610 620 630 mV 25.720 26.276 26.834 27.393 27.953 28.516 29.080 29.647 30.216 30.788 31.362 31.939 32.519 33.102 33.689 34.279 34.873 C 640 650 660 670 680 690 700 710 720 730 740 750 760 770 mV 35.470 36.071 36.675 37.284 37.896 38.512 39.132 39.755 40.382 41.012 41.645 42.281 42.919 43.559
Messung Systems
Reference Table - K Type Thermocouple (Nickel-Chromium vs. Nickel-Aluminum) C -270 -260 -250 -240 -230 -220 -210 -200 -190 -180 -170 -160 -150 -140 -130 -120 -110 -100 -90 -80 -70 -60 -50 -40 -30 -20 -10 0 mV -6.458 -6.441 -6.404 -6.344 -6.262 -6.158 -6.035 -5.891 -5.730 -5.550 -5.354 -5.141 -4.913 -4.669 -4.411 -4.138 -3.852 -3.554 -3.243 -2.920 -2.587 -2.243 -1.889 -1.527 -1.156 -0.778 -0.398 0.000 C 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 260 270 280 mV 0.397 0.798 1.203 1.612 2.023 2.436 2.851 3.267 3.682 4.096 4.509 4.920 5.328 5.735 6.138 6.540 6.941 7.340 7.739 8.138 8.539 8.940 9.343 9.747 10.153 10.561 10.971 11.382 C 290 300 310 320 330 340 350 360 370 380 390 400 410 420 430 440 450 460 470 480 490 500 510 520 530 540 550 560 mV 11.795 12.209 12.624 13.040 13.457 13.874 14.293 14.713 15.133 15.554 15.975 16.397 16.820 17.243 17.667 18.091 18.516 18.941 19.366 19.792 20.218 20.644 21.071 21.497 21.924 22.350 22.776 23.203 C 570 580 590 600 610 620 630 640 650 660 670 680 690 700 710 720 730 740 750 760 770 780 790 800 810 820 830 840 mV 23.629 24.055 24.480 24.905 25.330 25.755 26.179 26.602 27.025 27.447 27.869 28.289 28.710 29.129 29.548 29.965 30.382 30.798 31.213 31.628 32.041 32.453 32.865 33.275 33.685 34.093 34.501 34.908 C 850 860 870 880 890 900 910 920 930 940 950 960 970 980 990 1000 1010 1020 1030 1040 1050 1060 1070 1080 1090 1100 1110 1120 mV 35.313 35.718 36.121 36.524 36.925 37.326 37.725 38.124 38.522 38.918 39.314 39.708 40.101 40.494 40.885 41.276 41.665 42.053 42.440 42.826 43.211 43.595 43.978 44.359 44.740 45.119 45.497 45.873 C 1130 1140 1150 1160 1170 1180 1190 1200 1210 1220 1230 1240 1250 1260 1270 1280 1290 1300 1310 1320 1330 1340 1350 1360 1370 mV 46.249 46.623 46.995 47.367 47.737 48.105 48.473 48.838 49.202 49.565 49.926 50.286 50.644 51.000 51.355 51.708 52.060 52.410 52.759 53.106 53.451 53.795 54.138 54.479 54.819
Messung Systems
Messung Systems
Messung Systems
Messung Systems
Messung Systems
Messung Systems
MESSUNG SYSTEMS
EL 2, J - Block, MIDC, Bhosari, PUNE 411 026. INDIA Tel. (+91) 020 712 0807, 712 2807 Fax. (+91) 020 712 0391
NEXGEN PLC I/O Modules 8 Channels, Thermocouple Input Module (Ordering Code 4310) Document1 Document No.: ED-2002-016