Rockwell Automation 1757-ABRIO Process Remote I/O (RIO) Communication Interface Module User Manual

Page 49

Advertising
background image

Publication 1757-UM007D-EN-P - December 2008

47

Creating Generic Modules in AbRioCfg Software Chapter 3

The 1757-ABRIO module uses the polarity offset and bit only for the
BCD data type. It ignores them for the other data types.

If the scaled valued written is NaN, the raw output gets set to the
corresponding value in the configuration data. For example, if an I/O
data value is at offset 7 in the data block transfer write, the value at
offset 7 in the configuration block transfer write is written if the host
controller writes NaN to the tag that is mapped to the I/O value.

Flag Data

In some cases the block transfer write contains data that we want to
map to flag write tags.

The flag data section of the Data Block Transfer write defines the
location of this discrete data.

The beginning of the flag section is marked by a line containing the
keyword “flag”, followed by the total length of the flags data, in bits.
The length can be from 8 to 504 and must be a multiple of 8.

This is followed by a number of lines that define where the flag data
is found. Each line consists of an offset and a length. The maximum
number of flag definition lines is 4.

The offset is an offset into the block transfer. It can range from 0 to
the length of the block transfer - 1. If the offset is followed by an “H”,
it refers to the high byte of the block transfer word.

The length can range from 8 to 504 and must be a multiple of 8.

TIP

If the data type is BCD, enter the raw minimum and maximum
values in decimal, not hexadecimal. For example is the range is
0 to 9999, enter the value as 9999, not 0x9999.

EXAMPLE

A 1771-OFE module has channel 1 data at offset 0. The polarity
bit is offset 4 bit 0. We want to write floating point values from
0 to 1000 and have them scaled to the raw values 0 to 4095.

In a text file:

0, 4, 0, 0, 4095, 0, 1000

In a spreadsheet:

EXAMPLE

flag, 32

0 4

0 0 4095 0 1000

Advertising