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

The text of a manual · part 6 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 38 to 45

Pages 38 to 45 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 38

How Communication Takes Place and I/O Image Table Mapping

2–21

1794-IT8 – Thermocouple Input Module 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

1 to 11 Words

Input Data Channel 4 Input Data Channel 5 Input Data Channel 6 Input Data Channel 7 Overrange

Underrange Calibration Status

Output Size Configuration

Calibration Mask

0 to 3 Words

Thermocouple Type Thermocouple Type

1794-IT8 Read Dec. Bit

15

14

13

12

11

10

09

08

07

06

05

04

03

02

01

00

Octal Bit

17

16

15

14

13

12

11

10

07

06

05

04

03

02

01

00

CJC over

CJC Under

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

Diagnostics

Pwr Up

Bad Structure

Publication 1794-6.5.6 – April 1996

Page 39

2–22

How Communication Takes Place and I/O Image Table Mapping

1794-IT8 Write Dec. Bit

15

14

13

12

11

10

09

08

07

06

05

04

03

02

01

00

Octal Bit

17

16

15

14

13

12

11

10

07

06

05

04

03

02

01

00

Cal Clk

Cal hi Cal lo

FDF

Data Type

Write Word 1

8-Bit Calibration Mask

Filter Cutoff

Write Word 2

Thermocouple 3 Type

Thermocouple 2 Type

Thermocouple 1 Type

Thermocouple 0 Type

Write Word 3

Thermocouple 7 Type

Thermocouple 6 Type

Thermocouple 5 Type

Thermocouple 4 Type

Where:

FDF = fixed digital filter bit

1794-IT8 Word/Bit Descriptions Word

Decimal Bit (Octal Bit)

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 (00–07)

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

08–15 (10–17)

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.

Read Word 11

Description

00 (00)

Cold Junction sensor underrange bit. – this bit is set if the cold junction temperature is below 0oC.

01 (01)

Cold Junction sensor overrange bit. – this bit is set if the cold junction temperature is above 70oC.

02 (02)

Bad Structure – this bit is set if there is an invalid thermocouple type selected.

03 (03)

Powerup bit – this bit is set (1) until configuration data is received by the module.

04–06 (04–06)

Critical Fault bits – If these bits are anything other than zero, return the module to the factory for repair.

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

Unused – set to 0

Page 40

How Communication Takes Place and I/O Image Table Mapping

Word

Decimal Bit (Octal Bit)

Write Word 1

00–01 (00–01)

Description Module Data Type Bit

Bit 02 (02) 03–05 (03–05)

2–23

01

00

Definition

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

Fixed Digital Filter – When this bit is set (1), a software digital filter is enabled. This filter settles to 100% of a Full Scale step input in 60 scans. 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 (06)

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

