Output Description

../_images/d04cdc02e38ae2680a33139000eba54e

DONE

Data_Type Default_Value Range Unit
BOOL - - -

The output DONE signals the completion of the process triggered with the EN input. After finishing of the process or if an error did occur, DONE is TRUE for at least one PLC cycle.

The DONE output always has to by checked in conjunction with the ERR output. If ERR is TRUE, the output ERNO reflects the according error number. Otherwise the output parameter values are valid.

ERR

Data_Type Default_Value Range Unit
BOOL - - -

The output ERR signals any fault detected during the processing of the Function Block. This output always has to be checked in conjunction with the DONE output. If DONE is TRUE and ERR is TRUE, a processing fault was detected. The value of the ERNO output provides the according error number

ERNO

Data_Type Default_Value Range Unit
WORD - - -

Output ERNO provides an error identifier if an invalid value has been applied to an input or if an error occurred during block processing. ERNO always has to be considered together with the outputs DONE and ERR. The value output at ERNO is only valid if DONE is TRUE and ERR is TRUE. Encoding of the error messages output at ERNO is explained in a separate table Error Messages of the Function Block Libraries 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.