Output Description¶
DONE
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| BOOL | - | TRUE / FALSE | - |
Output DONE indicates the state of execution.
It has the value TRUE when the execution is finished and the outputs are valid. When DONE becomes FALSE other outputs are not valid any more.
ERR
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| BOOL | - | TRUE / FALSE | - |
Output ERR indicates whether an error occurred during Function Block execution.
It is only valid when DONE is TRUE. The kind of occurred error is specified by the error identifier at output ERNO.
ERNO
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| WORD | - | 0 … 65535 | - |
At output ERNO the identifier of an occurred error is provided. It is only valid when DONE and ERR is TRUE (see, error messages): Error Messages of the Function Block Libraries
API
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| DWORD | - | - | - |
The output API provides the ALARM API of the current alarm.
DEV_SLOT
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| WORD | - | - | - |
The output DEV_SLOT provides the device slot which sent the alarm.
DEV_SUB_SLOT
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| WORD | - | - | - |
The output DEV_SUB_SLOT provides the device sub slot which sent the alarm.
DEV_MODULE
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| DWORD | - | - |
The output DEV_MODULE provides the ID of the module which sent the alarm.
DEV_SUB_MOD
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| DWORD | - | - | - |
The output DEV_SUB_MOD provides the ID of the sub module which sent the alarm.
PRIO
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| WORD | - | - | - |
The output PRIO provides the priority of the alarm sent by the device.
ALARM_TYPE
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| WORD | - | - | - |
The output ALARM_TYPE describes the kind of the reason for diagnosis message received. The ABB IO Devices CI501-PNIO and CI502-PNIO currently only deliver messages of the type (2): process.
| Value | Diagnosis type |
|---|---|
| 16#0000 | reserved |
| 16#0001 | Diagnosis appears |
| 16#0002 | Process |
| 16#0003 | Pull |
| 16#0004 | Plug |
| 16#0005 | Status |
| 16#0006 | Update |
| 16#0007 | Redundancy |
| 16#0008 | Controlled by supervisor |
| 16#0009 | Released |
| 16#000A | Plug wrong submodule |
| 16#000B | Return of submodule |
| 16#000C | Diagnosis disappears |
| 16#000D | Multicast communication mismatch |
| 16#000E | Port data change notification |
| 16#000F | Sync data change notification |
| 16#0010 | Isochronous mode notification |
| 16#0011 | Network component problem notification |
| 16#0012 | Time data changed notification |
| 16#0013 | Dynamic Frame Packing problem notification |
| 16#0014 | MRPD problem notification |
| 16#0015 | System Redundancy notification |
| 16#0016 | Multiple interface mismatch notification |
| 16#0017 - 16#001D | Reserved |
| 16#001E | Upload and retrieval notification |
| 16#001F | Pull mode |
| 16#0020 - 16#007F | Manufacturer specific |
| 16#0080 - 16#00FF | Reserved for profiles |
| 16#0100 - 16#FFFF | Reserved |
SPECIFIER
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| WORD | - | 0-15 | bit |
The bits of the diagnosis specifier describe the type and specification of the current diagnosis:
| Bit | Description |
|---|---|
| 0 … 10 | Sequence number |
| 11 | Channel diagnosis |
| 12 | Manufacturer specific diagnosis |
| 13 | Submodule diagnosis state |
| 14 | Reserved |
| 15 | AR diagnosis state |
The SPECIFIER can be displayed in plain text using the function PNIO_DEV_SPECIFIER PNIO_DEV_INFO.
SRUCT_ID
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| WORD | - | - | - |
The output STRUCT_ID provides the manufacture’s proprietary data structure ID.
DATA_LEN
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| WORD | - | - | - |
The output DATA_LEN provides the size of / numbers of bytes which were written to DATA.
NEW
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| BOOL | - | - | - |
Signals whether new valid diagnosis information is available. If DONE and NEW are TRUE, the outputs marked with an asterisk (*) are valid and the data transferred to DATA is up to date.
ACTIVE
| Data_Type | Default_Value | Range | Unit |
|---|---|---|---|
| BOOL | - | - | - |
The inquired device is currently active. This output does not depend on the NEW output.