Technical Data - V5

Description

The PROFINET IO Device stack V5 has implemented the required state machines and services to build a PROFINET IO Device. It can be used to build a complete PROFINET IO Device which requires a correctly behaving application.
The stack on its own just provides services that neet to be handled correctly by an application for certification and correct behaviour in the field, e. g. remanent storing of NameOfStation.

Configuration

The stack offers a mailbox interface for configuration. A basic configuration has to be set using a Set Configuration packet first. Afterwards at runtime it is possible to change the submodule configuration by using services to plug or pull submodules.
During connection establishment to an IO Controller the stack compares its current submodule configuration to the expected one of the IO Controller. Differences are indicated to a registered application so that the application is able to adjust the stacks submodule configuration, if the application model allows such a handling.

Cyclic data and I/O state

The stack offers an interface to access the cyclic data as well as a packet based interface for configuration, acyclic services and diagnostic.
The cyclic data is available in the dual-port memory which can be accessed by a host application.

The stack supports different ways of handling the submodul related IO status bytes IOPS (Input Output Object Provider State) and IOCS (Input Output Object Consumer State). Either they are completely handled by the stack or handled by the application. In case the stack handles these IO status bytes they are always set to "good".
This IOxS is part of the cyclic data and not set/get by packets but by the mechanisms for cyclic data.

Acyclic services

Acyclic services requested by an IO Controller with a Read Record or Write Record are indicated to a registered application via the mailbox interface. If no application is registered at the stack all acyclic requests for none-standardized datasets will be responded with an error by the stack automatically.
The stack offers automatic handling of I&M functionality (read and write). However it is possible for application to disable this automatic handling and handle I&M on its own if required.

Alarms and diagnosis

The stack offers a mailbox interface for the application to generate alarms and add diagnosis entries to the stack.

Key Features

  • Cyclic communication
  • Acyclic communication
  • Shared Device
  • Fast Startup
  • Runtime adjustment of submodule configuration
  • IRT (for most firmwares)

Detailed technical data

Notes

For a detailed listing of the technical data, please refer to the data sheet of the individual firmware. You can find them in the "Resources" section on the specific firmware version page. Firmware data sheets are available for version V5.5.0.0 and higher.

The technical data of the individual available firmwares differ slightly. Therefore, the below table only provides a rough overview of the supported features and/or quantity structures.

The following technical data applies to the latest available Release version. Technical data of older Release versions may be different.


Protocol Technical Data

FeatureDescription
Maximum number of total cyclic input data1440 bytes (including IOPS and IOCS)
Maximum number of total cyclic output data1440 bytes (including IOPS and IOCS)

Maximum number of submodules

(firmware dependent)

Up to 256 submodules

Multiple Application Relations (AR)

(firmware dependent)

Up to 4 IO-ARs and 1 Supervisor-DA AR
Acyclic communicationRead/Write Record
Alarm TypesProcess Alarm, Diagnostic Alarm, Return Of Submodule Alarm, Plug Alarm (implicit), Pull Alarm (implicit), Update Alarm, Status Alarm, Upload and Retrieval Notification Alarm

Diagnosis Entries

(firmware dependent)

Up to 256 application diagnosis records of type Channel or Extended Channel Diagnosis
Identification & Maintenance

I&M0 Read: Either built in for Slot 0 / Subslot 1 or pass through to application for any submodule.

I&M1-5 Read/Write: Either built in for Slot 0 / Subslot 1 or pass through to application for any submodule. I&M4 and I&M5 are disabled by default.

Topology recognitionLLDP, SNMP V1, MIB2, physical device

Minimum cycle time

(firmware dependent)

RT_CLASS_1: 1 ms (min. SendClockFactor 32)

Use case A firmware:
RT_CLASS_3: 250 µs (min. SendClockFactor 8)

Use case C firmware:
RT_CLASS_3: 1 ms (min. SendClockFactor 32)


Note: The network cycle time of 250 µs can be used with asynchroneous applications only, which do not update the dual-port memory on every network cycle.

(Isochroneous) applications are not supported for 250 µs network cycle time, only for 500 µs, 1 ms, 2 ms and 4 ms.

Media redundancyMRP client
Additional supported features

Shared Device

Fast Startup

Asset management

PROFIenergy ASE

Baud rate100 MBit/s
Data transport layerEthernet II, IEEE 802.3
Profinet IO specification

V2.3 (advanced startup) is implemented

V2.2 (legacy startup) is supported

Conformance Class

(firmware dependent)

C (default) or B

Singleport firmware: B only

Netload Class

(firmware dependent)

III

Singleport firmware: I

Application IP stack APIThe IP stack can be used by the application via Socket API Packets. Up to 8 sockets are available to the application
Application Raw Ethernet APISending and receiving raw ethernet frames as application is supported

