PROFINET - Error and Status Codes

The PNIOClosed "PROFINET Input / Output" status is a 32-bit unsigned value.

  • It is composed of 4 byte values which define the meaning of the status.
  • For positive responses, the PNIO status has a value of 0 (zero).

Error Codes and Meanings

PNIO Status Codes - Negative Responses

Bit

Meaning

0-7

Error Code 2

8-15

Error Code 1

16-23

Error Decode

24-31

Error Code

Error Code - Negative Responses

Error Code

Meaning

DB

Error in connect response

DC

Error in release response

DD

Error in control response

DF

Error in write response

Error Decode - Negative Responses

Error Decode

Meaning

80

Read/Write service

81

Connect, Control, Release service

Error Code 1 for Error Decode = 80

Error Code 1

Meaning

A1

Write error

A2

Module failure

A3-A6

Reserved

A7

Busy

A8

Version conflict

A9

Feature not supported

AA-AF

Device specific

B0

Invalid index

B1

Write length error

B2

Invalid slot/subslot

B3

Type conflict

B4

Invalid area/API

B5

State conflict

B6

Access denied

B7

Invalid range

B8

Invalid parameter

B9

Invalid type

BA

Backup

BB-BF

Device specific

C0

Read constrain conflict

C1

Write constrain conflict

C2

Resource busy

C3

Resource unavailable

C4-C7

Reserved

C8-CF

Device specific

Error Code 1 for Error Decode = 81

Error Code 1

Meaning

01

Connect Parameter Error, Faulty ARBlockReq

02

Connect Parameter Error, Faulty IOCRBlockReq

03

Connect Parameter Error, Faulty ExpectedSubmoduleBlockReq

04

Connect Parameter Error, Faulty AlarmCRBlockReq

05

Connect Parameter Error, Faulty PrmServerBlockReq

06

Connect Parameter Error, Faulty MCRBlockReq

07

Connect Parameter Error, Faulty ARRPCBlockReq

08

Read Write Record Parameter, Error Faulty Record

14

IODControl Parameter Error, Faulty ControlBlockConnect

15

IODControl Parameter Error, Faulty ControlBlockPlug

16

IOXControl Parameter Error , Faulty ControlBlock after a connection establishment

17

IOXControl Parameter Error, Faulty ControlBlock after a plug alarm

28

Release Parameter Error, Faulty ReleaseBlock

40

RMPM (Device state machines, device resources)

Error Code 2 for Error Code 1 = 40

Error Code 2

Meaning

00

ArgsLength invalid

01

Unknown Blocks

02

IOCR Missing

03

Wrong AlarmCRBlock count

04

Out of AR Resources

05

AR UUID unknown

06

State conflict

07

Out of Provider, Consumer, or Alarm Resources

08

Out of Memory

09-FF

Reserved

Error Code 2 for Error Code 1 <> 40

For Error Code 1 <> 40, Error Code 2 refers to a field in the block specified by Error Code 1.

Error Code 2

Meaning

00

Block type

01

Block length

02

Block version (high byte)

03

Block version (low byte)

Error Code 2 for Error Code 1 = 01

Error Code 2

Meaning

04

AR Type

05

AR UUID

06

Session key

07

Initiator MAC addressClosed A Media Access Control address (MAC address) is a quasi-unique identifier assigned to most network adapters or network interface cards (NICs) by the manufacturer for identification. If assigned by the manufacturer, a MAC address usually encodes the manufacturer's registered identification number

08

Initiator Object UUID

09

AR Properties

0A

Activity timeout factor

0B

UDPClosed "User Datagram Protocol" RT port

0C

Station name length

0D

Station name

Error Code 2 for Error Code 1 = 02

Error Code 2

Meaning

04

IOCR Type

05

Reference

06

LT

07

IOCR properties

08

IO data length

09

FrameClosed In networking dialect, a message is called a frame ID

0A

Send clock factor

0B

Reduction ratio

0C

Phase

0D

Sequence

0E

Frame send offset

0F

Watchdog factor

10

Data hold factor

11

Tag header

12

IOCR multicast MAC address

13

Number of APIs

14

API

15

Number of IO data objects

16

Slot

17

Subslot

18

IO data object offset

19

Number of IOCSClosed "Input/Output Consumer States" The consumer is the one who receives the data.

20

Slot

21

Subslot

22

IOCS offset

Error Code 2 for Error Code 1 = 03

Error Code 2

Meaning

04

Number of APIs

05

API

06

Slot

07

Module identification number

08

Module properties

09

Number of sub-modules

0A

Subslot

0B

Sub-module identification number

0C

Sub-module properties

0D

Data description

0E

Data length

0F

IOPSClosed "Input/Output Provider States" The provider is the device who sends the payload, regardless of their role (controller or device). length

10

IOCS length

Error Code 2 for Error Code 1 = 04

Error Code 2

Meaning

04

Type

05

LT

06

AlarmCR Properties

07

RTA timeout factor

08

RTA retries

09

Local alarm reference

0A

Maximum alarm data length

0B

Alarm CRT Tag high

0C

Alarm CRT Tag low

Error Code 2 for Error Code 1 = 8

Error Code 2

Meaning

04

Sequence number

05

AR UUID

06

API

07

Slot number

08

Subslot number

09

Padding

0A

Index

0B

Data length

0C

Target AR UUID

Error Code 2 for Error Code 1 = 16

Error Code 2

Meaning

05

Padding

06

Session key

07

Padding

08

Control block command

09

Control block properties