Rockwell Automation 1769-L23E-QB1B_L23E-QBFC1B_L23-QBFC1B CompactLogix Packaged Controllers Quick Start and User Manual User Manual

Page 222

Advertising
background image

222

Publication IASIMP-QS010B-EN-P - October 2009

Chapter 3 Embedded I/O

Local:4:O.OutputOnMask

Setting a bit in this tag to 1 turns ON the corresponding HSC output, regardless of
the counter-controlled range results. Setting a bit to 1 in this tag turns ON the
corresponding HSC output, even if the HSC (that can control the outputs
independently) commands the opposite.

If a HSC output has both its OutputOnMask bit set to 1 and its OutputOffMask bit
set to 0, the OutputOffMask is precedent and the output is in the OFF state.

Use this tag in your program logic for direct control of the embedded HSC outputs.

Local:4:O.OutputOffMask

Setting a bit in this tag to 0 turns OFF the corresponding HSC output regardless of
the counter-controlled range results or the value specified in the OutputOnMask bit.
Setting a bit to 0 in this tag turns OFF the corresponding HSC output, even if the
HSC (that can control the outputs independently) commands the opposite.

To allow an HSC output to be controlled (that is, to be turned ON), either by the
program logic or the HSC’s range results, set the corresponding output’s
OutputOffMask bit to 1.

Local:4:O.RangeEnX

These tags provide control bits for enabling range results output control.

Local:4:O.ResetBlownFuse

Use this tag to reset the outputs' overcurrent status bits (in the input array tag
StatusFlags) if the over current latch is on.

Local:4:O.CtrX

The bits of this tag are used to control counter X operation settings.

Local:4:O.CtrXEn

This tag value controls whether the HSC inputs can affect the counter’s current
count value. Setting the bit to 1 enables counting, setting the bit to 0 disables
counting.

Local:4:O.CtrXSoftPreset

Use this tag to force a preset of counter X to the CtrPreset value. The transition of
the SoftPreset from 0 to 1 causes the counter to transition to the preset value.

Local:4:O.CtrXResetCountOverflow

Use this tag to clear the counter overflow bit for counter X (the Overflow tag for the
counter is located in the array Local:4:I.CtrXStatus).

The transition of the ResetCountOverflow tag from 0 to 1 causes the CtrXOverflow
tag value to be cleared.

Local:4:O.CtrXResetCountUnderflow

Use this tag to clear the counter underflow bit for counter X (the underflow tag for
the counter is located in the array Local:4:I.CtrXStatus).

The transition of the ResetCountUnderflow tag from 0 to 1 causes the
CtrXUnderflow tag value to be cleared.

Local:4:O.CtrXDirectionInvert

Use this tag to control the count direction (higher or lower) of counter X if the
CtrDirectionInhibit tag for the counter is set.

A 0 value in this DirectionInvert tag causes the count to increase when the
counter's input signals dictate a change in count.

A 1 value in this DirectionInvert tag causes the count to decrease when the
counter's input signals dictate a change in count.

Local:4:O.CtrDirectionInhibit

Use this tag to control the count direction source for counter X.

A 0 value in this DirectInhibit tag allows the HSC inputs to control the count
direction. A 1 value in this DirectionInhibit tag allows the controller (that is, the
value of the DirectionInvert tag) to control the count direction.

HSC Tag Descriptions

Tag Name

Description

Advertising