07 (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 (10–17)

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

Publication 1794-6.5.6 – April 1996

Page 41

2–24

How Communication Takes Place and I/O Image Table Mapping

Word

Decimal Bit (Octal Bit)

Write Word 2

00–03 (00–03)

Description Channel 0 Thermocouple Type Bit

Write Word 3

03

02

01

00

Thermocouple Type – Range

0

0

0

0

Millivolts (default)

0

0

0

1

B

300 to 1800oC

0

0

1

0

E

–270 to 1000oC (–454 to 1832oF)

0

0

1

1

J

–210 to 1200oC (–346 to 2192oF)

0

1

0

0

K

–71 to 1372oC

(–95 to 2502oF)

0

1

0

1

R

–50 to 1768oC

(–58 to 3214oF)

0

1

1

0

S

–50 to 1768oC

(–58 to 3214oF)

0

1

1

1

T

–73 to 400oC

(–99 to 752oF)

1

0

0

0

C

0 to 2315oC

(32 to 4199oF)

1

0

0

1

N

–270 to 1300oC (–450 to 2372oF)

1

0

1

0

Reserved

1

0

1

1

Reserved

1

1

0

0

Module reports cold junction temperature for channels 00–03

1

1

0

1

Module reports cold junction temperature for channels 04–07

1

1

1

0

Reserved

1

1

1

1

No sensor connected (do not scan)

04–07 (04–07)

Channel 1 Thermocouple Type (see bits 00–03)

08–11 (10–13)

Channel 2 Thermocouple Type (see bits 00–03)

12–15 (14–17)

Channel 3 Thermocouple Type (see bits 00–03)

00–03 (00–03)

Channel 4 Thermocouple Type (see word 13, bits 00–03)

04–07 (04–07)

Channel 5 Thermocouple Type (see word 13, bits 00–03)

08–11 (10–13)

Channel 6 Thermocouple Type (see word 13, bits 00–03)

12–15 (14–17)

Channel 7 Thermocouple Type (see word 13, bits 00–03)

Publication 1794-6.5.6 – April 1996

(572 to 3272oF)

Page 42

How Communication Takes Place and I/O Image Table Mapping

2–25

1203-FM1 – SCANport Module Image Table Mapping I/O Image

Module Image 0 Connection StatusChannel 2 Connection Status Channel 1

Read

Logic Status Channel 1

6 Words

Analog Feedback Channel 1 Logic Status Channel 2 Analog Feedback Channel 2 1 Word Connection Enable Channel 2

Connection Enable Channel 1

Write

Logic Command Channel 1

5 Words

Analog Reference Channel 1 Logic Command Channel 2 Analog Reference Channel 2 Not Used

Connection Status Word Definition Bit:

Connection Status Channel 2

Connection Status Channel 1

15 14 13 12 11 10 9

7

Not Used V2

ID2

8

6

5

Not Used

4

3

2

V1

1

0

ID1

Description

V1

SCANport channel 1 valid data bit. When high (1), the Logic Status and Analog Feedback values are valid and can be used. When low (0), the values should not be used.

ID1

SCANport channel 1 connected peripheral port ID number. This three bit field contains the port number that channel 1 is connected to on the SCANport device. It should contain a value between 1 and 7. If this field is 7, then the channel is not connected to the SCANport device, or the SCANport device may not be powered.

V2

SCANport channel 2 valid data bit. When high (1), the Logic Status and Analog Feedback values are valid and can be used. When low (0), the values should not be used.

ID2

SCANport channel 2 connected peripheral port ID number. This three bit field contains the port number that channel 2 is connected to on the SCANport device. It should contain a value between 1 and 7. If this field is 7, then the channel is not connected to the SCANport device, or the SCANport device may not be powered.

Logic Status/Analog Feedback Definition The Logic Status and Analog Feedback values are defined within the product manuals of the connected SCANport device(s).

Publication 1794-6.5.6 – April 1996

Page 43

2–26

How Communication Takes Place and I/O Image Table Mapping

Connection Enable Word Definition Bit:

Connection Enable Channel 2

Connection Enable Channel 1

15 14 13 12 11 10 9

8

7

Not Used

E2

6

5

4

3

Not Used

2

1

0

E1

Description

E1

SCANport channel 1 enable bit. When set to 1, the module will attempt to connect to the SCANport device. When reset to 0, the module stops communicating with the connected SCANport device. This usually causes the device to fault.

E2

SCANport channel 2 enable bit. When set to 1, the module will attempt to connect to the SCANport device. When reset to 0, the module stops communicating with the connected SCANport device. This usually causes the device to fault.

Logic Command/Analog Reference Definition The Logic Command and Analog Reference values are defined within the product manuals of the connected SCANport device(s).

Publication 1794-6.5.6 – April 1996

Page 44

How Communication Takes Place and I/O Image Table Mapping

Defaults

2–27

Each I/O module has default values associated with it. At default, each module will generate inputs/status and expect outputs/configuration. Module Defaults for:

Adapter Defaults

Optimal Sizes

Catalog Number

Description

Input Default

Output Default

Input Default

Output Default

1794-IB16

16-pt 24V dc Sink Input

1

1

1

0

1794-OB16

16-pt 24V dc Source Output

1

1

0

1

1794-IA8

8-pt 120V ac Input

1

1

1

0

1794-OA8

8-pt 120V ac Output

1

1

0

1

1794-IB8S

8-pt 24V dc Sensor Input

1

1

1

0

1794-OW8

8-pt Relay Output

1

1

0

1

1794-IE8

8-pt Analog Input

9

6

8

0

1794-OE4

4-pt Analog Output

1

14

0

4

1794-IE4XOE2

4 in/2 out Analog Combo

5

10

4

2

1794-IR8

8-pt RTD Analog Input

11

4

10

0

1794-IT8

8-pt Thermocouple Input

11

4

10

0

1203-FM1

SCANport Module

6

5

4

3

The default values reflect the maximum number of read/write words. You can change the I/O data size for a module by reducing the number of words mapped into the adapter module, as shown in optimal sizes.

PROFIBUS Manager Software Catalog Number 1785-PFBMGR

Optimal sizes are the settings that provide optimal data to and from the I/O module. You need a software configuration tool to change the size. If you are using the Allen-Bradley 1785-PFB/B coprocessor as a master, you must use the Allen-Bradley PROFIBUS Manager Software configuration tool. Since the FLEX I/O adapter is compatible with any master, you can use any comparable configuration tool available on the market. The optimal settings provide the fastest network time by only mapping read and write words used by the I/O modules. If you reduce your data sizes to only include optimal data, you can only change your configuration data with a software tool. If you need to change configuration information on an optimal basis, your data size must be large enough to include the necessary words.

More Information...

If you are using PROFIBUS Manager Software to configure your adapter, refer to your PROFIBUS Manager Software User Manual, publication 1785-6.5.20 for more information.

Publication 1794-6.5.6 – April 1996

Page 45

2–28

How Communication Takes Place and I/O Image Table Mapping

For additional information on FLEX I/O modules, refer to the following publications. Module Description

Publication 1794-6.5.6 – April 1996

Catalog Number

Installation Instructions

User Manual

16 Sink Input Module

1794-IB16

1794-5.4

16 Source Output Module

1794-OB16

1794-5.3

8 Sensor Input Module

1794-IB8S

1794-5.7

8 Input Module

1794-IA8

1794-5.9

8 Output Module

1794-OA8

1794-5.10

8 Relay Output Module

1794-OW8

1794-5.19

8 Input Analog Module

1794-IE8

1794-5.6

4 Output Analog Module

1794-OE4

1794-5.5

4 in/2 out Analog Combo Module

1794-IE4XOE2

1794-5.15

8 RTD Input Analog Module

1794-IR8

1794-5.22

1794-6.5.4

8 Thermocouple Input Module

1794-IT8

1794-5.21

1794-6.5.7

SCANport Module

1203-FM1

1203-5.8

1794-6.5.2