Module Data Types 1797-IBN16

The table below lists and describes the module-defined data types for the 1797-IBN16 module. It includes information for input (as indicated by an "I") and configuration (as indicated by a "C").
Tip:
FLEX Ex I/O is based on 16-bit INTs and not 32-bit DINTs. Using 16-bit INTs in instructions that are optimized for 32-bit DINTs may decrease performance with certain instructions.
Module-defined Data Type: AB:1797_IBN16:I:0
Member Name
Type
Default
Display Style
Description
Fault
DINT
Binary
Fault - Used for Input Data Validation0 = Valid Data1 = Invalid Data - if the connection to the module has been lost, or if the module has a severe hardware fault, the lower 8 bits are set to 1.
Data
INT
Binary
Input Data - Input data for the module.
FaultOrCounter
INT
Binary
Depending on the value of FaultEnable, the module either returns input fault status data or the accumulated counts detected by input point 15.
Fault_0 through
Fault_15
BOOL
Decimal
Members that comprise the FaultOrCounter member above.
Module-defined Data Type: AB: 1797_IBN16:C:0
Member Name
Type
Default
Display Style
Description
Config
INT
Binary
Configuration data.
Filter_0
Filter_1
Filter_2
BOOL
Decimal
Input Points 0 – 11 (and internal module fault alarms for input points 0 – 15)
Specifies the filter applied to the input points 0-11 and to the fault alarms for input points 0-15. The fault alarms are on a per point basis and are in the input image for the module.
This filter cannot be disabled.
Filter_3
Filter_4
Filter_5
BOOL
Decimal
Input Points 12 – 15
Specifies the filter to be applied to the input points 12-15. This filter cannot be disabled, except for input point 15.
The Input Filter Time values for this module are shown below.
Tip:
The Input Filter Time also applies to the internal module fault alarms for input points 0-15. This filter cannot be disabled, except for input point 15.
(Points 15-12)
Filter_5, _4, _3
(Points 11-0)
Filter_2, _1, _0
Maximum Value
5
4
3
2
1
0
0
0
0
0
0
0
0.25ms
0
0
1
0
0
1
0.5ms
0
1
0
0
1
0
1ms
0
1
1
0
1
1
2ms
1
0
0
1
0
0
4ms
1
0
1
1
0
1
8ms
1
1
0
1
1
0
16ms
1
1
1
1
1
1
32ms
FaultEnable
BOOL
Decimal
Specifies whether the FaultOrCounter member in the AB:1797_IBN16:I:0 module-defined data type is used for Fault indications on a per channel basis, or to be used to display the count of Input Point 15 of the same data type.
Selecting ‘Counter’ chooses to use FaultOrCounter as a counter. In this mode, the pulses counted by input point 15 are reported in the FaultOrCounter member. Selecting Fault chooses to use FaultOrCounter as a fault indication for each channel on the module. In this mode, wire-off and wire-short faults are reported for each input point.
Regardless of the input mode chosen, the module always internally keeps track of alarms and input point 15 counts. The Input Mode selection chooses what is returned from the module to be displayed in the FaultOrCounter member.
Tip:
Fault mode may be selectively enabled or disabled in groups of 4 input points by hardware through a bank of switches on the IBN16.
Tip:
the intrinsically safe NAMUR inputs of the IBN16 require special NAMUR connections; if these connections are not made to the module, it will report wire-off and wire shorted input faults in Fault Mode.
ResetCounter
BOOL
Decimal
This check box is always enabled, since the counter may be reset in either Fault or Counter mode. When the check box is checked and the configuration is applied, the counter in the module is reset to zero. The counter will not count until the check box is unchecked and the configuration is again applied.
DisableFilter
BOOL
Decimal
Causes the counter input point 15 to be filtered with the same filter parameters chosen for the other inputs. The counter filter may need to be disabled to prevent the counter from missing high frequency pulses. This selection is available in Counter or Fault mode, since the counter filter can be enabled or disabled in either mode, and the counter counts in either mode.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.