beautypg.com

Input structure – Rockwell Automation 1756-HSC ControlLogix High Speed Counter Module User Manual

Page 91

background image

Rockwell Automation Publication 1756-UM007C-EN-P - November 2011

1756-HSC Data Structures

91

Input Structure

You must use input tags to monitor module status. The table lists and defines
1756-HSC module input tags.

IMPORTANT

Some of the tags in the table below are followed by an ‘

x’

or a ‘y’. The ‘

x’ indicates the same tag information applies

for Channel 0 and Channel 1 on the 1756-HSC module.
The ‘y’ indicates the same tag information applies for the
four outputs (0…3) on the 1756-HSC module.

1756-HSC Module Input Tags

Name

Type

Style

Definition

I.CommStatus

DINT

Decimal

Displays module connection status.
0 = Module is connected.
65535 = Module is not connected.

I.PresentValue[

x]

DINT

Decimal

Displays the current count in the Counter and Encoder modes. Displays
counts per sample in Frequency, Period Rate, or Continuous Rate modes.
Values range from 0…16,777,214.

I.StoredValue[

x]

DINT

Decimal

Displays the Stored Count value in the Counter and Encoder modes.
Displays the current frequency in Hz in Frequency, Period Rate, and
Continuous Rate modes.
Values range from 0…16,777,214.

I.Totalizer[

x]

DINT

Decimal

Displays the current frequency in Hz in Counter and Encoder modes.
Displays the total accumulated counts in Frequency, Period Rate, and
Continuous Rate modes.
Values range from 0…16,777,214.

I.WasReset.

x

BOOL

Decimal

Displays whether the counter was reset.
0 = Counter was not reset.
1 = Counter was reset.

I.WasPreset.

x

BOOL

Decimal

Displays whether the Preset value for the counter was loaded.
0 = Preset value was not loaded.
1 = Preset value was loaded.

I.NewDataFlag.

x

BOOL

Decimal

Displays whether the module received new data on the last scan.
0 = No new data was received.
1 = New data was received.

I.ZState.

x

BOOL

Decimal

Displays the Z state.
0 = Gate is low.
1 = Gate is high.

I.OutputState.y

BOOL

Decimal

Displays the output state.
0 = Output is low.
1 = Output is high.

I.IsOverridden.y

BOOL

Decimal

Determines whether output is overridden.
0 = Output is using On-Off window.
1 = Output is overridden.

I.CSTTimestamp

DINT[2]

Displays the coordinated system timestamp of the last sample
in microseconds.