Restrictions

  • RT over UDP not supported
  • Multicast communication not supported
  • Only one device instance is supported
  • DHCP is not supported
  • The amount of configured IO-data influences the minimum cycle time that can be reached.
  • Only 1 Input-CR and 1 Output-CR per AR are supported

  • The amount of usable submodules is reduced by 1 for each used different API (in case more than 2 APIs are used in parallel).

  • Little endian byte order for cyclic process data is not supported

  • System Redundancy (SR-AR) and Dynamic Reconfiguration (formerly known as Configuration-in-Run, CiR) are not supported. (*)

  • The usage of PROFINET CombinedObjectContainer
    • is not supported at all (for standard firmware)
    • is not supported for user application parameters (for SystemRedundancy enabled firmware) (*)

  • SharedInput is not supported
  • MRPD is not supported
  • DFP and other HighPerformance-profile related features are not supported

  • NXLOM is not available
  • The stack does not support usage of PDEV submodules (InterfaceSubmodule or PortSubmodule) outside of slot 0. In addition the InterfaceSubmodule is only supported in subslot 0x8000 and the PortSubmodules are only supported in subslots 0x8001 and 0x8002.
  • In case of using a firmware including the feature System Redundancy, the combination of the features “System Redundancy” and “Shared Device” is not supported. Recommendation: Set “NumberOfAdditional IO ARs” in tag list to 1.x

(*) A separate PROFINET IO-Device firmware is available that support the features System Redundancy and Dynamic Reconfiguration. To use the firmware requires a separate license agreement.

Firmware Functions

The real-time protocol stack is fully integrated into a netX firmware for specific use case in order to provide a common set of netX firmware functions accross different protocol variants:

Firmware VariantsUse Case AUse Case BUse Case C
Use Case summary

netX90 COM CPU firmware for small footprint, low cost and function optimized slave devices

  • no external SPI / SQI Flash required for COM CPU
  • no external SDRAM required for COM CPU

same as Use Case A, but netX90 APP CPU

  • uses external SPI Flash
  • may use external SDRAM

full featured firmware for highest function requirements

  • external SDRAM is required for COM CPU
  • external SPI Flash is required for COM CPU
netX support
  • netX90
  • netX90 with ext FLASH
  • netX90 with ext SDRAM and ext FLASH
FW structure
Host Interface

Dual Port Memory interface with following channels:

  • Channel 0 - Real-Time Ethernet Protocol API
    • exchange cyclic IO data
    • use acyclic protocol services
  • Channel 1 - Network Services
    • Socket API - Enables opening a communication socket using the integrated TCP/IP stack resources, i.e. same MAC address
    • Ethernet (NDIS) API - Enables sending and receiving Ethernet frames using a separate MAC address, i.e. application host with its own TCP/IP stack
    • Web API - Enables forwarding specific URL (HTTP GET/POST) requests to user applications, e.g. to build custom webpage contents
Diagnostic InterfacenetX Diagnostic and Remote Access is supported via COM UART
Integrated Flash File SystemN/AN/Apower-fail safe flash file system on external SPI flash
Remanent Data StoragePower-fail safe storage of up to 16KB of protocol remanent data in netX90 internal flash

Power-fail safe storage of protocol remanent data in dedicated partition in extenal SPI flash.

Size and position of remanent storage area shall be configured in FDL.

Device Datadevice production data (Serial number, MAC address, production data etc.) shall be stored in FDL in netX90 internal flash
Firmware Transfer
 to internal netX90 flash ...
  • via integrated web server
  • via Host Interface (DPM, SPM)

(warning) Note:

due to limited size (max. 380KB) of FW update area in internal flash, only following files can be transfered:

  • individual firmware files (i.e. comfw.nxi or appfw.nai) if the size of the a file is less that 380KB
  • max. 380KB big FWUPDATE.zip file with predefined structure
 to the host application...
  • via integrated webserver and Web API  (DPM Channel 1)
  • host application need to handle storage of the firmware in external SPI flash
to netX flash file system located on external SPI Flash
Firmware UpdateFirmware check and installation supported through calling the Maintenance Firmware
  • from internal netX90 flash
  • from external SPI flash
  • from Flash File System located on external SPI Flash
Configurationby sending configuration packets to the firmware via Host Interface
N/AN/Aor by using Communication Studio configuration database file from local flash file system
Integrated Basic Webserver

The basic web server has the following features:

  • \netx  - Provides a graphical user interface to other functions (diag, firmware, reset, etc.)      
  • \netx\diag  - Provides information on the netX device (current uptime, MAC address, device   number, serial number, etc.
  • \netx\firmware  - Enables uploading a new firmware update file to netX flash
  • \netx\reset  - Initiates a netX reset cycle, i.e. to install a newly uploaded firmware
  • \  - URL requests are forwarded to the user application via DPM (web interface API)
Webserver extensionN/AN/A

Basic web server is extended with functions that provide access to the content files on a local Flash file system (SQI Flash).

  • \netx\files  - Enables streaming of custom web content according to media types (i.e. txt, js, xhtml, jpeg, json, etc.) located in the Flash file system
Tag List Options

Firmware supports certain modification of the functionality via Tag List, in particular:

  • Webserver port number or deactivation
  • Activation of Ethernet Interface in DPM Channel1
  • Selection of target for remanent data storage (netX local or external host)
  • Profinet protocol stack configuration parameters
HW Sync Signalsupported via netX signal XC_TRIGGER0/1
Protocol Specific LED Indicators

Network specific status indicators with COM0 / COM1 LEDs:

  • SF: System Failure
  • BF: Bus Failure
Secure Bootsupported by PROFINET IO-Device V5.5.0.0 and later, see Support of Secure Boot with netX90 for more details
Limitations
  • FW functions are limited by available internal RAM / Flash
  • COM firmware size is limited to max. 500KB
  • FW functions are limited by available internal RAM / Flash
  • COM firmware size is limited  to max. 880KB