-

Quickstart: Overview on Engineering Steps

After launching iCube Engineer or closing a project, the Start Page is visible. Here, you can open or create an engineering project.

What is an engineering project?

General engineering steps

The following procedure describes the general steps for developing an engineering project from scratch. Depending on your requirements, particular steps in the following procedure may be omitted. As a standard case, the description assumes that you are using an EtherCAT-capable controller for which a corresponding project template is available in iCube Engineer. The examples shown below are based on the iC9226M-EC controller type.

The procedure does not consider the use case "reading Project Sources from the Controller, modifying the project and startup the modified application". Furthermore, the manual configuration of the PLANT using the station editors is not described here. Instead, links to the specific help topics are provided.

Also, the creation of a safety-related application is not considered in the following procedure.

StepTo Do...
1Physically connect the controller

Connect the controller to the LAN in which your engineering PC is located via one of the controller's Ethernet ports. Do not use its EtherCAT port(s) as they do not support the network scan function used in this procedure.

Via the Ethernet ports, the controller can communicate with iCube Engineer (programming and remote maintenance of the controller), its web-based management (WBM) can be accessed and the OPC UA communication is handled.
(If required, these ports can also work as Profinet ports. This way, the controller can be used in a Profinet system as a Profinet IO controller or, in a higher-level Profinet system as a Profinet I-Device. For this, the Profinet functionality must be activated in the WBM and licensed.)

Example: Ethernet ports X3/X4 of the iC9226M-EC controller
2Create a project

Create a new project by selecting a controller-based template or sample project on the Start Page.

Alternatively, choose 'File > New Project' to create a project with an empty PLANT.
3Define the project IP range

  1. Double-click the 'Project' node in the PLANT.
  2. Open the 'Settings' editor and select the 'IP Subnet' category.
  3. Specify the 'IP range' settings.
Setting the project IP range is not mandatory. However, you will receive a warning later if the controller has an address outside this range.
4Scan the network for a controller

Procedure: scanning the network for an iC9226M-EC controller when starting with a controller-related template

Any other scanning result as described in the procedure?

It is also possible to insert devices via the station editors. Refer to the topic "Offline: Add Devices manually to PLANT" for detailed information.
5Configure controller IP address

If the IP address of the controller is not as required, you can define it in the PLANT:

If you work online, i.e., you have scanned the network:

Modify the IP settings of the scanned controller directly in the 'Online Controllers' editor ('Project' node).

When changing a field in the left part of the table (on project side) and confirming the modification with <Enter>, the new setting is automatically written to the device (shown on online side).

Example: modifying the scanned IP address of an iC9226M-EC controller

If you work offline and you have structured the PLANT via the station editor:

The IP settings are assigned according to the IP range set for the 'Project' node. You can then modify individual device addresses via the 'Settings' editor of the controller.
6Scan the network for EtherCAT slave devices

Now that the controller is available in the PLANT, you can scan the network for EtherCAT slaves.

Procedure: performing an EtherCAT bus scan

It is also possible to insert devices manually via the station editors.
7Connect iCube Engineer to the controller

  1. Double-click the controller node in the PLANT and open the 'Cockpit' editor.
  2. In the Cockpit, click the 'Connect to controller' button on the toolbar.

    The authentication mask appears. Enter the user name of the administrator user role as well as the relating password and press <Enter> to log on.

    On delivery, the default user with administrator rights is admin. The password is printed on the front of the controller.

8Use the EtherCAT Online Functions to analyze the bus, that is to say, inspect the states of the EtherCAT master and the slaves.

Example: EtherCAT Online Functions for sample slave devices/modules

Refer to the help chapter "EtherCAT Online functions" for details.
9Define security settings via WBM (recommendations)

  1. Access the Web-based Management (WBM) by clicking the following icon on the Cockpit toolbar:

    The login page to the controller's WBM appears in the default web browser.

  2. Logon to the WBM with the admin user name and password.
In the WBM, open the 'Security' category and adapt the settings.

Further Info
Details on the possible settings mentioned below can be found in the respective controller user manual.

Activating and configuring the internal firewall on the controller (deactivated on delivery)

Adding and defining user roles in addition to the default admin user

Adding a controller certificate
10Configure the controller via WBM

  • Profinet functionality

    Your controller is connected to iCube Engineer via an Ethernet port. If you use the device as Profinet IO controller or, in a higher-level Profinet system as a Profinet I-Device, the Profinet communication is also handled via these Ethernet ports.

    To use the Profinet functionality...

    1. make sure that the separate and paid license is installed in iCube Engineer. To check or add a license, open the WBM page 'Administration > License Management'.
    2. it must be activated under 'Configuration > System Services'. Mark the corresponding checkbox.
  • Adapt further controller parameters on the different pages of the 'Configuration' category.

    Further Info
    Details on the possible settings can be found in the respective controller user manual.
11Parameterize devices via iCube Engineer

Parameterize the devices in the PLANT. For that purpose, double-click each device node in the PLANT to open its properties in the editors area.

To parameterize safety-related devices, you have to be logged on to the Safety-related Area.

Example: Setting the properties of an iC9226M-EC controller

