The text of a manual · part 5 of 13
DeviceNet Adapter Module User Manual (Cat. No. 1794-ADN Series B): 2 - How Communication Takes Place and I/O Image Table Mapping, pages 28 to 37
Pages 28 to 37 of 96, from DeviceNet Adapter Module User Manual (Cat. No. 1794-ADN Series B)
The original document is the PDF (1.5 MB). 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 1794-ADN
Page 28
How Communication Takes Place and I/O Image Table Mapping
2–11
8 Input Analog Module (Cat. No. 1794-IE8) Image Table Mapping Module Image Input Data Channel 0 Input Data Channel 1
I/O Image
Input Data Channel 2
Input Size
Input Data Channel 3 Input Data Channel 4
1 to 9 Words
Input Data Channel 5 Input Data Channel 6 Input Data Channel 7 Underrange
PU Configure select Not used
Output Size
Not used
0 or 1 Word
Not used Not used Not used
Memory Map of Analog Input Module Image Table – 1794-IE8 Dec. Bit
15
14
13
12
11
10
09
08
07
06
05
04
03
02
01
00
Oct. Bit
17
16
15
14
13
12
11
10
07
06
05
04
03
02
01
00
S
Analog Value Channel 0
Read Word 1
S
Analog Value Channel 1
Read Word 2
S
Analog Value Channel 2
Read Word 3
S
Analog Value Channel 3
Read Word 4
S
Analog Value Channel 4
Read Word 5
S
Analog Value Channel 5
Read Word 6
S
Analog Value Channel 6
Read Word 7
S
Analog Value Channel 7
Read Word 8
PU C7
Not used - set to zero C6
C5
C4
C3
C2
C1
C0
U7
U6
U5
U4
U3
U2
U1
U0
Read Word 9
F7
F6
F5
F4
F3
F2
F1
F0
Write Word 1
Not used - set to 0 Where:
Size
Write Word 2 thru 6
PU = Power up bit - included in series B modules only. U = Underrange bits for 4-20mA inputs C = Configure select bit F = Full range bit S = sign bit (in 2's complement)
Publication 1794-6.5.5 - October 1996
Page 29
2–12
How Communication Takes Place and I/O Image Table Mapping
Range Selection Bits for the 1794-IE8 Analog Input Module Channel No.
Channel 0
Channel 1
Channel 2
Channel 3
Channel 4
Channel 5
Channel 6
Channel 7
F0
C0
F1
C1
F2
C2
F3
C3
F4
C4
F5
C5
F6
C6
F7
C7
Decimal Bit
00
08
01
09
02
10
03
11
04
12
05
13
06
14
07
15
0-10V dc/0-20mA
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
4-20mA
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
-10 to +10V dc
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
Off1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
C = Configure select bit F = Full range bit 1 When configured to off, individual channels will return 0000H.
Word/Bit Descriptions for the 1794-IE8 Analog Input Module Write Word Read Word 1
Read Word 2
Read Word 3
Read Word 4
Read Word 5
Read Word 6
Read Word 7
Read Word 8
Publication 1794-6.5.5 - October 1996
Decimal Bit
Definition
Bits 00-14
Channel 0 analog data - 12-bit left justified two's complement number; unused lower bits are zero; 4-20mA uses all 16 bits.
Bits 15
Channel 0 analog data sign bit.
Bits 00-14
Channel 1 analog data - 12-bit left justified two's complement number; unused lower bits are zero; 4-20mA uses all 16 bits.
Bits 15
Channel 1 analog data sign bit.
Bits 00-14
Channel 2 analog data - 12-bit left justified two's complement number; unused lower bits are zero; 4-20mA uses all 16 bits.
Bits 15
Channel 2 analog data sign bit.
Bits 00-14
Channel 3 analog data - 12-bit left justified two's complement number; unused lower bits are zero; 4-20mA uses all 16 bits.
Bits 15
Channel 3 analog data sign bit.
Bits 00-14
Channel 4 analog data - 12-bit left justified two's complement number; unused lower bits are zero; 4-20mA uses all 16 bits.
Bits 15
Channel 4 analog data sign bit.
Bits 00-14
Channel 5 analog data - 12-bit left justified two's complement number; unused lower bits are zero; 4-20mA uses all 16 bits.
Bits 15
Channel 5 analog data sign bit.
Bits 00-14
Channel 6 analog data - 12-bit left justified two's complement number; unused lower bits are zero; 4-20mA uses all 16 bits.
Bits 15
Channel 6 analog data sign bit.
Bits 00-14
Channel 7 analog data - 12-bit left justified two's complement number; unused lower bits are zero; 4-20mA uses all 16 bits.
Bits 15
Channel 7 analog data sign bit.
Page 30
How Communication Takes Place and I/O Image Table Mapping
Word
Read Word 9
2–13
Decimal Bit
Definition
Bits 00-07
Underrange bits (U) for individual channels (4-20mA current input only)- Bit 00 corresponds to input channel 0, bit 01 corresponds to input channel 1, and so on. When set (1), indicates either a broken or open input wire, or input current below 4-20mA.
Bits 08-14
Not used - set to 0.
Bit 15
Power Up bit - included in series B modules only. This bit is 0 in series A modules. This bit is set to 1 when all bits in the configuration register are 0 (unconfigured state). The configuration register can be cleared by either of the reset inputs, or by the user writing all zeroes to it.
Bits 00-07
Full range bits (F) for individual channels - Bit 00 corresponds to input channel 0, bit 01 corresponds to input channel 1, and so on. Refer to range selection above.
Bits 08-15
Configure select bits (C) for individual channels - Bit 08 corresponds to input channel 0, bit 09 corresponds to input channel 1, and so on. Refer to range selection above.
Write Word 2
Bits 00-15
Not used - set to 0.
Write Word 3
Bits 00-15
Not used - set to 0.
Write Word 4
Bits 00-15
Not used - set to 0.
Write Word 5
Bits 00-15
Not used - set to 0.
Write Word 6
Bits 00-15
Not used - set to 0.
Write Word 1
4 Output Analog Module (1794-OE4) Image Table Mapping I/O Image Input Size Read
0 or 1 Word
Module Image PU
Not used
Diagnostics
Analog Data Channel 0 Analog Data Channel 1 Analog Data Channel 2 Analog Data Channel 3 Not used Output Size Write
1 or 6 Words
Not used
Config. Select Not used Not used
OE Full Range
Not used Not used Not used Not used Not used Not used Not used
Publication 1794-6.5.5 - October 1996
Page 31
2–14
How Communication Takes Place and I/O Image Table Mapping
Memory Map of Analog Output Module Image Table – 1794-OE4 Dec. Bit
15
14
13
12
11
10
09
08
07
06
05
04
03
02
01
00
Oct. Bit
17
16
15
14
13
12
11
10
07
06
05
04
03
02
01
00
W3
W2
W1
W0
PU
Not used - set to 0
Size Read Word 1
S
Analog Data - Channel 0
Write Word 1
S
Analog Data - Channel 1
Write Word 2
S
Analog Data - Channel 2
Write Word 3
S
Analog Data - Channel 3
Write Word 4
Not used - set to 0 Not used - set to 0
C3
C2
C1
C0
Not used - set to 0
OE3
OE2
OE1
OE0
Write Word 5
F3
F2
F1
F0
Write Word 6 Write Words 7 thru 14
Not used - set to 0
Where: PU = Power up bit - included in series B modules only. W = Diagnostic bits for current output wire broken or load resistance high. (Not used on voltage outputs.) S = Sign bit (in 2's complement) OE = Output enable bits (bit 00 corresponds to output 0, bit 01 corresponds to output 1 and so on. ATTENTION: These bits must be set to 1. C = Configure select bit F = Full range bit
Range Selection Bits for the 1794-OE4 Analog Output Module (Write Word 6) Channel No.
Channel 0
Channel 1
Channel 2
Channel 3
F0
C0
F1
C1
F2
C2
F3
C3
Decimal Bit
00
08
01
09
02
10
03
11
4-20mA
0
1
0
1
0
1
0
1
0-10V dc/0-20mA
1
0
1
0
1
0
1
0
-10 to +10V dc
1
1
1
1
1
1
1
1
Off1
0
0
0
0
0
0
0
0
C = Configure select bit F = Full range bit 1 When configured to off, individual channels will return 0V.
Word/Bit Descriptions for the 1794-OE4 Analog Output Module Word
Read Word 1
Decimal Bit
Definition
Bits 00-03
Current outputs only - When set (1), the wire on the output is broken or the load resistance is too high. Bit 00 corresponds to channel 0, bit 01 corresponds to channel 2, and so on.
Bits 04-14
Not used - set to 0.
Bit 15
Publication 1794-6.5.5 - October 1996
Power Up bit - included in series B modules only. This bit is 0 in series A modules. This bit is set to 1 when all bits in the configuration register are 0 (unconfigured state). The configuration register can be cleared by either of the reset inputs, or by the user writing all zeroes to it.
Page 32
How Communication Takes Place and I/O Image Table Mapping
Word
2–15
Decimal Bit
Definition
Bits 00-14
Channel 0 analog data - 12-bit left justified two's complement number; unused lower bits are zero; 4-20mA uses all 16 bits.
Bits 15
Channel 0 analog data sign bit.
Bits 00-14
Channel 1 analog data - 12-bit left justified two's complement number; unused lower bits are zero; 4-20mA uses all 16 bits.
Bits 15
Channel 1 analog data sign bit.
Bits 00-14
Channel 2 analog data - 12-bit left justified two's complement number; unused lower bits are zero; 4-20mA uses all 16 bits.
Bits 15
Channel 2 analog data sign bit.
Bits 00-14
Channel 3 analog data - 12-bit left justified two's complement number; unused lower bits are zero; 4-20mA uses all 16 bits.
Bits 15
Channel 3 analog data sign bit.
Bits 00-03
Output Enable bits. Bit 00 corresponds to input 0, bit 01 corresponds to input 1, bit 02 corresponds to input 2, and bit 03 corresponds to input 3. These bits must be set to 1.
Bits 04-15
Not used - set to 0.
Bits 00-03
Full range bits (F) for individual channels - Bit 00 corresponds to output channel 0, bit 01 corresponds to output channel 1, and so on. Refer to range selection above.
Bits 04-07
Not used - set to 0.
Bits 08-11
Configure select bits (C) for individual channels - Bit 08 corresponds to output channel 0, bit 09 corresponds to output channel 1, and so on. Refer to range selection above.
Bits 12-15
Not used - set to 0.
Write Word 7
Bits 00-15
Not used - set to 0.
Write Word 8
Bits 00-15
Not used - set to 0.
Write Word 9
Bits 00-15
Not used - set to 0.
Write Word 10
Bits 00-15
Not used - set to 0.
Write Word 11
Bits 00-15
Not used - set to 0.
Write Word 12
Bits 00-15
Not used - set to 0.
Write Word 13
Bits 00-15
Not used - set to 0.
Write Word 14
Bits 00-15
Not used - set to 0.
Write Word 1
Write Word 2
Write Word 3
Write Word 4
Write Word 5
Write Word 6
Publication 1794-6.5.5 - October 1996
Page 33
2–16
How Communication Takes Place and I/O Image Table Mapping
Analog Combo Module (1794-IE4XOE2) Image Table Mapping Module Image
I/O Image
Input Data Channel 0
Input Size
Input Data Channel 1
0 to 5 Words
Read
Input Data Channel 2 Input Data Channel 3 Underrange & Diag.
PU
Output Data Channel 0 Output Data Channel 1 OE
Not used Not used
Output Size Write
Full Range and Configure Select Not used
0 to 4 Words
Not used Not used Not used Not used Not used
Memory Map of Analog Combo Module Image Table – 1794-IE4XOE2 Dec. Bit
15
14
13
12
11
10
09
08
07
06
05
04
03
02
01
00
Oct. Bit
17
16
15
14
13
12
11
10
07
06
05
04
03
02
01
00
Size
S
Analog Value Input Channel 0
Read Word 1
S
Analog Value Input Channel 1
Read Word 2
S
Analog Value Input Channel 2
Read Word 3
S
Analog Value Input Channel 3
Read Word 4
PU
Not used - set to 0
W1
W0
U3
U2
U1
U0
Read Word 5
S
Analog Data - Output Channel 0
Write Word 1
S
Analog Data - Output Channel 1
Write Word 2
Not used - set to 0 Not used
C5
C4
C3
C2
C1
C0
0
0
Not used - set to 0
F5
F4
F3
F2
OE1
OE0
Write Word 3
F1
F0
Write Word 4 Write Word 5 thru 10
Where: PU = Power up bit - included in series B modules only. W = Diagnostic bits for current output wire broken or load resistance high. (Not used on voltage outputs.) U = Underrange bits for 4-20mA inputs OE = Output enable bits (bit 00 corresponds to output 0, bit 01 corresponds to output 1). ATTENTION: These bits must be set to 1. S = Sign bit (in 2's complement) C = Configure select bit F = Full range bit
Publication 1794-6.5.5 - October 1996
Page 34
How Communication Takes Place and I/O Image Table Mapping
2–17
Range Selection Bits for the 1794-IE4XOE2 Analog Combo Module Channel No.
Input Channel 0
Input Channel 1
Input Channel 2
Input Channel 3
Output Channel 0
Output Channel 1
F0
C0
F1
C1
F2
C2
F3
C3
F4
C4
F5
C5
Decimal Bit
00
08
01
09
02
10
03
11
04
12
05
13
4-20mA
0
1
0
1
0
1
0
1
0
1
0
1
0-10V dc/0-20mA
1
0
1
0
1
0
1
0
1
0
1
0
-10 to +10V dc
1
1
1
1
1
1
1
1
1
1
1
1
Off1
0
0
0
0
0
0
0
0
0
0
0
0
C = Configure select bit F = Full range bit 1 When configured to off, individual channels will return either 0V or 0mA.
Word/Bit Descriptions for the 1794-IE4XOE2 Analog Combo Module Word Read Word 1
Read Word 2
Read Word 3
Read Word 4
Decimal Bit
Definition
Bits 00-14
Channel 0 analog data - 12-bit left justified two's complement number; unused lower bits are zero; 4-20mA uses all 16 bits.
Bits 15
Channel 0 analog data sign bit.
Bits 00-14
Channel 1 analog data - 12-bit left justified two's complement number; unused lower bits are zero; 4-20mA uses all 16 bits.
Bits 15
Channel 1 analog data sign bit.
Bits 00-14
Channel 2 analog data - 12-bit left justified two's complement number; unused lower bits are zero; 4-20mA uses all 16 bits.
Bits 15
Channel 2 analog data sign bit.
Bits 00-14
Channel 3 analog data - 12-bit left justified two's complement number; unused lower bits are zero; 4-20mA uses all 16 bits.
Bits 15
Channel 3 analog data sign bit.
Bits 00-03
Underrange bits (U) for individual channels (4-20mA current inputs only) - Bit 00 corresponds to input channel 0, bit 01 corresponds to input channel 1, and so on.
Bits 04-05
Wire Off bits (W) - Current outputs only - When set (1), the wire on the current output is broken or the load resistance is too high. Bit 00 corresponds to channel 0, bit 01 corresponds to channel 2, and so on.
Bits 06-14
Not used - set to 0.
Read Word 5
Write Word 1
Bit 15
Power Up bit - included in series B modules only. This bit is 0 in series A modules. This bit is set to 1 when all bits in the configuration register are 0 (unconfigured state). The configuration register can be cleared by either of the reset inputs, or by the user writing all zeroes to it.
Bits 00-14
Channel 0 analog data - 12-bit left justified two's complement number; unused lower bits are zero; 4-20mA uses all 16 bits.
Bits 15
Channel 0 analog data sign bit.
Publication 1794-6.5.5 - October 1996
Page 35
2–18
How Communication Takes Place and I/O Image Table Mapping
Word
Decimal Bit
Definition
Bits 00-14
Channel 1 analog data - 12-bit left justified two's complement number; unused lower bits are zero; 4-20mA uses all 16 bits.
Bits 15
Channel 1 analog data sign bit.
Bits 00-01
Output Enable bits. Bit 00 corresponds to output 0, bit 01 corresponds to output 1. These bits must be set to 1.
Bits 02-15
Not used - set to 0.
Bits 00-05
Full range bits (F) for individual channels - Bit 00 corresponds to input channel 0, bit 01 corresponds to input channel 1, bit 02 corresponds to input channel 3, bit 03 corresponds to input channel 3, bit 04 corresponds to output channel 1, and bit 05 corresponds to output channel 2. Refer to range selection above.
Bits 06-07
Not used - set to 0.
Bits 08-13
Configure select bits (C) for individual channels - Bit 08 corresponds to input channel 0, bit 09 (11) corresponds to input channel 1, bit 10 (12) corresponds to input channel 2, bit 11 (13) corresponds to input channel 3, bit 12 (14) corresponds to output channel 0, and bit 13 (15) corresponds to output channel 1. Refer to range selection above.
Bits 14-15
Not used - set to 0.
Write Word 5
Bits 00-15
Not used - set to 0.
Write Word 6
Bits 00-15
Not used - set to 0.
Write Word 7
Bits 00-15
Not used - set to 0.
Write Word 8
Bits 00-15
Not used - set to 0.
Write Word 9
Bits 00-15
Not used - set to 0.
Write Word 10
Bits 00-15
Not used - set to 0.
Write Word 2
Write Word 3
Write Word 4
Publication 1794-6.5.5 - October 1996
Page 36
How Communication Takes Place and I/O Image Table Mapping
2–19
RTD Input Analog Module (1794-IR8) Image Table Mapping Module Image Reserved Input Data Channel 0 Input Data Channel 1
I/O Image
Input Data Channel 2
Input Size
Input Data Channel 3 Input Data Channel 4
1 to 11 Words
Input Data Channel 5 Input Data Channel 6 Input Data Channel 7 Overrange Underrange Calibration Status Configuration
Calibration Mask
Output Size
RTD Type
0 to 3 Words
RTD Type
RTD Analog Input Module (1794-IR8) Read Dec. Bit
15
14
13
12
11
10
09
08
07
06
05
04
03
02
01
00
Oct. Bit
17
16
15
14
13
12
11
10
07
06
05
04
03
02
01
00
0
0
0
Read Word 1
Reserved
Read Word 2
Channel 0 Input Data
Read Word 3
Channel 1 Input Data
Read Word 4
Channel 2 Input Data
Read Word 5
Channel 3 Input Data
Read Word 6
Channel 4 Input Data
Read Word 7
Channel 5 Input Data
Read Word 8
Channel 6 Input Data
Read Word 9
Channel 7 Input Data
Read Word 10 Read Word 11
Overrange Bits 0
0
0
0
0
Bad Cal
Underrange Bits Cal Done
Cal Range
0
Diagnostic Status Bits
Pwr Up
Publication 1794-6.5.5 - October 1996
Page 37
2–20
How Communication Takes Place and I/O Image Table Mapping
RTD Analog Input Module (1794-IR8) Write Dec. Bit
15
14
13
12
11
10
09
08
07
06
05
04
03
02
01
00
Oct. Bit
17
16
15
14
13
12
11
10
07
06
05
04
03
02
01
00
Cal Clk
Cal Hi Cal Lo
Enh
MDT
Write Word 1
8-bit Calibration Mask
Filter Cutoff
Write Word 2
RTD 3 Type
RTD 2 Type
RTD 1 Type
RTD 0 Type
Write Word 3
RTD 7 Type
RTD 6 Type
RTD 5 Type
RTD 4 Type
Where:
Enh = Enhanced MDT = Module Data Type
Word/Bit Descriptions for the 1794-IR8 RTD Analog Input Module Word
Dec. Bits (Octal Bits)
Read Word 1
00-15 (00-17)
Reserved
Read Word 2
00-15 (00-17)
Channel 0 Input data
Read Word 3
00-15 (00-17)
Channel 1 Input data
Read Word 4
00-15 (00-17)
Channel 2 Input data
Read Word 5
00-15 (00-17)
Channel 3 Input data
Read Word 6
00-15 (00-17)
Channel 4 Input data
Read Word 7
00-15 (00-17)
Channel 5 Input data
Read Word 8
00-15 (00-17)
Channel 6 Input data
Read Word 9
00-15 (00-17)
Channel 7 Input data
Read Word 10
00-07 08-15 (10-17)
Read Word 11
Description
Underrange bits - these bits are set if the input signal is below the input channel's minimum range. Overrange bits - these bits are set if 1), the input signal is above the input channel's maximum range, or 2), an open detector is detected.
00-01
Not used - set to 0
02
Reserved
03
Powerup bit - this bit is set (1) until configuration data is received by the module.
04-06
Critical Error bits - If these bits are anything other than all zeroes, return the module to the factory for repair
07
Unused - set to 0
08 (10)
Calibration Range bit - set to 1 if a reference signal is out of range during calibration
09 (11)
Calibration Done bit - set to 1 after an initiated calibration cycle is complete.
10 (12)
Calibration Bad bit - set to 1 if the channel has not had a valid calibration.
11-15 (13-17)
Publication 1794-6.5.5 - October 1996
Unused - set to 0