First CODESYS Application¶
This tutorial brings your CANlink® mobile 10000 up and running with a ready-made CODESYS example project, so you can see data arrive in the DataPortal without building a project from scratch first.
Preparation¶
Complete the following steps before continuing:
- Install CODESYS and its dependencies, see Install CODESYS Dependencies.
- Add the CANlink® mobile 10000 library, see Add Proemion CANlink® mobile 10000 Library.
- Activate the CODESYS license, see Activate CODESYS Licenses.
Load and Run the Example Project¶
-
Download the example project archive and the corresponding PDC file.
-
Open the project archive in the CODESYS Development System.
- Connect to the device. Use Scan Network in the Communication Settings to locate your CANlink® mobile 10000, or enter its IP address directly.
- Download the compiled project to the device.
- Start the application from within the CODESYS IDE.
Verification¶
- Enter the IP address of your CANlink® mobile 10000 into a web browser to access its web interface.
- Check that the example variables are correctly initialized.
- Wait for the next upload cycle. The logged CAN messages appear in the DataPortal.