Further Info
Refer to the topic "Device configuration/parameterization" for further information.
12Add Libraries or Import IEC Types

If required:
13Develop the application code

  • Create POUs in the respective category in the COMPONENTS area:
    'Programming > Local > Programs' and 'Functions and Function Blocks'.
    Object-oriented function blocks with methods are supported.
  • Define data types (folder 'COMPONENTS | Programming > Local > Data Types').
  • Program the POUs in one of the IEC 61131-3 programming languages FBD/LD, ST or SFC.

    If a Safety PLC is included in your project: Safety-related code has to be written in SNOLD code worksheets. For that purpose, you have to be logged on to the Safety-related Area.

  • With a iC9200 Series controller, you can declare IN and OUT ports in program POUs instead of or in addition to resource-global variables.

    Via these ports, communication is possible with non-IEC 61131-3 programs you have included as libraries. See section "Integrating externally developed non-IEC 61131-3 programs ..." for details.

  • GDS Port List assignments

    With a iC9200 Series controller, IN and OUT ports can be assigned to each other in the GDS Port List of the 'PLCnext' node. This also includes ports provided by non-IEC 61131-3 programs you have included as libraries. The assignment of ports enables the data exchange between programs.

  • If a Safety PLC is included, you can create exchange variables which enable the communication with the standard (non-safety-related) machine controller.
While programming, typical programming errors are detected by the automatic background check. (Note that the error list is only updated after completing the compilation.)

Example: POU in FBD

Further Info
Refer to the chapter "IEC 61131-3 Programming" for details.
14Map I/O signals (process data items) to IEC variables

Assign process data items (signals coming from/written by I/O terminals) to global IEC 61131-3 variables. By defining this mapping, the application is able to read input and write output terminals.

The assignment can be done in the Data List editors of, for example, the 'PLC' node or I/O device involved.

Further Info
Refer to the topic "Role Mapping in Data Lists" for further information.

Example: Signal mapping - assignment of global variables to process data items in the controller Data List
15Define the task scheduling and instantiate programs

  1. Double-click the 'PLCnext' node in the PLANT and open the 'Tasks and Events' editor.
  2. Insert and configure tasks and events.
  3. Instantiate programs to be run in the defined tasks.

    iC9200 Series controllers can also execute non-IEC 61131-3 programs.

Further Info
Refer to the chapter "Controller Runtime Configuration" for details.

Example: Task configuration for an iC9226M-EC controller

Note
If a Safety PLC is included in your project, the PLCnext 'Tasks and Events' editor contains a SafetyProxyTask which has been created automatically. This SafetyProxyTask triggers the execution of the Safety PLC. This task cannot be edited or deleted.
Refer to the topic "Safety PLC Runtime Configuration" for details.
16OPC UA configuration

iC9200 Series controllers include an OPC UA Server which is integrated in the controller besides the machine controller runtime.

The controller can also be configured and used as OPC UA Client.

In addition, iC9200 Series controllers with a firmware version 22.0 or newer support the OPC UA PubSub (publisher/subscriber) communication model.

OPC UA-related settings can be done in the editors of the 'OPC UA' PLANT tree node.
17Startup the application

Execute the 'Write and Start' command to build the project image (compile the project), write it to the controller and run the application.

The 'Write and Start' command is available in the context menu of the controller node (PLANT) and in the 'Cockpit' editor. To open the 'Cockpit', double-click the controller node in the PLANT and click 'Cockpit' in the editors area.

18Debug the application and perform a function test

Perform a function test after the successful controller startup. To support you in this, iCube Engineer provides the following features:

Note
The test of the application in debug mode using debug commands, the WATCHES window and LOGIC ANALYZER may not replace the proper function test using I/O devices/sensors/actuators under any circumstances. The test in debug mode may only be performed in addition to the standard function test, as a preliminary test, for example.

Further Info
Refer to the chapter "Controller Commissioning ‣ Controller Commissioning: From Compiling to Debugging
×‣ Safety PLC Commissioning: From Compiling to Debugging
×
" for details.

When eliminating errors, you can use the command 'Project > Rebuild' to build the entire project without writing it to the controller.
19Startup the safety-related application

If a Safety PLC is included in your project, it can be controlled completely independent of the standard (non-safety-related) controller. For that purpose an own 'Safety Cockpit' is provided. Here, you have to perform the same steps as for standard machine controller:

However, it is possible to write and start the safety application together with the standard application. For that purpose, the commands 'Write and Start Project (incl. Safety)' (with and without project sources) are available in the Cockpit and the PLANT context menu of the standard controller. Instead of explicitly writing and starting only the safety application, you can use these commands to handle standard and safety application with one common command.

Note
The default password for the safety-related area for projects based on a Safety PLC project template, for example for iC9226M-FSOE controller type, is "safety".

  1. 'Write and Start' the safety-related application to the Safety PLC (in the Safety Cockpit or via context menu of the Safety PLC).
  2. Use the monitoring and debugging tools for performing a function test.

    Further Info
    Refer to chapter "Safety PLC Commissioning" for details.
Example:

 


This help information is valid for iCube Engineer Online Help 2025.6

Copyright © 2025 YASKAWA EUROPE GmbH and © 2025 YASKAWA America, Inc.