The text of a manual · part 4 of 9
Thermocouple/Millivolt Input Module (Cat. No. 1771-IXE Series D) User Manual, pages 31 to 40
Pages 31 to 40 of 85
The original document is the PDF (708 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Allen-Bradley 1771-IXE
Page 31
Module Configuration
Data Format
4–3
You must indicate what format will be used to read data from your module. Typically, BCD is selected with PLC–2 processors, and binary (also referred to as integer or decimal) is selected with PLC–3 and PLC–5 processors. See Table 4.B and Appendix C for details on Data Format. Table 4.B Selecting Format for Reading Data
Real Time Sampling
Decimal Bit 10 Octal Bit 12
Decimal Bit 9 Octal Bit 11
-
-
-
-
Data Format
The real time sampling (RTS) mode of operation provides data from a fixed time period for use by the processor. RTS is invaluable for time based functions (such as PID and totalization) in the PLC. It allows accurate time based calculations in local or remote I/O racks. In the RTS mode the module scans and updates its inputs at a user defined time interval ( ∆T) instead of the default interval. The module ignores block transfer read (BTR) requests for data until the sample time period elapses. The BTR of a particular data set occurs only once at the end of the sample period and subsequent requests for transferred data are ignored by the module until a new data set is available. If a BTR does not occur before the end of the next RTS period, a time–out bit is set in the BTR status area. When set, this bit indicates that at least one data set was not transferred to the processor. (The actual number of data sets missed is unknown.) The time–out bit is reset at the completion of the BTR. Set appropriate bits in the BTW data file to enable the RTS mode. You can select RTS periods ranging from 100 milliseconds (msec) to 3.1 seconds in increments of 100msec. Refer to Table 4.C below for actual bit settings. Note that the default mode of operation is implemented by placing all zeroes in bits 13 through 17. Note that binary representation of the RTS bit string is the RTS period X 100msec. For example, 900msec = 01001 = (9 X 100msec).
" - -$ $ -
Page 32
4–4
Module Configuration
Table 4.C Bit Settings for the Real Time Sample Mode
Decimal Bits Octal Bits
15 17
14 16
13 15
12 14
11 13
Sample Time Period
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Important: Use decimally addressed bit locations for PLC–5 processors.
Channel Alarms
Calibration
- -# # "
Each channel has an alarm enable bit, an alarm polarity bit, and high and low alarm values associated with it. These bits and words are explained in the bit/word definitions in Table 4.E.
You have the ability to calibrate this module using auto–calibration or by manually setting the individual channel words. Words 20 through 27 in the configuration word (Table 4.E) are the calibration words for channels 1 through 8 respectively. Calibration is explained in chapter 6.
Page 33
Module Configuration
Configuration Block for a Block Transfer Write
4–5
The complete configuration block for the block transfer write to the module is defined in Table 4.D below. Table 4.D Configuration Block for Thermocouple/Millivolt Input Module Block Transfer Write
Word
17
16
15
14
13
12
11
10
07
-
'%& '0 ,#. '*,10
06
05
04
03
02
-+2 '0 ,#. '*,10
'%& -+2 '%& -+2
'%&
-+2
'%&
-+2
'%&
-+2
'%&
-+2
'%&
-+2
'%&
$+.
$+.
$+.
$+.
$+.
$+.
$+.
$+.
(# '0 ,#. '*,10
-+2
01
E = enable bit for input types (refer to bit/word description) T = temperature scale bit (refer to bit/word description)
- 4
00
Page 34
4-6 Module Configuration
Bit/Word Descriptions Bit/word descriptions of BTW file words 1 thru 3 (configuration), 4 thru 19 (channel alarm values), and 20 thru 27 (calibration values) are presented in Table 4.E. Enter data into the BTW instruction after entering the instruction into your ladder diagram program.
Table 4.E Bit/Word Definitions for Thermocouple/Millivolt Input Module Word Bits Description Word 1 bits 00-02 Input type codes for inputs 1 thru 8 (or 1 thru 4 if bit 06 is set to 1). Tells the module what type of input device you connected to the module. Type 02 01 00 Millivolt input 0 0 0 ”E” thermocouple 0 0 1 *J’ thermocouple 0 1 0 ”K” thermocouple 0 1 1 ”T” thermocouple 1 0 0 ”R” thermocouple 1 0 1 ”S” thermocouple 1 1 0 1 1 1 bits 03-05 Input type codes for inputs 5 thru 8 (bit 06 must be set to 1). Tells the module what type of input device you connected to inputs 5 thru 8. Type 05 | 04 | 03 Millivolt input 0 0 0 ”E” thermocouple 0 0 1 *J’ thermocouple 0 1 0 ”K” thermocouple 0 1 1 ”T” thermocouple 1 0 0 ”R” thermocouple 1 0 1 ”S” thermocouple 1 1 0 1 1 1 bit 06 When set to 0 bits 00-02 define input type for all channels. When set to 1 bits 00-02 defines input type for channels 1-4, and bit 03-05 defines input type for channels 5-8. bit 07 Not used (set to 0) bit 10 Temperature scale bit, when set, reports temperature in °F; when reset, in °C. The module ignores this bit for millivolt inputs.
Publication 1771-6.5.130 - May 1999
Page 35
Module Configuration
Word
Bits
Word 1 (cont.)
bits 11-12
4–7
Description Format bits tell the module which format to use for reporting input values to the processor. Format
12
11
4-digit BCD
0
0
2's complement binary
0
1
Signed magnitude binary
1
0
1
1
Select the format used by your processor. bits 13-17
Word 2
Word 3
Words 4 thru 19
Real time sample interval bits determine the sample time for updating module inputs. You select sample time in 0.1 second intervals using binary code. (All values between 0.1 and 3.1 seconds in 0.1 second intervals are available.) We tabulated some values for you. Sample Time
17
16
15
14
13
0.1
0
0
0
0
1
0.5
0
0
1
0
1
0.6
0
0
1
1
0
0.7
0
0
1
1
1
0.8
0
1
0
0
0
0.9
0
1
0
0
1
1.0
0
1
0
1
0
1.5
0
1
1
1
1
2.0
1
0
1
0
0
2.5
1
1
0
0
1
3.0
1
1
1
1
0 bits 00-07
Channel alarm enable bits tell the module which channel alarm values are activated. Set bit 00 for alarm(s) in channel 1, and set alarm(s) in words 4 (low alarm) and 5 (high alarm). Repeat the procedure for setting alarms in channels 2 thru 8 (bits 01-07 and words 6-19 respectively).
bits 10-17
Not used (set to 0)
bits 00-07
Low alarm polarity bits tell the module the sign of the values that you enter in low alarm words: set for negative, reset for positive. Bits 00-07 represent words 4, 6, 8, 10, 12, 14, 16, and 18 for channels 1 thru 8, respectively.
bits 10-17
High alarm polarity bits tell the module the sign of the values that you enter in high alarm words: set for negative, reset for positive. Bits 10-17 represent words 5, 7, 9, 11, 13, 15, 17 and 19 for channels 1 thru 8, respectively. Low and High channel alarm values that you enter via the terminal in BCD are converted automatically by the module to its own format. Store low and high channel alarms in pairs, low alarm values in even-numbered words, high alarm values in odd-numbered words. For example, store channel 1 low and high alarm values in words 4 and 5, respectively.
Publication 1771-6.5.130 Ć May 1999
Page 36
4–8
Module Configuration
Word
Chapter Summary
- 1
Bits
Description
,"*-
' ,/' '* #& '&$0- %'+, +#!&# #& #+ +#!& '* '* "#!" '* ' $'/ '* '* '* ,"*- '* ,' '*
,' #& - ,'
In this chapter you learned how to configure your module’s hardware, condition your inputs and enter your data.
Page 37
Chapter
5
Module Status and Input Data Chapter Objectives
In this chapter you will read about:
• reading data from your module • input module read block format
Reading Data from the Module
Block transfer read programming moves status and data from the input module to the processor’s data table in one I/O scan (Table 5.A). The processor user program initiates the request to transfer data from the input module to the processor. During normal operation the module transfers up to 12 words to the processor’s data table file. The words contain module status and input data from each channel. When a block transfer length of zero (0) is programmed, the 1771–IXE/D will respond with the Series A default value of 12. Table 5.A BTR Word Assignments for Thermocouple/Millivolt Input Module (1771-IXE/D) Decimal Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
-*2
-
-
-
-
-
--
#*21
.4&0
3-%&0
)*()
+.5
*-/32 *-/32 *-/32 :
:
*-/32
*-
32.$"+*#0"2*.-
.0%
.-& #*2 /&0 *-/32 $)"--&+
NOTE: *-/32 "-% $"+*#0"2*.- 5.0%1 "0& &6/0&11&% "1 .0 !!!!
,*++*4.+2 !!!! .0 #*-"07
!!!! .0 #*-"07
- 8
Page 38
5–2
Module Status and Input Data
Bit/Word Descriptions
The complete bit/word description for the block transfer read from the module is defined in Table 5.B. Table 5.B Bit/Word Description for Thermocouple/Millivolt Input Module (1771-IXE/D) Bit
Word Word 1
Word 2
Word 3
Publication 1771-6.5.130 Ć May 1999
Definition
Bit 00
Power-up bit is set to indicate that the module is waiting for its first write block transfer
Bit 01
Out of range bit is set if one or more channel inputs are above or below the range for which you configured the module
Bit 02
Real time sample time-out bit is set when the module updates an input buffer with new data before the processor has read the previous data. Monitor this bit only if you select real time sampling.
Bit 03
Not used
Bit 04
Low cold junction temperature bit is set when the cold junction temperature is less than 0oC.
Bit 05
High cold junction temperature bit is set when the cold junction temperature exceeds 60oC.
Bit 06
Not used
Bit 07
EEPROM calibration values could not be read.
Bits 10-17
Polarity bit for each channel is set to indicate negative polarity: bit 10 for channel 1 thru bit 17 for channel 8. These bits are used in BCD and signed magnitude data formats.
Bits 00-07
Underrange bit for each channel is set to indicate an input is out of range: bit 00 for channel 1 thru bit 07 for channel 8.
Bits 10-17
Overrange bit for each channel is set to indicate an input is out of range: bit 10 for channel 1 thru bit 17 for channel 8. Also set for open channel detection.
Bits 00-07
Low alarm bit for each channel is set to indicate the input is less than the low limit value you entered in the corresponding low alarm word (word 4, 6, 8, 10, 12, 14, 16, or 18): bit 00 for channel 1 thru bit 07 for channel 8.
Bits 10-17
High alarm bit for each channel is set to indicate the input has exceeded the high limit value you entered in the corresponding high alarm word (word 5, 7, 9, 11, 13, 15, 17, or 19): bit 10 for channel 1 thru bit 17 for channel 8.
Words 4-11
Input for channel 1 through 8 respectively.
Word 12
Cold junction temperature in oC.
Word 13
Auto-calibration word. Bit 00
Offset calibration complete bit
Bit 01
Gain calibration complete bit
Page 39
Module Status and Input Data
Word
Chapter Summary
Bit
5–3
Definition
&
&# &
&% - -
#&
&
#" &
&%
&%
In this chapter you learned the meaning of the status information that the input module sends to the processor.
#" - *
Page 40
5-4 Module Status and Input Data
Publication 1771-6.5.130 - May 1999