Profinet IO

PROFINET is an open industrial Ethernet communication protocol proposed by the PROFIBUS & PROFINET International Association. PROFINET applies TCP/IP related standards and is a real-time industrial Ethernet. PROFINET has a modular structure, and users can choose cascading skills according to their needs.

The PROFINET IO system includes several parts: IO controller, IO device, and IO monitor. The IO controller is used to control the automation task; the IO device is generally a field device, controlled and monitored by the IO controller, and an IO device may include several modules and sub-modules; the IO monitor is a PC software that can set parameters and diagnose the status of individual modules.

TIP

Because the PROFINET IO real-time message uses the Ethernet protocol defined in PROFINET (real-time message is transmitted based on Ethernet frames), when using the PROFINET driver, you need to deploy Neuron directly with physical devices, and cannot use virtual deployment, such as Docker image or virtual machine.

Parameters

ParameterDescription
Device NameIO device name
Local InterfaceLocal interface name
Device IP AddressIO device IPv4 address
Device PortIO device port,default 34964
APIIO device module API
SlotIO device module slot
Sub SlotIO device module sub slot
IdentIO device module ident
Sub IdentIO device sub ident
PropertiesIO device properties
Input Data LengthIO device module input data length
Output Data LengthIO device module output data length

Data Types

  • INT8
  • UINT8
  • INT16
  • UINT16
  • INT32
  • UINT32
  • INT64
  • UINT64
  • FLOAT
  • DOUBLE
  • BIT

Address Format

SLOT:SUB_SLOT:INDEX[.BIT][#ENDIAN]

SLOT

Required, the slot number of the module inserted into the module.

SUB_SLOT

Required, the sub slot number of the module inserted into the module.

INDEX

Required, the data index in the module (which byte, starting from 0).

Examples

AddressData TypeDescription
3:1:0int16slot 3, subslot 1 module 0,1 bytes
3:1:1uint16slot 3,subslot 1 module 1,2 bytes
3:2:3uint32slot 3,subslot 2 module 3,4,5,6 bytes
3:2:10floatslot 3,subslot 2 module 10,11,12,13 bytes
3:2:2uint64slot 3,subslot 2 module 2,3,4,5,6,7,8,9 bytes
3:2:2doubleslot 3,subslot 2 module 2,3,4,5,6,7,8,9 bytes