Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Disclaimer

This manual represents the current state of the product. Please check with port.de for the latest version as the document may have a newer version since errors may be corrected or changes for a newer version of the product may be incorporated. Port.de assumes no responsibility for errors in this document. Qualified feedback is appreciated at service@port.de.

...

www.port.de

www.port-automation.com

Changelog

Version

Changes

 

1.0

 

 

Initial release

 

1.1

 

 

Formatting

 

1.2

 

 

Removed ARIS board

Add warning regarding folder depth on older windows versions

Updated to current synergy development tools

 

Introduction

This document describes integration delivered example projects for irj45 using synergy target with development environment e2studio.

...

Special information to prevent malfunction of the software or that require special attention of the user.

Preparations

Hardware Requirements

Make sure following settings are set:

...

J7: Connect “RST” with “PD7”

Synergy Development Board S7-G2SK

...

Initial settings of the board are good for usage.

Connect both boards. Voltage supply is done through the shown USB connector on the development board, which also supports flashing and debugging of the synergy CPU.

Software Requirements

Development environment “Synergy”

The development of software for the AC requires an environment consisting of:

...

The Synergy Software Package inclusive an installation guide and a documentation is also available on the web-page of Renesas. Version 1.7.0 was used within the scope of this Quick Start Guide.

Delivery

The delivery consists of 2 files:

File

Content

"2015013__V1_1_7_0__20191205__Renesas_Synergy_CCM_ci73"

Goal Library and Headers

“iRJ45 Management Tool-201808221413-win32.win32.x86_64"

Management Tool

Management Tool

To use the PROFINET master functionality, WinPCap[1] needs to be installed.

Please unpack the delivery " iRJ45 Management Tool-*-win32.win32.x86_64.zip" to a local folder. The resulting folder contains the executable “mantool”, which can be started.

Prepare goal and project

Unpack the goal headers and library (2015013*.zip) to a local folder. This folder contains the goal library and the associated headers for synergy required to build an application for the irj45. Beside that example projects for e2studio are contained.

Import project

...

Use the import dialog of e2studio to import the project located in the unpacked project delivery into e2studio. Chose "Existing projects into workspace" when prompted for import type.

...

If the communication module was previously started up using another application, a manual reboot will be required of the module (reset button on the Arduino shield).

Management Tool

 

The Management Tool allows development related configuration and management of the irj45 application. This management is based on a UDP broadcast communication. Thus, it works independently from IP settings of the management PC and the irj45.

...

Panel

Function

Device Log

shows log messages of the running application from both communication controller (CC) and application controller (AC).

Network state

Shows link state of the available network interfaces of the RJ45

PNIO Master

Provides simple PNIO master functionality.

Config Manager

Provides access to the config manager variables of the irj45.

Firmware Update

Allows update of the firmware in the irj45.

Device Detection

At first a communication needs to establish with the irj45. Thus, connect the irj45 to the network. Between the management PC and the irj45 a network connection must be possible.

...

Please select the newly found irj45 for further steps.

Logging

With the selected irj45 and within the “Device Log” function panel, it now is possible to read the logging buffer using “Start reading log”. For the demo application, it shows both the log messages from the communication controller (irj45) and the application controller (Synergy Aris). Those can be distinguished by the “Source” column, which either shows “CC” ore “AC”. A successful started application reports a successful initialization of PROFINET:

...

[I| appl_setup:309] DD ready

Config Manager / IP Configuration

This panel provides access to the config manager variables of the irj45 (volatile and nonvolatile stored configuration variables).

...

Those locally modified variables are downloaded to the irj45 using the “Write configuration” button in the toolbar. When prompted if changed values shall be written, answer “Yes”. Afterwards the locally modified values are transferred to the irj45, where there are only modified in RAM. To make changes permanently, use the “Save config to flash” button. Modified IP settings are applicated after restart of the system (power cycle the Aris/irj45).

Examples

01_pnio_simple_io

Please start the example “01_pnio_simple_io” according to the previous description.

...

Process data can be monitored and manipulated using the “IO Data” panel.

...

02_eip_io_data

Please start the example “02_eip_io_data” according to the previous description.

...

I/O data can be manipulated and monitored in the I/O Data tables.  Beside that if a connection is established, the “LED1” and “LED2” Leds on the Arduino shield will both be green.

01_udp_receive

Please start the example “01_udp_receive” according to the previous description.

...

Please note that this example overwrites any taken IP settings for demonstration purpose.

01_http_get

Please start the example “01_http_get” according to the previous description.

...