3170-PDP
♦
FLEX Platform
How Communication Takes Place and I/O Image Table Mapping
FLEX I/O™ PROFIBUS Adapter
Page 34 of 152
ProSoft Technology, Inc.
August 23, 2007
1794-IE4XOE2 Range Selection Bits
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
to
20mA 0 1 0 1 0 1 0 1 0 1 0 1
0 to 10V dc/0
to 20mA
1 0 1 0 1 0 1 0 1 0 1 0
to 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
1When configured to off, individual channels will return either 0V or 0mA.
1794-IE4XOE2 Word/Bit Descriptions
Word Decimal
Bit
Definition
Read Word 1
Bits 00 to 14
Channel 0 analog data – 12-bit left justified two's complement number; unused
lower bits are zero; 4 to 20mA uses all 16 bits.
Bits 15
Channel 0 analog data sign bit.
Read Word 2
Bits 00 to 14
Channel 1 analog data – 12-bit left justified two's complement number; unused
lower bits are zero; 4 to 20mA uses all 16 bits.
Bits 15
Channel 1 analog data sign bit.
Read Word 3
Bits 00 to 14
Channel 2 analog data – 12-bit left justified two's complement number; unused
lower bits are zero; 4 to 20mA uses all 16 bits.
Bits 15
Channel 2 analog data sign bit.
Read Word 4
Bits 00 to 14
Channel 3 analog data – 12-bit left justified two's complement number; unused
lower bits are zero; 4 to 20mA uses all 16 bits.
Bits 15
Channel 3 analog data sign bit.
Read Word 5
Bits 00 to 03
Underrange bits (U) for individual channels (4 to 20mA current inputs only) – Bit 00
corresponds to input channel 0, bit 01 corresponds to input channel 1, and so on.
Bits 04 to 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 to 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.
Write Word 1
Bits 00 to 14
Channel 0 analog data – 12-bit left justified two's complement number; unused
lower bits are zero; 4 to 20mA uses all 16 bits.
Bits 15
Channel 0 analog data sign bit.
Write Word 2
Bits 00 to 14
Channel 1 analog data – 12-bit left justified two's complement number; unused
lower bits are zero; 4 to 20mA uses all 16 bits.
Bits 15
Channel 1 analog data sign bit.
Write Word 3
Bits 00 to 01
Output Enable bits. Bit 00 corresponds to output 0, bit 01 corresponds to output 1.
These bits must be set to 1.