C# core libraries
The C# core libraries are part of the iCube Engineer Toolchain and will available in the iCube Engineer Toolchain installation folder.
These libraries are necessary to program and build real-time C# applications for iCube Control devices. They are replacing the equally named .NET libraries with a subset of their functionality, and adding iCube Engineer specific libraries. This subset is optimized for real-time PLC use cases and do not offer any GUI-related or enhanced asynchronous implementation, which from time to time could lead to code which is unpredictable.
Nonetheless, programming in C# offers much more flexibility, functionality and performance than programming in IEC 61131‑3 languages. Functions and function blocks written in C# can be used to enhance your application and speed up your development process.
Yaskawa does not recommend to program C# without Visual Studio®. Without Intellisense and code analyzer, unrecognized coding errors could lead to runtime issues and harm your system stability.
These libraries are necessary to program and build real-time C# applications for iCube Control devices. They are replacing the equally named .NET libraries with a subset of their functionality, and adding iCube Engineer specific libraries. This subset is optimized for real-time PLC use cases and do not offer any GUI-related or enhanced asynchronous implementation, which from time to time could lead to code which is unpredictable.
Nonetheless, programming in C# offers much more flexibility, functionality and performance than programming in IEC 61131‑3 languages. Functions and function blocks written in C# can be used to enhance your application and speed up your development process.
Yaskawa does not recommend to program C# without Visual Studio®. Without Intellisense and code analyzer, unrecognized coding errors could lead to runtime issues and harm your system stability.
Important: Do
not
add the
mscorelib manually to your Visual Studio Project! The iCube Engineer Toolchain adapted-
mscorelib
is automatically added in the Visual Studio® but is
not
visible in the References branch.
Adding System and System.Core libraries
If needed, theSystem
and
System.Core
libraries can be added by right-clicking on
References
→
Add Reference...:
Note: The Runtime System only works with versions of the
System
and
System.Corelibraries created by Phoenix Contact. They can be identified by black text (instead of gray) and the Phoenix Contact mentioning in the "Created by:" entry.
The build output is also offering a
.dll
file, which can be referenced in other projects.