In this tutorial you'll learn about various features of iPlus. The following topics are covered:
In this tutorial, a simple mixing project is created in which the individual processes of an automation in iPlus are explained in more detail.
After the start of iPlus, the login screen appears. Enter your login details, then click on Login. In the Style box, you can choose between a dark default theme (GIP) and a light design (aero).
Default Login data:
Typically, you log on as a client only. However, certain functions are only available if a iPlus server is running in the background.
After logging in, you will first see the empty iPlus user interface with the menu bar. In the title bar, you can see in the parenthesis
(in this example, the user name is Superuser and the database is iPlusMESV4).
iPlus has its own developement environment with Studio. You open Studio from the main menu under ? / Studio
To create a new project, first go to the main menu item ? and open the developement environment of Studio. It will show you Studio with the base project Root.
Projects consist of at least two elements, the definition and the first derivative of it, the application. You can display existing projects using the button Explorer. Without your own projects, only the existing standard projects are displayed there.
Note: A new project in the current version of Root will not be displayed in the Explorer until Studio has been started again.
First, create a new definition project.
Now create a new application project.
If elements are included in the definition before an application is created, they are copied to the application identically. If you wish to extend the definition later, you will be asked if you want to apply these elements before saving.
After you have created a definition and an application project, you first select the Mixerydef definition project.
To create classes, you can access a variety of existing base classes. To create a new class, open the Project Library in the Project window with the Library button. There you will see the available base classes listed.
In the path PA Module are, among other things, the module types, which can be dragged directly (from an application) by drag-and-drop into a visualization image.
The names of the aggregates starting with AGIP have a converter for direct communication with a PLC. These are programmed with PLC modules according to the GIP-standard.
In the path PA Process Module there are complex modules, e.g. different scales types, containers, measuring equipment, silos etc. These classes contain properties that are important for controlling processes with iPlus.
Start by creating a Silo with integrated screw. In the Project Library under Variolibrary / PA Process Module you will find the class PAMSilo which serves as basis for our silo.
Note: No changes to the name of the class are possible. Only the description can be changed as desired.
Note: Keep the class names as short as possible. The individual names are transferred vie URL. This could lead to delays in high-performance systems with many classes.
After saving, a query is made whether you want to apply the changes you just made to the application projects based on the application definition. Since you have only created a template for the silos used later, click No.
By default, the new class receives the name of the derived class with a sequential number. For this tutorial we simply use the sequential numbering.
Now add a full detector to you silo.
After saving, you´ll be asked again if you want to apply your changes from the definition to the application project. This time you confirm this with Yes.
If you now switch back to your application project and expand the silo in the treeview, you see that the newly inserted sensor has been taken over directly.
Now create a hopperscale according to the same principle as the silo.
The AGIPHopperscale already contains all the elements we need for this tutorial.
Now you need a mixer to mix or stir your product.
Finally, on order to be able to store your final product, you must now create a silo for storage.
The intermediate result of the classes in the Project window should then look like this:
Establish a connection between SILOSCR1 and HOPPERSC1.
You then see the connection you created in the Connections from field. If you now select SILOWSCR1 in the Project window and select its starting point PAPointMatOut1 in the Select Property window, you will see the connection to the HOPPERSC1 in the Connections to window.
Note: Always follow the connections from the class you want to connect to.
Now make the remaining connections according to the same scheme as between SILOWSCR1 and HOPPERSC1. These are as follows:
|Connections to||Connections from|
A class has a WPF-based design that is later used to display that class on the visualisation surface.
The Designer tab contains a WPF editor that allows you to edit the visual representation of a class. In the surface designer, you can select individual items directly and edit their properties in the Properties window. In the XAML tab, you can edit the theme directly in the WPF code.
Now insert the sub-classes of the silo into the design of the silo. First you need to create a new design.
Using inheritance, you can work with existing designs and extend them accordingliy. In this case, a screw and a full detector are added to the silo´s standard design.
The XAML tab shows the WPF source code. Alternatively, the last steps can be performed directly in the code. vb:VBDesignName = "" is the design from which you want to inherit and name = "this_0" is the pointer to the current design.
The working surface and the silo should each be given the height 350 and the width 80.
Now insert the screw and the full detetctor (sensor) into the image.
In the Properties window, you can find all the settings that are currently available for the selected item. In the following picture you can see how the silo should look after it has been set up. Below the image you will find the corresponding source code.
For certain classes, there are already several different designs that you do not need to re-create. In this section you will learn how to access them.
You cannot use an application until it is activated.
The visualisation is opened in the main menu via Production / Visualisation. A blank image appears, which serves as the basis for the creation of visualisation images. Create a new visualisation image using the button in the Content menu.
The Sortindex determines the order of the image in the menu. The higher the number the further below the visualisation will appear in the list.
With the button VisualViews you can display all available visualisation images.
To insert and arrange items, you must use the Designmode.
You can see the tabs Design, XAML and Info at the bottom left of iPlus.
Design is the visual interface in which you can move all elements with the mouse. XAML shows you the WPF source code of the visualisation image. The Info tab contains general information about the visualisation image.
This serves as the basis for the visualization images.
Now add your classes to the visualisation.
You will now see the priviously created classes of the individual aggregates. You can drag and drop them onto the visualisation surface and arrange them arbitrarily.
The following visualisation screen shows the finished arrangement of the classes. Followed by the source code for the arranged elements.
The arrows in the visualisation image are iPlus own WPF elements. ArrowLine, which lets you draw a straight line with arrows at one or both ends and ArrowPolyline you can draw across multiple points.
Create a new workflow.
If process steps are needed and do not yet exist, as in the case of the mixer, you can add them later.
Now add the remaining classes, the second container scale and the mixer, according to the same scheme. You can drag and drop the individual classes and functions onto the canvas.
Connect the individual elements of the workflow as shown in the following screen. These tools are available for processing workflows:
|Select and move objects on the work area.|
|Create connecting lines between two objects. The available anchor points at which you can connect the lines are indicated by green dots.|
|Move existing connection lines.|
You need an empty definition and an empty application project. First, create the definition projekt (Planning Def) and then an application project (Planning) based on it.
Now create a new Workflow.
Now add the Mixery Default Workflow to the PlanningDef workflow.
First create an intermediate product.
Note: Batches that are still in the production process are called intermediate products. Following the iPlus convention intermediates begin with an underscore (_) and are marked as Is an intermediate in the Material master.
Now create 4 more materials. Only _IP02 is an intermediate product. For the other materials, leave the checkbox Is an intermediate empty.
|_IP02||Intermediate Product 02|
Material workflows describe how materials mix during the production process untiil the final product is created.
Now assign the materialworkflow to the workflow.
Note: Establish the connections by dragging and dropping a process step (right half of the screen) to an intermediate product (left half of the screen). If the connection is successful, you will see a red connection line between the two elements. To delete connections again, select the two connected elements and choose Remove WF Connection in the context menu (right click) of the intermediate material.
Create a new parts list
Now add the materials that make up the intermediate product on the components list.
Note: All components should add up to 100 kg later. This simplifies later calculations during batch processing. For liquids, assume how many litres correspond to the weight (e.g. for water 1kg / litre).
Now you have to assign the individual components to the intermediate products in order to define the process stage in which they are added.
Assign the parts list to the workflow.
You can check your entries on the Parts List tab. Click on the Check routes button. In the window that appears, the system displays a message stating wheter you can produce the material with the parameters you have entered.
Now create the storage bins for the materials and assign them.
Now assign the storage bins to the facility.
|Name||Silo 1||Silo 2||Silo Storage|
|Type||Silo, Zelle, Tank||Silo, Zelle, Tank||Silo, Zelle, Tank|
|Max Volume Capacity||15000||15000||15000|
|Max Weight Capacity||15000||15000||15000|