Rockwell Automation 1747-PCIS API Software - Open Controller User Manual

Page 93

Advertising
background image

Publication 1747-UM002A-US-P - June 2000

Library of Routines 6-33

16

dynamic configuration

DII compare value
This word contains a bit-mapped value that corresponds to the bit
transitions that must occur in the discrete I/O module for a count or
interrupt to occur. Only bits 0-7 are used in the DII function. Setting
a bit indicates that the bit must transition from a 0 to a 1 to satisfy
the compare condition for that bit. Clearing a bit indicates that the
bit must transition from a 1 to a 0 in order to satisfy the compare
condition for that bit. An interrupt or count will be generated upon
the last bit transition of the compare value.
This word is applied upon detection of the DII reconfigure bit 11/10
and at the end of each I/O scan.

17

dynamic configuration

DII preset
When this value is 0 or 1, an interrupt is generated each time the bit
transition comparison is satisfied (see words 15 and 16). When this
value is 2-65535, a count occurs each time the bit transition
comparison is satisfied. When the total number of counts equals
the DII preset value, an interrupt will be generated.
This word is applied upon detection of the DII reconfigure bit 11/10
and at the end of each I/O scan.

18

status

DII accumulator
The DII accumulator contains the number of count transitions that
have occurred (see word 17). When a count occurs and the
accumulator is greater than or equal to the preset value, a DII
interrupt is generated.

19

status

Scanner firmware series
This word indicates the scanner firmware series number. The series
and revision numbers are used to identify versions of firmware.

20

status

Scanner firmware revision
This word indicates the scanner firmware revision number. The
series and revision numbers are used to identify versions of
firmware.

21

status

1746 I/O PCI Interface hardware series
This word indicates the 1746 I/O PCI Interface hardware series
number. The series and revision numbers are used to identify
versions of firmware.

22

status

1746 I/O PCI Interface hardware revision
This word indicates the 1746 I/O PCI Interface hardware revision
number. The series and revision numbers are used to identify
versions of firmware.

23

status

Scanner RAM size
This word indicates the size of RAM in 16-bit K words. For example,
a value of 64 indicates 64K words, or 128K bytes.

24

status

Scanner flash ROM size
This word indicates the size of flash ROM in 16-bit K words. For
example, a value of 64 indicates 64K words, or 128K bytes.

Word/Bit:

Classification:

Description:

Advertising
This manual is related to the following products: