OSS21C function module
You can activate a diagnostic alarm for the module via the parameterization. Diagnostics data for "incoming diagnostic alarm" is provided by the module when the diagnostic alarm is triggered. As soon as the reasons for the triggering of a diagnostic alarm are no longer present, you will automatically receive an "outgoing diagnostic alarm". The MF LED of the module lights up within this period ("Diagnostic alarm incoming" to "Diagnostic alarm outgoing").
Name | Number of bytes | Function | Default | DSDS = data set for access via CPU, PROFIBUS and PROFINET Access is via DS 01h. You can also access the first 4 bytes via DS 00h. | IXIX = Index for access via CANopen: Access is via IX 2F01h. You can also access the first 4 bytes via IX 2F00h. | SXSX = Subindex for access via EtherCAT® (access via index = 5005h). |
|---|---|---|---|---|---|---|
ERR_A | 1 | Diagnostics | 00h | 01h | 2F01h | 02h |
MODTYP | 1 | Module information | 18h | 03h | ||
ERR_C | 1 | Reserved | 00h | 04h | ||
ERR_D | 1 | Reserved | 00h | 05h | ||
CHTYP | 1 | Channel type | 72h | 06h | ||
NUMBIT | 1 | Number of diagnostic bits per channel | 08h | 07h | ||
NUMCH | 1 | Number of module channels | 01h | 08h | ||
CHERR | 1 | Channel error | 00h | 09h | ||
CH0ERR | 1 | Channel-specific error | 00h | 0Ah | ||
CH1ERR – CH7ERR | 7 | Reserved | 00h | 0Bh – 11h | ||
DIAG_US | 4 | µs ticker (32 bit) | 00h | 13h |
Diagnostics
Name | Number of bytes | Description |
|---|---|---|
ERR_A | 1 | Bit 0: Set in case of assembly fault Bit 1: Set in case of internal error Bit 2: Set in case of external error Bit 3: Set when channel errors present Bit 4 – 6: Reserved Bit 7: Set in case of invalid parameter setting |
Module information
Name | Number of bytes | Description |
|---|---|---|
MODTYPE | 1 | Bit 0 – 3: Module class (1100b: function module) Bit 4: Set when channel information present Bit 5 – 7: Reserved |
Channel type
Name | Number of bytes | Description |
|---|---|---|
CHTYP | 1 | Bit 0 – 6: Channel type (74h: analog input/output) Bit 7: 0 (fixed) |
Diagnostic bits
Name | Number of bytes | Description |
|---|---|---|
NUMBIT | 1 | Number of diagnostic bits of the module per channel (08h in this case) |
Channels
Name | Number of bytes | Description |
|---|---|---|
NUMCH | 1 | Number of channels of a module (in this case 01h) |
Channel error
Name | Number of bytes | Description |
|---|---|---|
CHERR | 1 | Bit 0: Set for error in output DO Bit 1 – 4: Reserved |
Channel-specific error
Name | Number of bytes | Description |
|---|---|---|
CH0ERR | 1 | Diagnostic alarm due to: Bit 0 – 2: Reserved Bit 3: Short circuit Bit 4 – 7: Reserved |
µs ticker
Name | Number of bytes | Description |
|---|---|---|
DIAG_US | 4 | Value of the µs ticker during generation of the diagnostics data |
Reserved
Name | Number of bytes | Description |
|---|---|---|
ERR_C ERR_D CH1ERR – CH7ERR | 7 | Reserved |