beautypg.com

Rockwell Automation 1794-APB/B FLEX I/O PROFIBUS Adapter Module User Manual User Manual

Page 62

background image

2–42

How Communication Takes Place and I/O Image Table Mapping

Publication 1794ĆUM057B-EN-P - November 2001

Definition

Decimal Bit

(Octal Bit)

Word

Write Word 3

Channel Configuration (refer to Configuring Your Input Channel )

Bits 00-03

Channel 0 Configuration

Bits 04-07

Channel 1 Configuration

Bits 08-11

(10-13)

Channel 2 Configuration

Bits 12-15

(14-17)

Channel 3 Configuration

Write Word 4

Bits 00-14

(00-16)

Real TimeSampleInterval - Programs the interval of the real time sample.

Can be varied from 0 to 30 seconds (30000 decimal). Resolution is in ms with

granularity in 5ms steps.

Bit 15 (17)

Not used. Set to 0.

Write Word 5

Bit 00-03

Channel calibration selection bit. When this bit is set (1), the channel can

be calibrated using the calibration clock bit (CK). Bit 00 corresponds to input

channel 0, bit 01 corresponds to input channel 1, it 02 corresponds to input

channel 2, bit 03 corresponds to input channel 3

Bit 04

Gain/Offset selection bit (GO). - When this bit is cleared, a 0 to 1 to 0

transition of the CK bit performs on offset calibration. When this bit is 1, the

module is directed to do a gain calibration.

Bit 05

Calibration clock bit (CK). - When this bit is set to 1 (calibration mode), the

calibration coeffiicient for the selected channels is accepted. When this bit is

reset (0), the accepted calibration coefficients for the selected channels are

stored, applied, and the calibration mode exited. Monitor status bits DN and

BD for succesful calibration.

Bit 06

Quick Calibration bit (QK). - Normally reset (0). When this bit is set (1)

during a calibration sequence, the calibration coefficient is stored to all

related configurations for the selected channels. NOTE: This method of

calibration quickly calibrates the selected channels, however you will not be

within the rated accuracy of the module.

Bit 07

Revert to defaults bit (RV). - Normally reset (0). When set (1) during a

calibration procedure, default values for selected channels are used for the

calibration coefficient.NOTE: You will not be within the rated accuracy of the

module.

Bit 08-11

(10-14)

Not used. Set to 0.

Bit 12 (14)

Interrupt Toggle bit (IT) - This bit, when set (1), permits interleaving of

module interrupts ensuring exchange of critical data when channels are

configured for their fastest update times. RTSI and no low pass filter" must

be 0 in order for the module to recognize this feature. This groups data

update rates for all channels to the slowest configuration setting of any of the

channels. In addition, channel update rates for all channels with a 7.5ms

update rate are reduced to 5.0ms. When reset (0), real time sampling and

filter features are enabled.