Module Data Types 1797-OB4D

The table below lists and describes the module-defined data types for the 1797-OB4D module. It includes information for input (as indicated by an "I"), output (as indicated by an "O"), 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_OB4D:I:0
Member Name
Type
Default
Display Style
Description
Fault
DINT
Binary
Fault - Used for Input Data Validation
0 = 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.
Alarms
INT
Binary
Alarms data.
Tip:
In order for any of the FaultAlarm or the OverloadAlarm members of this data type to function, the DetectAlarms member of the AB:1797_OB4D:O:0 Output data type must be set.
Ch0FaultAlarm
BOOL
Decimal
Fault Alarm for channel 0. This member is set to 1 if there is fault on channel 0. It indicates wire off or overload fault as specified by the Ch0OverloadAlarm member.
Ch1FaultAlarm
BOOL
Decimal
Fault Alarm for channel 1. This member is set to 1 if there is fault on channel 1. It indicates wire off or overload fault as specified by the Ch1OverloadAlarm member.
Ch2FaultAlarm
BOOL
Decimal
Fault Alarm for channel 2. This member is set to 1 if there is fault on channel 2. It indicates wire off or overload fault as specified by the Ch2OverloadAlarm member.
Ch3FaultAlarm
BOOL
Decimal
Fault Alarm for channel 3. This member is set to 1 if there is fault on channel 3. It indicates wire off or overload fault as specified by the Ch3OverloadAlarm member.
Ch0OverloadAlarm
BOOL
Decimal
OverloadAlarm for channel 0. This member is set to 1 if there is overload fault on channel 0. It works in conjunction with the Ch0FaultAlarm member.
Ch1OverloadAlarm
BOOL
Decimal
OverloadAlarm for channel 1. This member is set to 1 if there is overload fault on channel 1. It works in conjunction with the Ch1FaultAlarm member.
Ch2OverloadAlarm
BOOL
Decimal
OverloadAlarm for channel 2. This member is set to 1 if there is overload fault on channel 2. It works in conjunction with the Ch2FaultAlarm member.
Ch3OverloadAlarm
BOOL
Decimal
OverloadAlarm for channel 3. This member is set to 1 if there is overload fault on channel 3. It works in conjunction with the Ch3FaultAlarm member.
Module-defined Data Type: AB:1797_OB4D:O:0
Member Name
Type
Default
Display Style
Description
Data
INT
Binary
Output Data - Output data for the module.
Ch0Data
BOOL
Decimal
Shows the state of the output on channel 0. The output is on if this member is 1.
Tip:
The OutputEnable has to be set to 1 in order for this feature to work.
Ch1Data
BOOL
Decimal
Shows the state of the output on channel 1. The output is on if this member is 1.
Tip:
The OutputEnable has to be set to 1 in order for this feature to work.
Ch2Data
BOOL
Decimal
Shows the state of the output on channel 2. The output is on if this member is 1.
Tip:
The OutputEnable has to be set to 1 in order for this feature to work.
Ch3Data
BOOL
Decimal
Shows the state of the output on channel 3. The output is on if this member is 1.
Tip:
The OutputEnable has to be set to 1 in order for this feature to work.
Ch0FaultState
BOOL
Decimal
Defines the on-board Safe State for channel 0. The value of 0 indicates reset, 1 indicates hold last state.
Ch1FaultState
BOOL
Decimal
Defines the on-board Safe State for channel 1. The value of 0 indicates reset, 1 indicates hold last state.
Ch2FaultState
BOOL
Decimal
Defines the on-board Safe State for channel 2. The value of 0 indicates reset, 1 indicates hold last state.
Ch3FaultState
BOOL
Decimal
Defines the on-board Safe State value for channel 3. The value of 0 indicates reset, 1 indicates hold last state.
Ch0DetectAlarms
BOOL
Decimal
Defines whether faults are detected for channel 0. If this member is set to 1 FaultAlarm and OverloadAlarm members are set if fault conditions occur.
Important:
This member is not configurable through the Configuration Tab for this module. You must set this member either manually through the Data Monitor or programmatically.
Ch1DetectAlarms
BOOL
Decimal
Defines whether faults are detected for channel 1. If this member is set to 1 FaultAlarm and OverloadAlarm members are set if fault conditions occur.
Important:
This member is not configurable through the Configuration Tab for this module. You must set this member either manually through the Data Monitor or programmatically.
Ch2DetectAlarms
BOOL
Decimal
Defines whether faults are detected for channel 2. If this member is set to 1 FaultAlarm and OverloadAlarm members are set if fault conditions occur.
Important:
This member is not configurable through the Configuration Tab for this module. You must set this member either manually through the Data Monitor or programmatically.
Ch3DetectAlarms
BOOL
Decimal
Defines whether faults are detected for channel 3. If this member is set to 1 FaultAlarm and OverloadAlarm members are set if fault conditions occur.
Important:
This member is not configurable through the Configuration Tab for this module. You must set this member either manually through the Data Monitor or programmatically.
LatchAlarms
BOOL
Decimal
Defines whether FaultAlarm and OverloadAlarm members are cleared automatically when the fault conditions are cleared. If this member is set to 1 FaultAlarm and OverloadAlarm remain set (latch) even after fault conditions clear, until ResetAlarm is reinvoked.
Important:
This member is not configurable through the Configuration Tab for this module. You must set this member either manually through the Data Monitor or programmatically.
OutputEnable
BOOL
Decimal
Defines whether setting Data members result in enabling a module’s outputs. If this member is set to 0, the outputs are not enabled when setting the any of the Data members to 1. If this member is set to 1 the outputs are enabled.
Important:
This member is not configurable through the Configuration Tab for this module. You must set this member either manually through the Data Monitor or programmatically.
Module-defined Data Type: AB:1797_OB4D:C:0
 
Member Name
Type
Default
Display Style
Description
Config
INT
Binary
Holds configuration information for all channels.
AlarmFilter0
AlarmFilter1
AlarmFilter2
BOOL
Decimal
Specifies the filter time constant for Fault and Overload Alarms for all channels. Selecting Alarm Filter Time sets Signal Delay for the Fault and Overload filter by setting
AlarmFilter0-2
elements in the configuration tag according to the table below.
Alarm Filter Time and the resulting Signal Delay times millisecond (ms) values for this module are shown below.
AlarmFilter0, 1, 2
Alarm Filter Time
Signal Delay
2
1
0
0
0
0
0.25 ms
10.25 ms
1
0
0
0.5 ms
10.5 ms
0
1
0
1 ms
11 ms
1
1
0
2 ms
12 ms
0
0
1
4 ms
14 ms
1
0
1
8 ms
18 ms
0
1
1
16 ms
26 ms
1
1
1
32 ms
42 ms
ResetAlarms
BOOL
Decimal
When the checkbox is checked the ResetAlarms member is set to 1. When transitioning from 1 to 0 the alarms reported in the Input module-defined data type are reset (cleared). The alarms are reset even if the alarms are latched, as controlled by the LatchAlarms element in the Output module-defined data type. If the error condition exists when Reset Alarms is invoked the alarms in the Input module-defined data type are immediately set again.
SSData
INT
Binary
Defines the Ch0 through Ch3FaultState, values in the Output module-defined data type for the safe state values.
Tip:
Member SSData.15, as viewed in the Controller Tags window, has a default of 1. This allows application of the safe state mode entered. If this member is set to 0, the safe state is not applied. We recommend you keep this member set to 1 at all times if you wish to apply safe state values.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.