Data block transfer read – Rockwell Automation 1757-ABRIO Process Remote I/O (RIO) Communication Interface Module User Manual

Page 43

Advertising
background image

Publication 1757-UM007D-EN-P - December 2008

41

Creating Generic Modules in AbRioCfg Software Chapter 3

Example: 1771-OFE module

The following configuration block transfer write file configures a
1771-OFE for:

binary data format

raw data from 0 to 0x0fff (0 to 4095 decimal) on each channel

0 values have been omitted.

Refer to the 1771-OFE module documentation for the details.

Data Block Transfer Read

The data block transfer read defines the cyclic block transfer read that
is used to read data from an input module, and is sometimes used to
read status data from an output module.

The data block transfer read consists of a numeric section and a flag
section.

The beginning of the data block transfer read section is marked by the
keyword “databtr”, followed by the block transfer read length.

Numeric Data

The numeric section of the data block transfer read defines the I/O
data - its location, format, and scaling.

The beginning of the numeric section is marked by the keyword
“numeric”, followed by the number of values to be defined, and the
data format.

EXAMPLE

databtr, 15

configbtw, 13 ; length 13
4, 0x8000 ; binary data format
6, 0x0fff ; maximum raw value channel 1
8, 0x0fff ; maximum raw value channel 2
10, 0x0fff ; maximum raw value channel 3
12, 0x0fff ; maximum raw value channel 4

Advertising