1
00:00:00,50 --> 00:00:21,00
Choose File, New Project, Standard Project and add the title.

2
00:00:25,50 --> 00:00:32,00
Choose SFC as the programming language and CODESYS Control Win V3 X64 for the device.

3
00:00:42,50 --> 00:00:51,00
Right click on Application. Choose Add Object, Global Variable List.

4
00:00:57,50 --> 00:02:06,00
Create the list of global variables. After that, build.

5
00:02:15,50 --> 00:03:04,00
Create the program for the logic controller.

6
00:03:15,50 --> 00:03:24,00
AddSymbol Configuration. Make sure that Support OPC UA Features is active.

7
00:03:43,50 --> 00:03:48,00
If Symbol Configuration does not show the GVL, then build it once more.

8
00:03:56,50 --> 00:04:02,00
Build the GVL list in Symbol Configuration.

9
00:04:21,50 --> 00:05:21,00
Create the connection between the computer and the software controller. To do so, first start CODESYS Control Win V3 - x64.

10
00:05:22,50 --> 00:05:31,00
Click on Scan Network, choose the device that is visible.
If the connection is successful, then there is a green mark on Gateway and Device.

11
00:05:39,50 --> 00:06:04,00
Open Ciros Studio, create a new MPS system.

12
00:06:05,50 --> 00:06:21,00
Add Distributing - Standard from Festo MPS. Exit Edit Mode.

13
00:06:42,50 --> 00:06:53,00
Change the controller to OPC from PLC Switchist.

14
00:06:57,50 --> 00:07:07,00
Open Model Explorer, identify the controller (S7_Distributing) and choose Properties.

15
00:07:18,50 --> 00:07:32,00
Choose OPC Client, refresh the server list, choose CoDeSys.OPC.DA.

16
00:07:38,50 --> 00:07:44,00
Open the subcategory Items, click on Connect.

17
00:08:05,50 --> 00:08:12,00
Erase all the I/O table values by marking them, right click and Remove Assignment.

18
00:08:15,50 --> 00:08:36,00
Enter the GVL values to the places shown.

19
00:08:47,50 --> 00:09:18,00
Login and start the CoDeSys program.

20
00:09:20,50 --> 00:09:22,00
Start the Ciros program.

21
00:09:35,50 --> 00:09:42,00
Check that the CoDeSys program and Ciros visual give the same response.

22
00:09:45,50 --> 00:10:21,00
Test the program. Depending on the capabilities of your computer, holding down a button in Ciros may cause a delay in the system.