A repository of IEC 61499 control applications developed using Function Blocks to control various industrial use case scenarios provided in the form of FactoryIO scenes. The control application uses OPC UA communication protocol to interact with the FactoryIO scene.
- Download Eclipse 4diac IDE and 4diac FORTE
- Download and install FactoryIO
- Download the project
- Copy the project folder into 4diac workspace
- Import the project from the system explorer tab of the 4diac IDE
Go to System Configuration and configure the hostname and port number of your FORTE. In case, you are running a local FORTE, you can leave the default configuration.
The launch configuration uses a local FORTE which should be located in the following directory path:
4diac IDE/
└── runtime/
└── 4diacFORTE/
└── forte.exe
Therefore, you should copy the executable FOTRE into the following directory. Alternatively, you can configure the path of the local FORTE from the Run Configuration by going through the following steps:
- Open Run Configuration
- Left click on Start_FORTE
- click Browse for the FORTE location option and select the local FORTE
Map the FB network to the resource (EMB_RES) of the local FORTE (in case they are not mapped already i.e., not filled with colours). You can do that by first, selecting all the FBs and right-clicking on them to open the options. From the options, select Map to to map the FBs to resource.
The project contains a Run configuration folder. You can use the Start Application (can be found under the dropdown menu of the run button) launch configuration to deploy your application in debug mode. It will start a local FORTE and deploy the developed application.
Alternatively, you can manually start FORTE and deploy application from the Run Configuration.
- Copy the relevant FactoryIO scene from the Scenes folder to your local FactoryIO directory
- Open the scene in FactoryIO
- Go to Driver and check the OPC UA node mapping
- In case the pre-defined node mapping doesn't work, you can use the driver tutorial from FactoryIo to configure it manually