Device-defined data types (1756-LSC8XIB8I)
Device-defined data type names vary for each device depending on the Communication Format you choose when creating a device. This table describes the device-defined data types created for the 1756-LSC8XIB8I digital input device according to the Communication Format chosen. This table includes information for input (as indicated by an "I"), information for output (as indicated by an "O"), and information for configuration (as indicated by a "C").
For more information on the 1756-LSC8XIB8I tags, see Rockwell Automation publication
1756-UM536
.Device-defined data type: AB:1756_LSC8XIB8I:C:0
Comm Format: Configuration Data
Member Name | Type | Default Display Style | Description |
---|---|---|---|
PtFilterOffOn | INT | Decimal | Filter Time Off to On—(Inputs 0…7 only). Defines how long an Off to On input transition must remain in the On state before the device recognizes the transition. Valid filter time = 0…30,000 μs |
PtFilterOnOff | INT | Decimal | Filter Time On to Off—(Inputs 0…7 only). Defines how long an On to Off input transition must remain in the Off state before the device recognizes the transition. Valid filter time = 0…30,000 μs |
PtXFilterEn [X = 0…7] | BOOL | Decimal | Filter—(Inputs 0…7 only). Indicates whether filtering is enabled for the standard hardware inputs. When filtering is enabled, transitions at the input point must remain in the new state for a configured length of time before the device recognizes the transition. The filter time is defined in the PtFilterOffOn and PtFilterOnOff tags. 0 = Disable 1 = Enable |
CounterFilterOffOn | INT | Decimal | Filter Time Off to On—(Counters 0…7 only). Defines how long an Off to On transition at a counter must remain in the On state before the device begins counting. Requires the Counter[x].FilterEn configuration tag to be enabled. Valid filter time = 0…30,000 μs |
CounterFilterOnOff | INT | Decimal | Filter Time On to Off—(Counters 0…7 only). Defines how long an On to Off transition at a counter must remain in the Off state before the device begins counting. Requires the Counter[x].FilterEn configuration tag to be enabled. Valid filter time = 0…30,000 μs |
AB:1756_LSC8XIB8I_Count:C:0 | Counter[x] |
Device-defined data type: AB:1756_LSC8XIB8I_Count:C:0
Member Name | Type | Default Display Style | Description |
---|---|---|---|
Window0UsesFreq | BOOL | Decimal | Window 0 Uses Frequency—Indicates whether window 0 evaluates incoming pulses in terms of frequency rather than accumulated count. 0 = The window evaluates incoming pulses in terms of accumulated count (default). 1 = The window evaluates incoming pulses in terms of frequency. |
Window0FreqAverage | BOOL | Decimal | Window 0 Uses Average Frequency—If window 0 is set to operate in terms of frequency via the Window0UsesFreq tag, this tag determines whether to use instantaneous frequency or average frequency. 0 = The window uses instantaneous frequency. 1 = The window uses average frequency (default). |
Window1UsesFreq | BOOL | Decimal | Window 1 Uses Frequency—Indicates whether window 1 evaluates incoming pulses in terms of frequency rather than accumulated count. 0 = The window evaluates incoming pulses in terms of accumulated count (default). 1 = The window evaluates incoming pulses in terms of frequency. |
Window1FreqAverage | BOOL | Decimal | Window 1 Uses Average Frequency—If window 1 is set to operate in terms of frequency via the Window1UsesFreq tag, this tag determines whether to use instantaneous frequency or average frequency. 0 = The window uses instantaneous frequency. 1 = The window uses average frequency (default). |
InvertUpDown | BOOL | Decimal | Invert Up/Down Function—When set, inverts the hardware input defined in the Counter[x].UpDownTieToPt tag, so that Counter[x] counts up when the input is high and counts down when the input is low. 0 = Not inverted. Counter[x] counts up when the input is low and down when the input is high (default). 1 = Inverted. Counter[x] counts up when the input is high and down when the input is low. |
InvertCountEn | BOOL | Decimal | Invert Count Enable Function—When set, inverts the hardware input defined in the Counter[x].CountEnTieToPt tag, so that Counter[x] counts only when the input is low. 0 = Not inverted. Counter[x] counts when the input is high (default). 1 = Inverted. Counter[x] counts when the input is low. |
InvertReset | BOOL | Decimal | Invert Reset Count Function—When set, inverts the hardware input defined in the Counter[x].ResetTieToPt tag, so that Counter[x] resets only when the input transitions low. 0 = Not inverted. Counter[x] resets when the input transitions high (default). 1 = Inverted. Counter[x] resets when the input transitions low. |
InvertPreset | BOOL | Decimal | Invert Preset Count Function—When set, inverts the hardware input defined in the Counter[x].PresetTieToPt tag, so that Counter[x] is preset only when the input transitions low. 0 = Not inverted. Counter[x] sets the count to the value stored in the Counter[x].Preset output tag when the input transitions high. 1 = Inverted. Counter[x] sets the count to the value stored in the Counter[x].Preset output tag when the input transitions low. |
FilterEn | BOOL | Decimal | Filter—(Counters 0…7 only). Enables filtering on the counter. When filtering is enabled, transitions at a counter must remain in the new state for a configured length of time before the device recognizes the transition. The filter time is defined in the CounterFilterOffOn and CounterFilterOnOff tags. 0 = Disable 1 = Enable |
UpDownTieToPt | SINT | Decimal | Tie Up/Down Function to a Counter—Defines which standard hardware input (0…7), if any, will control up and down counting for Counter[x]. Counter[x] counts up when the designated standard hardware input is low and counts down when the designated standard hardware input is high. If disabled, the Counter[x].CountDown output tag determines the count direction. 0…7 = The standard hardware input number to perform the Up/Down control function for Counter[x]. -1 = Disabled. The Counter[x].CountDown output tag determines the count direction. |
CountEnTieToPt | SINT | Decimal | Tie Count Enable Function to a Counter—Defines which standard hardware input (0…7), if any, will control when Counter[x] starts and stops counting. Counter[x] starts counting when the designated standard hardware input is high and stops counting when the designated standard hardware input is low. Both the Counter[x].CountEnTieToPt configuration tag and the Counter[x].DisableCount output tag can inhibit counting. 0…7 = The standard hardware input number to perform the Count Enable control function for Counter[x]. -1 = Disabled. Only the Counter[x].DisableCount output tag can disable counting. |
ResetTieToPt | SINT | Decimal | Tie Reset Count Function to a Counter—Defines which standard hardware input (0…7), if any, will control when Counter[x] resets the count to zero. Counter[x] will reset when the designated standard hardware input detects a rising pulse edge. 0…7 = The standard hardware input number to perform the Reset control function for Counter[x]. -1 = Disabled. Only the Counter[x].ResetCount output tag can reset the count. |
PresetTieToPt | SINT | Decimal | Tie Preset Count Function to a Counter—Defines which standard hardware input (0…7), if any, will control when Counter[x] sets the count to the preset value stored in the Counter[x].Preset output tag. Counter[x] sets the count to the preset value on a rising pulse edge. 0…7 = The standard hardware input number to perform the Preset control function for Counter[x]. -1 = Disabled. Only the Counter[x].PresetCount output tag can trigger a preset. |
FreqAveragePulseCount | INT | Decimal | Pulse Count for Average Frequency—Defines the number of pulses to use for calculating average frequency by using the formula (Number of Pulses defined Counter[x].FreqAveragePulseCount)/(Time required to count the number of pulses defined in Counter[x].FreqAveragePulseCount). Valid values = 0…1, 000 Default = 10 |
FreqTimeout | INT | Decimal | Frequency Timeout—Defines the maximum amount of time in milliseconds the counter waits before calculating frequency if the number of pulses specified in the Counter[x].FreqAveragePulseCount tag have not been received. Valid values = 0…10, 000 ms Default = 1,000 ms |
Device-defined data type: AB:1756_LSC8XIB8I:I:0
Comm Format: Input Data
Member Name | Type | Default Display Style | Description |
---|---|---|---|
Fault | DINT | Binary | Fault—Indicates whether a fault has occurred. The controller sets all 32 bits upon a connection loss. |
AB:1756_LSC8XIB8I_SmallStruct:I:0 | Pt[x] | ||
AB:1756_LSC8XIB8I_Struct:I:0 | Counter[x] |
Device-defined data type: AB:1756_LSC8XIB8I_SmallStruct:I:0
Member Name | Type | Default Display Style | Description |
---|---|---|---|
Data | BOOL | Decimal | Data—Indicates the current On/Off value of the corresponding hardware input. 0 = Off 1 = On |
Device-defined data type: AB:1756_LSC8XIB8I_Struct:I:0
Member Name | Type | Default Display Style | Description |
---|---|---|---|
Count | DINT | Decimal | Accumulated Count—Indicates the accumulated count value currently detected by Counter[x]. Valid values are 0...231 |
Frequency | REAL | Float | Instantaneous Frequency—Indicates the frequency of the last pulse detected by a counter. The device calculates frequency from rising to edge to rising edge of the last two pulses. Valid values are ≥ 0.0 |
FreqAverage | REAL | Float | Average Frequency—Indicates the average frequency of pulses detected by Counter[x]. The device calculates average frequency over the number of pulses specified in the Counter[x].FreqAveragePulseCount configuration tag. For example, if the value in Counter[x].FreqAveragePulseCount is 10, average frequency is calculated as follows:
Valid values are ≥ 0.0 |
PulseWidth | REAL | Float | Pulse Width—Indicates the duration of the last On pulse in microseconds. Valid values are ≥ 0.0 |
PulseWidthAverage | REAL | Float | Average Pulse Width—Indicates the average width of pulses. The device calculates average pulse width over the same number of pulses used to calculate the average frequency of pulses. The number of pulses used to calculate average frequency and pulse width is stored in the Counter[x].FreqAveragePulseCount configuration tag. Valid values are ≥ 0.0 |
CountSequence | SINT | Decimal | Count Sequence—Stores a rolling sequence number for each new count. The value increments each time a new count is broadcast to the backplane. Valid values are -128…127 |
FrequencySequence | SINT | Decimal | Frequency Sequence—Stores a rolling sequence number for each new instantaneous frequency and each new average frequency. The value increments each time a new frequency is calculated. Valid values are -128…127 |
PulseWidthSequence | SINT | Decimal | Pulse Width Sequence—Stores a rolling sequence number for each new instantaneous pulse width and each new average pulse width. The value increments each time a new pulse width is calculated. Valid values are -128…127 |
Data | BOOL | Decimal | Data—Indicates the current On/Off value of the corresponding counter input. 0 = Off 1 = On |
InWindow0 | BOOL | Decimal | Window 0 Input—Indicates whether the accumulated count or frequency value of Counter[x] is within the parameters defined by the Counter[x].Window0On and Counter[x].Window0Off output tags. A change in window status triggers a Change of State (COS) message to be sent to the owner-controller or peer device. 0 = Counter[x] value is not within Window 0. 1 = Counter[x] value is within Window 0. |
InWindow1 | BOOL | Decimal | Window 1 Input—Indicates whether the accumulated count or frequency value of Counter[x] is within the parameters defined by the Counter[x].Window1On and Counter[x].Window1Off output tags. A change in window status triggers a Change of State (COS) message to be sent to the owner-controller or peer device. 0 = Counter[x] value is not within Window 1. 1 = Counter[x] value is within Window 1. |
Direction | BOOL | Decimal | Direction—Indicates the direction of the last count or instantaneous frequency. 0 = Direction of the last count was down, or the last instantaneous frequency was negative. 1 = Direction of the last count was up, or the last instantaneous frequency was positive. |
Device-defined data type: AB:1756_LSC8XIB8I:O:0
Comm Format: Output Data
Member Name | Type | Default Display Style | Description |
AB:1756_LSC8XIB8I_OutStruct:O:0 | Counter[x] |
Device-defined data type: AB:1756_LSC8XIB8I_OutStruct:O:0
Member Name | Type | Default Display Style | Description |
---|---|---|---|
DisableCount | BOOL | Decimal | Disable Count—When set, Counter[x] will not count. 0 = Counting occurs unless the Counter[x].CountEnTieToPt configuration tag prevents counting. 1 = Counting is disabled. |
ResetCount | BOOL | Decimal | Reset Count—Resets the count back to zero on a rising edge. The Counter[x].ResetTieToPt configuration tag can also trigger a count reset on a rising edge. 0 = Disabled 1 = Enabled |
PresetCount | BOOL | Decimal | Preset Count—Sets the count to the preset value stored in the Counter[x].Preset output tag on a rising edge. The Counter[x].PresetTieToPt configuration tag can also transition the count to the preset value on a rising edge. 0 = Disabled 1 = Enabled. The count transitions to the preset value on a rising edge. |
CountDown | BOOL | Decimal | Count Down—Controls the direction of a count if the Counter[x].UpDownTieToPt input tag is not enabled for the corresponding counter. 0 = The count direction is up (default). 1 = The count direction is down. |
Rollover | DINT | Decimal | Rollover—Defines how many counts accumulate before the count rolls back to zero. The count rolls back to zero on the rollover value. The default rollover value is a maximum count of 2 31 . |
Preset | DINT | Decimal | Preset—Defines the starting value for a count. The preset value must be less than the rollover value. If the preset value is greater than or equal to the rollover value, the default preset value is used. The default preset value is zero. |
Window0On | DINT | Decimal | Window 0 On—Defines the count or frequency value that results in an On status for window 0. The status for window 0 is stored in the Counter[x].InWindow0 input tag. This tag is used in conjunction with the Counter[x].Window0Off tag to create an On/off window. If the values in the Counter[x].Window0On and Counter[x].Window0Off tags are the same, the window is disabled. |
Window0Off | DINT | Decimal | Window 0 Off—Defines the count or frequency value that results in an Off status for window 0. The status for window 0 is stored in the Counter[x].InWindow0 input tag. This tag is used in conjunction with the Counter[x].Window0On tag to create an On/off window. If the values in the Counter[x].Window0On and Counter[x].Window0Off tags are the same, the window is disabled. |
Window1On | DINT | Decimal | Window 1 On—Defines the count or frequency value that results in an On status for window 1. The status for window 1 is stored in the Counter[x].InWindow1 input tag. This tag is used in conjunction with the Counter[x].Window1Off tag to create an On/off window. If the values in the Counter[x].Window1On and Counter[x].Window1Off tags are the same, the window is disabled. |
Window1Off | DINT | Decimal | Window 1 Off—Defines the count or frequency value that results in an Off status for window 1. The status for window 1 is stored in the Counter[x].InWindow1 input tag. This tag is used in conjunction with the Counter[x].Window1On tag to create On/off window. If the values in the Counter[x].Window1On and Counter[x].Window1Off tags are the same, the window is disabled. |
Provide Feedback