PROFINET - Sample Applications

Several sample applications are provided for port’s PROFINET protocol stack. They show how to set up and use the stack. The following examples can be found in the folder goal/appl/goal_pnio/

Application

Description

00_rp_cc

communication core application (for multicore targets only)

01_simple_io

Simple I/O data mirror example

02_io_demo

Maps the I/O data on the LEDs and buttons

03_record_write

Shows how to process a record write

05_ioxs_states

IOPS and IOCS handling

06_apdu_status

Like IOxS status but for APDU

07_alarm_button

Trigger an alarm with a button

08_dynamic_modules

Example for dynamic module handling

09_busy_records

Demo for postponing record handling

10_led_demo

DCP signal on LED demo

11_multiple_write

Process a multiple write request

12_diag_entry

Creates and removes a diagnosis entry

13_pnio_snmp

Simple I/O data mirror example incl. SNMP

14_info_set

Set the device information data

15_config_set

Set the PROFINET config data

16_device_name

Set device name in application

17_process_alert

Cyclically process alarm sending example

18_dyn_mod_postpone

ExpectedSubmoduleBlock post-poning example

19_subst_val

 

20_subst_mod

Substitute value module acceptance example

21_pnio_snmp_dm

Simple I/O data mirror example incl. SNMP and MCTC

22_process_alarm_buf

 

24_pnio_snmp_mrp

Simple I/O data mirror example incl. SNMP and MRP

25_dynamic_modules_dm

Equals 08_dynamic_modules but process data will be exchanged via DM instead of RPC

A more detailed description for each application can be get from Application description | Application description.

Configuring the sample application

Changing MAC Address

Setting the MAC address at the application is described here: GOAL media (goal_media) | Configure MAC address.

Changing IP Address

The IP address is managed by the PLC. With a DCP configuration tool like Industrial Communication Explorer , “Tia Portal” or “Primary Setup Tool” the IP address can be changed.