Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 5 of 13

FLEX I/O PROFIBUS Adapter (Cat. No. 1794-APB) User Manual: 2 - How Communication Takes Place and I/O Image Table Mapping, pages 28 to 37

Pages 28 to 37 of 90, from FLEX I/O PROFIBUS Adapter (Cat. No. 1794-APB) User Manual

The original document is the PDF (924 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 1794-IB16

Page 28

How Communication Takes Place and I/O Image Table Mapping

2–11

1794-IE8 Range Selection Bits 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

Do Not Use1

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 Do not use this configuration. Individual channels revert to 4–20mA if bit selection is all zeroes.

1794-IE8 Word/Bit Descriptions Word

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.

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.6 – April 1996

Page 29

2–12

How Communication Takes Place and I/O Image Table Mapping

Word

Read Word 9

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

1794-OE4 – 4 Output Analog Module 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 Not used Not used Not used Not used Not used Not used Not used

Publication 1794-6.5.6 – April 1996

OE Full Range

Page 30

How Communication Takes Place and I/O Image Table Mapping

2–13

1794-OE4 Memory Map Decimal Bit

15

14

13

12

11

10

09

08

07

06

05

04

03

02

01

00

Size

Oct. Bit

17

16

15

14

13

12

11

10

07

06

05

04

03

02

01

00

Read Words

W3

W2

W1

W0

Read Word 1

PU

Not used – set to 0

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

F1

F0

Write Word 6

F2

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

1794-OE4 Range Selection Bits (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.

1794-OE4 Word/Bit Descriptions 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

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.

Write Word 1

Publication 1794-6.5.6 – April 1996

Page 31

2–14

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–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 2

Write Word 3

Write Word 4

Write Word 5

Write Word 6

Publication 1794-6.5.6 – April 1996

Page 32

How Communication Takes Place and I/O Image Table Mapping

2–15

1794-IE4XOE2 – Analog Combo Module 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

1794-IE4XOE2 Memory Map Decimal Bit

15

14

13

12

11

10

09

08

07

06

05

04

03

02

01

00

Size

Oct. Bit

17

16

15

14

13

12

11

10

07

06

05

04

03

02

01

00

Read Words

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

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

F5

F4

F3

F2

OE1

OE0

Write Word 3

F1

F0

Write Word 4

Not used – set to 0 Where:

U0

Write Word 5 thru 10

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.6 – April 1996

Page 33

2–16

How Communication Takes Place and I/O Image Table Mapping

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–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.

1794-IE4XOE2 Word/Bit Descriptions Word

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 1

Read Word 2

Read Word 3

Read Word 4

Read Word 5

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.

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.

Write Word 1

Write Word 2

Publication 1794-6.5.6 – April 1996

Page 34

How Communication Takes Place and I/O Image Table Mapping

Word

Decimal Bit

2–17

Definition

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 3

Write Word 4

1794-IR8 – RTD Input Analog Module Image Table Mapping Module Image Reserved Input Data Channel 0 I/O Image Input Size 1 to 11 Words

Input Data Channel 1 Input Data Channel 2 Input Data Channel 3 Input Data Channel 4 Input Data Channel 5 Input Data Channel 6 Input Data Channel 7 Overrange Underrange Calibration Status Configuration

Calibration Mask Output Size 0 to 3 Words

RTD Type RTD Type

Publication 1794-6.5.6 – April 1996

Page 35

2–18

How Communication Takes Place and I/O Image Table Mapping

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

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

Underrange Bits

Bad Cal

Cal Done

Cal Range

0

Diagnostic Status Bits

Pwr Up

0

0

0

1794-IR8 Write Dec. Bit Oct. Bit

15

14

13

12

11

10

09

08

07

06

05

04

03

02

01

00

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

1794-IR8 Word/Bit Descriptions 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

Publication 1794-6.5.6 – April 1996

Description

Page 36

How Communication Takes Place and I/O Image Table Mapping

2–19

Word

Dec. Bits (Octal Bits)

Description

Read Word 10

00–07

Underrange bits – these bits are set if the input signal is below the input channel’s minimum range.

08–15 (10–17) Read Word 11

Write word 1

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)

Unused – set to 0

00–01

Module Data Type Bit

01

00

0

0 oC (default)

0

1 oF

1

0

Bipolar counts scaled between –32768 and +32767

1

1

Unipolar counts scaled between 0 and 65535

02

Enhanced mode select – measures voltage drop across a precision resistor in the module to compare with the unknown input.

03–05

A/D Filter First Notch Frequency Bit

05

04

03

Definition

0

0

0

10Hz (default)

0

0

1

25Hz

0

1

0

50Hz

0

1

1

60Hz

1

0

0

100Hz

1

0

1

250Hz

1

1

0

500Hz

1

1

1

1000hZ

06

Calibration High/Low bit – This bit is set during gain calibration; reset during offset calibration.

07

Calibration clock – this bit must be set to 1 to prepare for a calibration cycle; then reset to 0 to initiate calibration.

08–15

Calibration mask – The channel, or channels, to be calibrated will have the correct mask bit set. Bit 0 corresponds to channel 0, bit 1 to channel 1, and so on.

Publication 1794-6.5.6 – April 1996

Page 37

2–20

How Communication Takes Place and I/O Image Table Mapping

Word

Dec. Bits (Octal Bits)

Write Word 2

00–03

Description Channel 0 RTD Type Bit

03

02

01

00

RTD Type – Range

0

0

0

0

Resistance (default)

0

0

0

1

No sensor connected – do not scan

0

0

1

0

100 ohm Pt α = 0.00385 Euro (–200 to +870oC)

0

0

1

1

100 ohm Pt α = 0.003916 U.S. (–200 to +630oC)

0

1

0

0

200 ohm Pt α = 0.00385 (–200 to +630oC)

0

1

0

1

500 ohm Pt α = 0.00385 (–200 to +630oC)

0

1

1

0

Reserved

0

1

1

1

10 ohm Copper (–200 to +260oC)

1

0

0

0

120 ohm Nickel (–60 to +250oC)

1

0

0

1

100 ohm Nickel (–60 to +250oC)

1

0

1

0

200 ohm Nickel (–60 to +250oC)

1

0

1

1

500 ohm Nickel (–60 to +250oC)

1

1

0

0

Module data time stamp

1101 to 1111 – Reserved

Write Word 3

04–07

Channel 1 RTD Type (see bits 00–03)

08–11

Channel 2 RTD Type (see bits 00–03)

12–15

Channel 3 RTD Type (see bits 00–03)

00–03

Channel 4 RTD Type (see write word 2, bits 00–03)

04–07

Channel 5 RTD Type (see write word 2, bits 00–03)

08–11

Channel 6 RTD Type (see write word 2, bits 00–03)

12–15

Channel 7 RTD Type (see write word 2, bits 00–03)

Publication 1794-6.5.6 – April 1996