Operands – Rockwell Automation 1769-BOOLEAN Compact I/O Module Reference Manual User Manual

Page 52

Advertising
background image

Publication 1769-RM016A-EN-P - July 2006

52 Module Data, Status, and Configuration

The type of interrupt is selected for OUT0 by configuring the IT_O bits (bits
4 and 5) of word 8. The output interrupt types for OUT1, OUT2, and OUT3
are similarly configured using the IT_O bits of words 16, 24, and 32. The type
of interrupt is selected for each output by configuring the IT_O bits as
follows.

The default value for output interrupt type is 00:
Boolean expression FALSE

TRUE.

Each output's interrupt must be enabled before it will become active. The
output interrupt enable for OUT0 is selected by configuring the EI_O bit (bit
2) of word 8. The output interrupt enables for OUT 1, OUT 2, and OUT 3 are
similarly configured using the EI_O bits of words 16, 24, and 32. Set (1) the
EI_O bit for an output to enable the interrupt for that output, clear (0) the
EI_O bit to disable the interrupt for that output. The default state for each
EI_O bit is 0 (interrupt disabled).

Operands

The operands that are used in each output's Boolean expression are selected
from one of 33 possibilities. Each operand can be configured as: one of the
eight real inputs' current state, one of the eight real inputs' current state
inverted, one of the eight virtual inputs' (from the output data file) current
state, one of the eight virtual inputs' current state inverted, or none (the
operand is not used in the Boolean expression).

Each output's Boolean expression operands are configured using three words
in the configuration data file. For OUT0, Operand_A, Operand_B, and
Operand_C are configured using bits 0-5 of words 9, 10, and 11.

Configure the operands for OUT1 with words 17, 18, and 19; for OUT2 use
words 25, 26, and 27; and, for OUT3 use words 33, 34, and 35.

IT_O

Interrupt Event

Bit 5

Bit 4

0

0

Boolean expression False

True

0

1

Output directed state OFF

ON

1

0

Boolean expression True

False

1

1

Output directed state ON

OFF

Advertising
This manual is related to the following products: