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

Page 46

Advertising
background image

44

Publication 1757-UM007D-EN-P - December 2008

Chapter 3 Creating Generic Modules in AbRioCfg Software

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. The sum of the
lengths in the data definitions must match the length in the “flag” line.

Example: 1771-IFE Module

The following definitions assign the underrange and overrange bits
from a 1771-IFE module to flag data.

Special Flag Read Data

In addition to any flag read data you define in the configuration file,
the Generic Module always has 8 bits of predefined flag read data.
This data is found at the beginning of the flag data for the module. It
consists of the following flags:

EXAMPLE

flag, 32

Bit

Description

0

Good communication, set to 1 if the block transfer to the module is
updating, 0 otherwise.

1

BTR Raw underrange bit, set if the raw input to the module is less than the
defined raw minimum. The module sets the scaled input to NaN.

2

BTR raw overrange, set if the raw input to the module is greater than the
defined raw maximum. The module sets the scaled input to NaN.

3

Reserved

4

Reserved

5

BTW raw underrange, set if the calculated output value is less than the
defined raw minimum. The module clamps the output at the raw minimum.

6

BTW raw overrange, set if the calculated output value is greater than the
defined raw maximum. The module clamps the value at the raw maximum.

7

BTW NaN, set if the floating point value written from the host is NaN.

0,8
2H,8
4,16

flag, 32
1,16
2,16

Advertising