Overview
>
configuration
>
profinet
>
Diagnosis and Ident Number Reference
Diagnosis and Ident Number Reference
This chapter lists the numbers that the device reports or expects on the bus:
the values of a diagnosis alarm, the error codes and their meaning, and the
identification numbers (ident numbers) of all modules and submodules.
Use this chapter to look up the meaning of an alarm or error code in the PLC, or
to find the ident number of a module or submodule, for example when you compare
the expected and the actual configuration.
Note
All numbers are given in hexadecimal notation (0x…).
Diagnosis Alarm
The diagnosis alarm that the module generates in the event of an error is
usually read out from the PLC and processed. It is also possible for the
diagnosis to be read out and evaluated from the module using function modules.
IO-Link events are mapped to PROFINET diagnosis as follows:
An IO-Link event of type Error is reported as diagnosis with the priority
Fault.
An IO-Link event of type Warning is reported as diagnosis with the priority
Maintenance demanded.
An IO-Link event of type Notification (single shot) is not a diagnosis. It
is reported as a process alarm (see Process Alarms).
A disappearing event removes the diagnosis again and generates the alarm type
Diagnosis disappears.
Alarm Values
The following table lists the values that the fields of a diagnosis alarm can
have.
Values of the diagnosis alarm
Field
Value
Meaning
AlarmType
0x0001
0x0002
0x0003
0x0004
0x000C
Diagnosis
Process alarm (see Process Alarms)
Pull (see Enable Pull/Plug below)
Plug (see Enable Pull/Plug below)
Diagnosis disappears
API
0x00004E01
Administrative number. The API is the same for all modules and submodules.
Port 1 to port 8 of the port module. With the Safety Hub module, the port
subslots are 0x0002, 0x0004, … 0x0010 (see
Subslots of Slot 1). The subslots of all slots are
listed in Slots and Subslots.
Subtype of the error. For IO-Link events it is the IO-Link EventCode, see
Error Codes. The field is only available with
the User Structure Identifier 0x8002.
ExtChannelAddValue
0x00000000
Not used.
The alarm types Pull and Plug are used if the port parameter Enable
Pull/Plug is active (see
Parameters).
Process Alarms
IO-Link events of type Notification are not reported as diagnosis. If the
port parameter Enable process alarms is active (see
Parameters), the device
reports them as a process alarm (AlarmType 0x0002) instead.
The reason of the process alarm is coded like the error code of a diagnosis:
the reason is 0x9500 or 0x9501 and the extended reason contains the IO-Link
EventCode as described in IO-Link Device Events.
Error Codes
The error code of a diagnosis alarm consists of the ChannelErrorType and, for
IO-Link events, the ExtChannelErrorType. The following table gives an overview
of the ChannelErrorType values of the device.
The BNI XG1 reports only the error types 0x0104 to 0x0107 and 0x9500 to 0x9502.
The Safety Hub error types apply to the BNI XG3 and BNI XG5.
Module-Related Errors
If User Structure Identifier has the value 0x8000, the module-related errors
are displayed in the ChannelErrorType:
Module-related errors
ChannelErrorType
Meaning
0x0002
Undervoltage
0x0003
Overvoltage
0x0104
No actuator supply
0x0105
Undervoltage of the actuator supply
0x0106
Overvoltage of the actuator supply
0x0107
An IO-Link device is already plugged in slot 1 in the same subslot, the
submodule is not used
Safety Hub Errors
The error types of the Safety Hub are available for the BNI XG3 and BNI XG5.
They are reported for a connected Safety Hub (BNI IOF-329-P02-Z038 or
BNI IOF-329-P02-Z092), see Integrating Safety-Hub.
F-Parameter Errors
Safety Hub F-parameter errors
ChannelErrorType
Meaning
0x0040
Mismatch of safety destination address (F_Dest_Add)
0x0041
Safety destination address not valid (F_Dest_Add)
0x0042
Safety source address not valid
0x0043
Safety watchdog time value is 0 ms
0x0044
Parameter F_SIL exceeds SIL from specific device application
0x0045
Parameter F_CRC_Length does not match the generated values
0x0046
Version of F-Parameter set incorrect
0x0047
CRC1-Fault
0x004B
Inconsistent iParameters (iParCRC error)
Input Errors
The ports are numbered as in the error text, starting with port 0. Safe inputs
are available at the ports 0 to 3, 6 and 7.
Safety Hub input errors
Port
Discrepancy error
Short circuit to P, Safe_Input1
Short circuit to M, Safe_Input1
Short circuit to P, Safe_Input2
Short circuit to M, Safe_Input2
0
0x1000
0x1008
0x1010
0x1018
0x1020
1
0x1001
0x1009
0x1011
0x1019
0x1021
2
0x1002
0x100A
0x1012
0x101A
0x1022
3
0x1003
0x100B
0x1013
0x101B
0x1023
6
0x1006
0x100E
0x1016
0x101E
0x1026
7
0x1007
0x100F
0x1017
0x101F
0x1027
Output Errors
Safe outputs are available at the ports 4 and 5.
Safety Hub output errors
Port
Short circuit to P, Safe_Output
Short circuit to M, Safe_Output
4
0x102C
0x1034
5
0x102D
0x1035
IO-Link Device Events
The IO-Link events of a connected IO-Link device are mapped to the
ChannelErrorType 0x9500 and 0x9501. The ExtChannelErrorType depends on the
IO-Link EventCode:
0x9500: IO-Link EventCodes 0x0000 to 0x7FFF are transferred unchanged to the
ExtChannelErrorType.
0x9501: IO-Link EventCodes 0x8000 to 0xFFFF are transferred to the
ExtChannelErrorType with the most significant bit set to 0. For example, the
EventCode 0x8C00 is reported as ExtChannelErrorType 0x0C00.
The EventCodes are defined by the IO-Link device. For the meaning of
vendor-specific EventCodes, refer to the documentation of the IO-Link device.
IO-Link device events in the lower range (ChannelErrorType 0x9500)
ExtChannelErrorType (EventCode)
Error text
Help text
0x1000
General malfunction
unknown error
0x1800 – 0x180A
IO_Link EventCode 0x1800 – 0x180A
check IO-Link device manual
0x4000
Temperature fault
Overload
0x4210
Device temperature over-run
Clear source of heat
0x4220
Device temperature under-run
Insulate Device
0x5000
Device hardware fault
Device exchange
0x5010
Component malfunction
Repair or exchange
0x5011
Non volatile memory loss
Check batteries
0x5012
Batteries low
Exchange batteries
0x5100
General power supply fault
Check availability
0x5101
Fuse blown/open
Exchange fuse
0x5110
Primary supply voltage over-run
Check tolerance
0x5111
Primary supply voltage under-run
Check tolerance
0x5112
Secondary supply voltage fault (Port Class B)
Check tolerance
0x6000
Device software fault
Check firmware revision
0x6320
Parameter error
Check data sheet and values
0x6321
Parameter missing
Check data sheet
0x6350
Parameter changed
Check configuration
0x7700
Wire break of a subordinate device
Check installation
0x7701 – 0x770F
Wire break of subordinate device 1 – 15
Check installation
0x7710
Short circuit
Check installation
0x7711
Ground fault
Check installation
In the range 0x7701 to 0x770F, the number of the subordinate device is the
ExtChannelErrorType minus 0x7700.
IO-Link device events in the upper range (ChannelErrorType 0x9501)
ExtChannelErrorType
IO-Link EventCode
Error text
Help text
0x0C00
0x8C00
Technology specific application fault
Reset Device
0x0C01
0x8C01
Simulation active
Check operational mode
0x0C10
0x8C10
Process variable range over-run
Process Data uncertain
0x0C20
0x8C20
Measurement range over-run
Check application
0x0C30
0x8C30
Process variable range under-run
Process Data uncertain
0x0C40
0x8C40
Maintenance required - Cleaning
Clean device
0x0C41
0x8C41
Maintenance required - Refill
Refill device
0x0C42
0x8C42
Maintenance required - Wear and tear
Exchange wear and tear parts
IO-Link Port Events
The events of the IO-Link port of the network module are mapped to the
ChannelErrorType 0x9502. The ExtChannelErrorType is the IO-Link event code of
the port (see the table below).
IO-Link port events (ChannelErrorType 0x9502)
ExtChannelErrorType (EventCode)
Error text
Help text
0x17FF
Process data mismatch
check submodule configuration
0x1800
No Device
–
0x1801
Startup parametrization error
check parameter
0x1802
Incorrect vendor ID
Inspection Level mismatch
0x1803
Incorrect device ID
Inspection Level mismatch
0x1804
Short circuit at C/Q
check wire connection
0x1805
IO-Link PHY over temperature
–
0x1806
Short circuit at L+
check wire connection
0x1807
Undervoltage at L+
check power supply (e.g. L1+)
0x1808
Device event overflow
–
0x1809
Backup inconsistency
memory out of range (2k)
0x180A
Backup inconsistency
Data storage index not available
0x180B
Backup inconsistency
Data Storage unspecific error
0x180C
Backup inconsistency
upload fault
0x180D
Backup inconsistency
download fault
0x180E
P24 (Class B) missing or undervoltage
check wire connection (e.g. L2+)
0x180F
Short circuit at P24 (Class B)
check wire connection (e.g. L2+)
0x1810
Short circuit at I/Q
check wire connection
0x1811
Short circuit at C/Q (if digital output)
check wire connection
0x1812
Overcurrent at I/Q
check load
0x1813
Overcurrent at C/Q (if digital output)
check load
0x1883
S7-PCT configuration error (wrong or not consistent parameterization)
Check parameterization
0x1888
Module defect
exchange module
0x6000
Invalid cycle time
check cycle time
0x6001
Revision fault
incompatible protocol version
0x6002
ISDU batch failed
parameter inconsistency
For example, the combination of the ChannelErrorType 0x9502 and the
ExtChannelErrorType 0x1804 in an alarm of the subslot 0x0004 means: short
circuit at C/Q at port 3 (X03).
Ident Numbers
PROFINET identifies the device and each of its modules and submodules by ident
numbers. The PLC compares them with the configured project, and the device
reports them in every alarm (see Alarm Values).
Device Identification
The device is identified by the VendorID and the DeviceID. The head module
(DAP) of each product has its own ModuleIdentNumber.
Device identification
Product
Order code
VendorID
DeviceID
DAP ModuleIdentNumber
BNI XG1-505-0A5-R067
BNI00L1
0x0378
0x5500
0x00000001
BNI XG3-508-0B5-R067
BNI00L3
0x0378
0x5510
0x00000001
BNI XG3-302-1B5-Z067
BNI00L8
0x0378
0x5510
0x00000002
BNI XG3-302-0B5-R067
BNI00L7
0x0378
0x5510
0x00000003
BNI XG5-538-1B5-Z067
BNI00K7
0x0378
0x5530
0x00000001
BNI XG5-508-1B5-Z067
BNI00K6
0x0378
0x5530
0x00000002
BNI XG5-538-0B5-R067
BNI00KJ
0x0378
0x5530
0x00000003
BNI XG5-508-0B5-R067
BNI00KH
0x0378
0x5530
0x00000004
BNI XG5-508-0B5-P067
BNI00L9
0x0378
0x5530
0x00000005
BNI XG5-508-1B5-Z067-C17
BNI00ML
0x0378
0x5530
0x00000006
The tables in the following sections show the availability for these
product groups:
XG1: BNI XG1-505-0A5-R067
XG3-508: BNI XG3-508-0B5-R067
XG3-302: BNI XG3-302-0B5-R067 and BNI XG3-302-1B5-Z067 (I/O ports
without IO-Link)
XG5-508: BNI XG5-508-0B5-R067, BNI XG5-508-0B5-P067, BNI XG5-508-1B5-Z067
and BNI XG5-508-1B5-Z067-C17 (IO-Link Class A ports)
XG5-538: BNI XG5-538-0B5-R067 and BNI XG5-538-1B5-Z067 (IO-Link Class A
and Class B ports)
Slots and Subslots
The device model of the device uses four slots. The slot and the subslot in
an alarm locate the source of the alarm. For the structure of the device
model, see Device Model.
Slots
Slot
Content
0
Head module (BNI device), PROFINET interface and Ethernet ports
1
Port modules (IO-Link I/O Ports or I/O Ports)
2
Extended Modules
3
ISDU Parameter Configuration
Subslots of Slot 0
Subslots of slot 0
Subslot
Description
0x0001
Head module (BNI device)
0x8000
PN-IO (PROFINET interface, X1)
0x8001
Port XF1 (X1 P1)
0x8002
Port XF2 (X1 P2)
Subslots of Slot 1
Subslot 0x0001 is the IO-Link Proxy (BALLUFF 8 Port IO-Link Master) and
represents the network module itself. For each port, one subslot is available,
starting at subslot 0x0002.
With the module IO-Link I/O Ports (w/o IO) with Safety Hub and ISDU, each port
has two subslots, because a Safety Hub device uses one submodule for the secure
and one for the standard communication. The port subslots are the even numbers,
the following odd numbers are the Safety Hub subslots (X01.1 to X08.1).
Subslots of slot 1
Port
Subslot
Subslot with Safety Hub module: Port
Subslot with Safety Hub module: Safety Hub
IO-Link Proxy
0x0001
0x0001
–
Port 1 (X01)
0x0002
0x0002
0x0003
Port 2 (X02)
0x0003
0x0004
0x0005
Port 3 (X03)
0x0004
0x0006
0x0007
Port 4 (X04)
0x0005
0x0008
0x0009
Port 5 (X05)
0x0006
0x000A
0x000B
Port 6 (X06)
0x0007
0x000C
0x000D
Port 7 (X07)
0x0008
0x000E
0x000F
Port 8 (X08)
0x0009
0x0010
0x0011
Subslots of Slot 2
The extended modules use one subslot per submodule (Balluff Ext_Sub_Mod 1 to
Balluff Ext_Sub_Mod n), starting at subslot 0x0001. The number of subslots
depends on the product:
XG1, XG3-508, XG5-508: 16 subslots (0x0001 to 0x0010)
XG3-302: 13 subslots (0x0001 to 0x000D)
XG5-538: 17 subslots (0x0001 to 0x0011)
Subslots of Slot 3
The ISDU parameter configuration uses one subslot per port: subslot 0x0001 to
0x0008 for the ports X01 to X08. Slot 3 is not available for XG3-302.
Module Ident Numbers
The ModuleIdentNumber is part of every diagnosis alarm and identifies the module
in the slot. The Class A/B variants of the XG5-538 have their own module ident
numbers.
Module ident numbers
Slot
ModuleIdentNumber
Module
XG1
XG3-508
XG3-302
XG5-508
XG5-538
1
0x00004E01
IO-Link I/O Ports
1
0x00004E04
IO-Link I/O Ports (w/o IO)
1
0x0000005E
IO-Link I/O Ports (w/o IO) with Safety Hub and ISDU
1
0x00004E05
I/O Ports
1
0x00004E06
I/O Ports (w/o IO)
1
0x00005E01
IO-Link I/O Ports (Class A/B)
1
0x00005E04
IO-Link I/O Ports (w/o IO) (Class A/B)
1
0x0000505E
IO-Link I/O Ports (w/o IO) with Safety Hub and ISDU (Class A/B)
2
0x00004E03
Extended Modules
2
0x00004E07
Extended Modules
2
0x00004E09
Extended Modules
3
0x00004E02
ISDU Parameter Configuration
Submodule Ident Numbers
The SubmoduleIdentNumber is part of every diagnosis alarm and identifies the
submodule in the subslot. The tables are sorted by the slot and the function of
the submodule.
Slot 0
Submodule ident numbers of slot 0
SubmoduleIdentNumber
Subslot
Submodule
0x00000001
0x0001
Head module (BNI device)
0x00000002
0x8000
PN-IO (PROFINET interface)
0x00000003
0x8001
Port XF1
0x00000004
0x8002
Port XF2
Slot 1: Port Modules
IO-Link Proxy
The IO-Link Proxy is the fixed submodule in subslot 0x0001 of the port module.
Submodule ident numbers of the IO-Link Proxy
SubmoduleIdentNumber
Submodule
Port module
0xFFFF0000
BALLUFF 8 Port IO-Link Master
IO-Link I/O Ports
0xFFFF0004
BALLUFF 8 Port IO-Link Master
IO-Link I/O Ports (w/o IO)
0xFFFFAAAA
BALLUFF 8 Port IO-Link Master
IO-Link I/O Ports (w/o IO) with Safety Hub and ISDU
0xFFFFAAAB
BALLUFF 8 Port IO Master
I/O Ports (XG3-302)
0xFFFFAAAC
BALLUFF 8 Port IO Master
I/O Ports (w/o IO) (XG3-302)
Digital Input and Output
See Port Modules for the description of the
submodules. The submodules w/o IO belong to the port modules w/o IO.
Submodule ident numbers of the digital submodules
SubmoduleIdentNumber
Submodule
Input bytes
Output bytes
0x00000081
Digital Input
1
0
0x00008100
Digital Output
0
1
0x00000082
Digital Input with IO-Link Parametrization
1
0
0x00004002
Digital Input w/o IO
0
0
0x00004001
Digital Output w/o IO
0
0
0x00004003
Digital Input with IO-Link Parametrization w/o IO
0
0
0x4FFF0000
Port deactivated
0
0
0x4FFFAAAA
Port deactivated (XG3-302)
0
0
The submodule Digital Input with IO-Link Parametrization is not available
for XG3-302.
BNI IOL-104-S02-XXXX extended with BNI IOL-104-S02-XXXX
8
0
0xFFFF0008
BNI IOL-104-S02-ZXXX extended with BNI IOL-751-VXX-K007
4
4
0xFFFF0009
BNI IOL-104-S02-RXXX extended with BNI IOL-751-VXX-K007
4
4
0xFFFF000A
BNI IOL-104-S0X-XXXX
4
0
0xFFFF000B
BNI IOL-252-000-XXXX
0
1
0xFFFF000C
BNI IOL-252-S01-XXXX
4
1
0xFFFF000D
BNI IOL-256-000-XXXX
0
2
0xFFFF000E
BNI IOL-256-S01-XXXX
7
2
0xFFFF000F
BNI IOL-302-00X-XXXX
2
2
0xFFFF0010
BNI IOL-302-002-X046
2
2
0xFFFF0011
BNI IOL-302-002-XXXX extended
4
4
0xFFFF0012
BNI IOL-302-002-X046 extended with BNI IOL-104-002-X046
4
2
0xFFFF0013
BNI IOL-302-S01-XXXX
8
2
0xFFFF0014
BNI IOL-302-S01-XXXX Input and output only
2
2
0xFFFF0015
BNI IOL-302-S01-XXXX Output only
0
2
0xFFFF0016
BNI IOL-302-S01-XXXX-C01
10
2
0xFFFF0017
BNI IOL-302-S02-XXXX
8
2
0xFFFF0018
BNI IOL-302-S02-X026
6
2
0xFFFF0019
BNI IOL-309-00X-XXXX
1
1
0xFFFF001A
BNI IOL-310-000-XXXX
2
2
0xFFFF001B
BNI IOL-355-S02-XXXX
3
1
0xFFFF001C
BNI IOL-719-002-XXXX
22
1
0xFFFF001D
BNI IOL-771-000-XXXX
2
2
0xFFFF001E
BNI IOL-772-000-XXXX
1
1
0xFFFF001F
BNI IOL-800-000-Z036
0
1
0xFFFF0020
BNI IOL-800-000-Z037
0
1
0xFFFF0021
BNI IOL-801-000-Z036
0
2
0xFFFF0022
BNI IOL-801-000-Z037
0
3
0xFFFF0023
BNI IOL-802-000-Z036
0
3
0xFFFF0024
BNI IOL-802-000-Z037
0
3
0xFFFF0025
BIS M-4XX-045
10
10
0xFFFF0026
BIS M-4XX-072
32
32
0xFFFF0027
BIS L-4XX-045
8
8
0xFFFF0028
BNI IOL-709-000-XXXX
10
0
0xFFFF0029
BNI IOL-710-000-XXXX
10
0
0xFFFF002A
BNI IOL-727-S51-XXXX
16
1
0xFFFF002B
BNI IOL-728-S51-XXXX
23
0
0xFFFF002C
BNI IOL-314-S52-P0xx
12
2
Safety Hub
See Integrating Safety-Hub for the description of the submodules.
The submodules are only available for the port module IO-Link I/O Ports (w/o
IO) with Safety Hub and ISDU. The secure I/O submodules are plugged in the
port subslots, the other submodules are plugged in the Safety Hub subslots (see
Subslots of Slot 1).
See ISDU Module for the description of the
submodules. The submodules are available for all products except XG3-302. They
have no input and no output data. The number in the name is the number of ISDU
parameter entries that the submodule provides.
Submodule ident numbers of the ISDU parameter configuration