The text of a manual · part 5 of 9
Analog Input Module (Cat. No. 1771-IFE Series C) User Manual, pages 41 to 50
Pages 41 to 50 of 82
The original document is the PDF (727 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-IFE
Page 41
Configuring Your Module
4–9
Bit/Word Descriptions for the Analog Input Module Block Transfer Write Configuration Block Note that decimal bits are shown, with octal bits in parentheses. Word
Decimal Bit (Octal Bit)
Description
"03&4 #/&
; ;
Input range selections #--08 5*' 64'3 50 %0/(+)63' 5*' +/1654 (03 #/: 0( +/165 70-5#)' 03 %633'/5 3#/)'4 80 $+54 #3' 3'26+3'& (03 '#%* %*#//'- #/& (03 %*#//'- $+54 #/& (03 %*#//'- '5% Bit 01
Bit 00
Voltage or Current Input 50 50
.- &'(#6-5
50 50
.-
50 ;
50 - .-
; "03&
; ;
;
50 - ! 50
! &%
Digital filter 3'&6%'4 '(('%5 0( /0+4' 0/ +/165 0/ 1#)' +4 /0 (+-5'3 Input 4'5 $+5 (03 &+(('3'/5+#- .0&' 0/ #-- %*#//'-4 4+/)-';'/&'& +/1654 &'(#6-5 &+(('3'/5+#- +/1654 Data format 4'5 50 .#5%* :063 130%'4403 Bit 10 (12)
Bit 09 (11)
Data Format &'(#6-5
%0.1-'.'/5 $+/#3: .#)/+56&' $+/#3:
; ;
Real time sampling +4 /0 #11'/&+9 - (03 5+.+/) &'5#+-4 #$-' (03 3'#- 5+.' +/5'37#-4
"03&
; ;
Minimum sign 8*'/ &'4+)/#5' /')#5+7' .+/+.6. 4%#-+/) 7#-6'4 (03 5*' %033'410/&+/) +/165 %*#//'-4 %033'410/&4 50 %*#//'- $+5 %033'410/&4 50 %*#//'- '5%
"03&
; ;
Maximum sign bits, 8*'/ &'4+)/#5' .#9+.6. 4%#-+/) 7#-6'4 5*#5 #3' /')#5+7' 4%#-+/) 7#-6' .645 $' )3'#5'3 5*#/ .+/+.6. 0/ #/: 1#35+%6-#3 %*#//'- %033'410/&4 50 %*#//'- $+5 %033'410/&4 50 %*#//'- '5%
"03&4 5*36
; ;
Minimum and maximum scaling 7#-6'4 (03 '#%* %*#//'- +/ (03.#5
"03&
; ;
Offset calibration $+5 3'13'4'/54 # %*#//'- $+5 50 %*#//'- $+5 50 %*#//'- '5% "*'/ 5*' $+5 +4 #/& # " *#4 $''/ 5*' .0&6-' 8+-- 3'#& 5*' %*#//'-4 #/& #&,645 5*' 0((4'5 50 #/#-0) )306/& 105'/5+#- &+(('3'/5+#- $+54 5*36 5*36 +/ 0%5#- #3' +)/03'& %633'/5 #11-: .-
"03&
; ;
Gain calibration $+5 3'13'4'/54 # %*#//'- $+5 50 %*#//'- $+5 50 %*#//'- '5% "*'/ 5*' $+5 +4 #/& # " *#4 $''/ 5*' .0&6-' 8+-- 3'#& 5*' %*#//'-4 #/& #&,645 5*' )#+/ %033'%5+0/ 7#-6'4 64'& 0/ 50 03 50 # 7#-6' 0( +4 '91'%5'& 64'& 0/ - ! ! +4 '91'%5'& $+54 5*36 5*36 +/ 0%5#- #3' +)/03'& %633'/5 #11-: .-
Page 42
4–10
Configuring Your Module
-
In this chapter you learned how to configure your module’s features, condition your inputs and enter your data.
Page 43
Chapter
- Chapter Objectives
5
In this chapter, we describe:
• reading data from your module • block transfer read block format
Reading Data From Your Module
Block transfer read programming moves status and data from the input module to the processor’s data table in one I/O scan (Figure 5.1). The processor’s user program initiates the request to transfer data from the input module to the processor. Figure 5.1 Word Assignments for Analog Input Module (1771-IFE/C) Block Transfer Read
Dec. Bits
15
14
13
12
11
10
09
08
07
06
05
04
03
02
01
00
Octal Bits
17
16
15
14
13
12
11
10
07
06
05
04
03
02
01
00
--
*"(-.12*$1
!.0%
Description
"2" 3-%&00"-(& '.0 $)"--&+1
"2" .4&00"-(& '.0 $)"--&+1
"2" /.+"0*27 '.0 $)"--&+1
⇓
⇓
⇓
⇓
3/ #*2 .' 0"-(& #*2 1$"+*-( #*2 2*,& 1",/+*-( #*2
-- 12"231 #*21 12"231 #*21 #*21 "0& 1&2 "2 "//0.6*,"2&+7 2)& *-/32 0"-(& +*,*21 1&+&$2&%
During normal operation, the processor transfers up to 20 words (22 during calibration) to the module when you program a BTR instruction to the module’s address. When a BTR length of 0 is programmed, the 1771-IFE/C will respond with the series A module default length of 20.
Page 44
5–2
Module Status and Input Data
Block Transfer Read Format
The bit/word description for the block transfer read of the Analog Input Module is described below. Table 5.A BTR Word Format for the Analog Input Module Word #14'
#14'
#14'
#14'
Decimal Bit (Octal Bit)
Description
,6
Power up bit (PU) - !5(' %; 6+( /1'7.( 61 6(.. 6+( 241&(5514 6+$6 ,6 ,5 $.,8( %76 016 ;(6 ,5 $ -(; (.(/(06 ,0 6+( $22.,&$6,10
,6
Out of range bit (OR) - +,5 %,6 ,5 5(06 61 6(.. 6+( 241&(5514 6+$6 10( 14 /14( &+$00(.5 $4( (,6+(4 18(4 14 70'(4
,6
Invalid scaling bit (IS) - +,5 %,6 4(21465 6+$6 6+( 5&$.,0* ,5 51/(+19 !57$..;- %16+ 8$.7(5 $4( (37$. 14 /,0,/7/ ,5 *4($6(4 6+$0 /$:,/7/ 9+(0 6+,5 %,6 &1/(5 -$0 $.51 %( $0 invalid filter
,6
Real time sample fault bit (RTS) - +,5 %,6 ,5 5(6 ,) 6+( /1'7.( ,5 &10),*74(' )14 $0' $ %.1&- 64$05)(4 4($' +$5 016 1&&744(' 9,6+,0 6+(
,6
Calibration status bit (CS) - #+(0 &$.,%4$6,0* 6+( /1'7.(- 6+,5 %,6 9,.. %( &.($4(' ,) 6+( &$.,%4$6,10 9$5 6+( %,6 ,5 5(6- $0 ,0&144(&6 81.6$*( &744(06 9$5 $22.,('- 14 1))5(6 $0' *$,0 &$.,%4$6,105 9(4( $66(/26('
,6
EEPROM status bit (EE) - +,5 %,6 ,5 5(6 ,) $0 (4414 1&&745 5$8,0* &$.,%4$6,10 '$6$ 61 01081.$6,.( 6+,5 %,6 ,5 5(6 $6 219(472- 6+( '$6$ )41/ 6+( ',' 016 2$55 6+( &+(&-57/ $0' 01 &$.,%4$6,10 8$.7(5 $4(
,6
Hardware fault (HF) - #+(0 6+,5 %,6 ,5 5(6- 6+( '& '& &108(46(4 )75( +$5 .1*,& 9,.. &106,07( 61
,65
,65
Underrange bits )14 ($&+ ,6 )14 &+$00(. - %,6 )14 &+$00(. - +(5( %,65 $4( 5(6 $6 $2241:,/$6(.; 6+( ,0276 4$0*( .,/,65 5(.(&6(' )41/ $%.(
,65
Overrange bits )14 ($&+ ,6 )14 &+$00(. - %,6 )14 &+$00(. - +(5( %,65 $4( 5(6 $6 $2241:,/$6(.; 6+( ,0276 4$0*( .,/,65 5(.(&6(' )41/ $%.(
,65
Polarity bits - 9+(0 ,0276 ,5 .(55 6+$0 ,6 %,6 )14 &+$00(. -
#14' 6+47
)14 &+$00(. -
Input values - #14' )14 &+$00(. - 914' )14 &+$00(. -
#14'
,65
Offset calibration results bits - %,6 4(24(5(065 $ $ &$.,%4$6,10 # +$5 %((0 5(06- 6+( /1'7.( &10),4/5 &$.,%4$6,10 %; (&+1,0* %$&- 6+( &+$00(.5 6+$6 9(4( &$.,%4$6(' '74,0* 6+( 1))5(6 &$.,%4$6,10 ',))(4(06,$. /1'(- &+$00(.5 6+47 $4(
#14'
,65
Gain calibration results bits - %,6 4(24(5(065 $ $ &$.,%4$6,10 # +$5 %((0 5(06- 6+( /1'7.( &10),4/5 &$.,%4$6,10 %; (&+1,0* %$&- 6+( &+$00(.5 6+$6 9(4( &$.,%4$6(' '74,0* 6+( *$,0 &$.,%4$6,10 ',))(4(06,$. /1'(- &+$00(.5 6+47 $4(
Attention: $0 ,0276 81.6$*( (:&(('5 $5 4()(4(0&(' 61 /1'7.( &1//10- &+$00(.=61=&+$00(. &41556$.- &$0 &$75( ,08$.,' ,0276 4($',0*5 $0' ,08$.,' 70'(44$0*( 18(44$0*(
Page 45
Module Status and Input Data
5–3
Table 5.B Input Range Selection Voltage input
Current input-
- -
-
-
-
- - - - "
Chapter Summary
In this chapter you learned the meaning of the status information that the input module sends to the processor.
- -$ -- -
Page 46
Chapter
6
Calibrating Your Module Chapter Objective
In this chapter, we describe:
• checking your calibration • calibrating your module.
When and How to Calibrate Your Analog Input Module
Your module is shipped to you already calibrated. If you are checking calibration, or if it becomes necessary to recalibrate the module, you must do so with the module in an I/O chassis. The module must communicate with the processor and industrial terminal. Before calibrating the module, you must enter ladder logic into the processor memory, so that you can initiate BTWs to the module, and the processor can read inputs from the module. Periodically (frequency based on your application), check your module calibration. Calibration may be required to remove module error due to aging of components in your system. Calibration can be accomplished using either of two methods:
• manual calibration, as described below. • 6200 I/O CONFIGURATION software – refer to your 6200 software publications for procedures for calibrating. When calibrating your module, you must perform:
• offset calibration first • gain calibration second
Tools and Equipment Tool or Equipment
In order to calibrate your input module you will need the following tools and equipment: Description
Model/Type
Available from:
+ ,(%.-$('
(+ '-
-'-
- !(+ ,,(+,
- (+ -
0
- -1 --
Page 47
6–2
Calibrating Your Module
Checking Module Calibration
If a calibration check of your module becomes necessary: 1. Verify that the module is in voltage mode. In single-ended mode, apply voltages to channels 1 through 16. 2. Send a configuration block transfer write to the module that replicates the specific application. (This forces the module to do an internal calibration.) 3. Apply –10V, –5V, –2.5V 0V, 1V, 2.5V, 5V, and 10V to the module. In differential, apply voltages to channels 1 through 8 Verify that the values returned are within 0.1% of bipolar full scale. . Range
Scaling
-
---
---
---
-
Range
Error (counts) (no scaling)
-
-
Accuracy (V/mA)
4. If values are within tolerance, no calibration is necessary. If not, perform calibration below.
Page 48
Calibrating Your Module
Calibrating your Input Module
6–3
The analog input module is shipped already calibrated. Calibration of the module consists of applying a voltage or current across each input channel for offset and gain calibration. Offset and gain values are shown in the following table. Table 6.A Offset and Gain Values for Calibrating the 1771-IFE series C Analog Input Module SingleĆended Range
Differential
Offset Value
Gain Value
Offset Value
Gain Value
-
Offset Calibration Normally all inputs are calibrated together. To calibrate the offset of an input, proceed as follows: 1. Apply power to the module. 2. Apply the offset voltage of 0V or current of 0.000mA (Table 6.A) as required to all 16 channels. 3. After the connections stabilize, set all bits in write word 38 to 1 and all bits in word 39 to 0. Send a 39 word block transfer write (BTW) to the module to calibrate the offset. Refer to chapter 4. (In Differential mode, the upper byte of word 38 is not set (bits 8–15 decimal or 10–17 octal are 0).) When the BTW is sent, all channels are calibrated to 0.000V. Write Block Transfer Word 38 for Offset Calibration Decimal Bits
15
14
13
12
11
10
09
08
07
06
05
04
03
02
01
00
Octal Bits
17
16
15
14
13
12
11
10
07
06
05
04
03
02
01
00
-
-
-
--
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -$ -- "- #
Page 49
6–4
Calibrating Your Module
The BTR echoes back the status of each of the channels to verify calibration. If selected channels were calibrated satisfactorily, the BTR will reflect this by having their bits set to 1. (In Differential mode, the upper byte of word 21 in the BTR is not set (bits 8–15 decimal or 10–17 octal are 0).) Read Block Transfer Word 21 Decimal Bits
15
14
13
12
11
10
09
08
07
06
05
04
03
02
01
00
Octal Bits
17
16
15
14
13
12
11
10
07
06
05
04
03
02
01
00
-
-
-
4. Proceed to Gain Calibration below.
Gain Calibration Calibrating gain requires that you apply 5.000V, 10.000V or 20mA (as determined by your range and mode) (Table 6.A) across each input channel. 1. Apply power to the module. 2. Apply the gain voltage as shown in Table 6.A to all 16 channels (single-ended) or 8 channels (differential). 3. After the connections stabilize, request the gain calibration by sending a 39 word block transfer write (BTW) to the module. Refer to chapter 4.
When the BTW is sent, all selected channels are calibrated (set to 1) shown in Table 6.A. If a channel is not selected for calibration, its bit is 0. (In Differential mode, the upper byte of word 39 is not set (bits 8–15 decimal or 10–17 octal are 0).) All bits in word 38 will be set to 0. Write Block Transfer Word 39 for Gain Calibration Decimal Bits
15
14
13
12
11
10
09
08
07
06
05
04
03
02
01
00
Octal Bits
17
16
15
14
13
12
11
10
07
06
05
04
03
02
01
00
-
-
!
Page 50
Calibrating Your Module
6–5
The BTR echoes back the status of each of the channels to verify the calibration. If all channels were calibrated satisfactorily, the BTW will reflect this by having all bits set to 1. Read Block Transfer Word 22 Decimal Bits
15
14
13
12
11
10
09
08
07
06
05
04
03
02
01
00
Octal Bits
17
16
15
14
13
12
11
10
07
06
05
04
03
02
01
00
-
-
--
Chapter Summary
In this chapter, you learned how to calibrate your input module.