- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
02-PROFINET configuration | 68.09 KB |
Contents
PROFINET communication framework
Software and feature compatibility
Enabling the logging feature for the PROFINET module
Displaying log information for all submodules of the PROFINET module
Configuring PROFINET
About PROFINET
PROFINET is a leading industrial Ethernet standard that uses TCP/IP and IT standards for automation control. PROFINET is especially useful for industrial automation systems and process control networks, where motion control and precision control instruments and testing equipment are very important. It emphasizes data exchange and defines communication paths to address speed requirements.
PROFINET communication can be extended at the following levels:
· Normal non-real-time communication uses TCP/IP and provides bus cycle times of approximately 100 milliseconds.
· Real-time communication achieves cycle times of approximately 10 milliseconds.
· Synchronized real-time communication achieves cycle times of approximately 1 millisecond.
PROFINET communication framework
PROFINET input/output (I/O) is a modular communication framework for distributed automation applications. It uses cyclic data transmission to exchange data, alarms, and diagnostic information with programmable controllers, I/O devices, and other automation controllers (such as motion controllers).
PROFINET I/O can identify the following devices:
· I/O devices
· I/O controllers
· I/O supervisors
PROFINET device roles
I/O controller
An I/O controller is a programmable logic controller (PLC) that controls I/O devices and exchanges data, such as configuration, alarms, and I/O data through automation programs. It exchanges diagnostic information with the I/O supervisor. The I/O controller shares configuration and I/O information with I/O devices, and receive alarms from them.
PROFINET is designed to be the primary or sole management platform. The I/O controller detects switches by using Discovery and Configuration Protocol (DCP), and sets device names and IP addresses, Therefore, basic settings do not require commands. For advanced configurations such as QoS and DHCP, you must configure the commands on the I/O device.
I/O supervisor
An I/O supervisor, such as a human-machine interface (HMI) or PC, is an engineering workstation for debugging, monitoring, and diagnostic analysis. The I/O supervisor exchanges diagnostic, status, control, and parameter information with I/O devices.
I/O device
An I/O device is a distributed I/O device, such as a sensor, actuator, or motion controller.
In the PROFINET I/O system, all I/O devices communicate over an Ethernet communication network to address the requirement for bus cycle times less than 100 milliseconds in the automation industry. The network uses switches and full-duplex data exchange to avoid data conflicts.
Software and feature compatibility
Only F6355P05 and later versions support PROFINET.
PROFINET tasks at a glance
To configure PROFINET, perform the following tasks:
1. Enabling the PROFINET feature.
2. (Optional.) Enabling the logging feature for the PROFINET module.
3. (Optional.) Displaying log information for all submodules of the PROFINET module.
Enabling the PROFINET feature
About this task
For the switch to act as a PROFINET I/O device in industrial networking scenarios, enable the PROFINET feature on the switch. With PROFINET enabled on the switch, PROFINET I/O controllers and supervisors (such as Siemens TIA or STEP7) can manage the switch.
Restrictions and guidelines
When the PROFINET feature is enabled, LLDP and SNMP are automatically enabled. If you disable the PROFINET feature, LLDP and SNMP cannot be disabled automatically. To disable LLDP and SNMP, you must execute the corresponding commands.
Procedure
1. Enter system view.
system-view
2. Enable the PROFINET feature.
profinet enable
By default, PROFINET is disabled.
Enabling the logging feature for the PROFINET module
About this task
In industrial networking scenarios, after you enable the PROFINET feature on the switch, you can perform this task for the system to log events of specific levels on specific submodules. The log file path is /var/log/profinet.log.
Restrictions and guidelines
Enable PROFINET before you can configure this feature.
To enable logging for different submodules or events at different levels, configure this feature multiple times by specifying different parameters.
The log levels are error-fatal, error, high-warning, warning, high-note, note, high-chat, and chat in descending order. If you specify the high-note level, the system outputs log messages at the high-note, note, high-chat, and chat levels.
Procedure
1. Enter system view.
system-view
2. Enter Probe view.
probe
3. Enable the logging feature for the PROFINET module.
profinet log enable sub-module { acp | all | appl | clrpc | cm | dcp | edds | gsy | iod | ldp | mrp | nare | oha | pndv | pnpb | pof | sock | tcip | tskmsg } level { all | chat | error | error-fatal | high-chat | high-warning | high-note | note | warning }
By default, the logging feature is enabled for the PROFINET module and the log level is error.
Displaying log information for all submodules of the PROFINET module
1. Enter system view.
system-view
2. Enter probe view.
probe
3. Display log information for all submodules of the PROFINET module.
display system internal profinet log