User Documentation
Table Of Contents
- Table of contents
- 1 Introduction
- 2 Safety instructions
- 3 System overview
- 4 Operating behavior
- 5 Software installation
- 6 Configuration
- 7 Program development
- 8 Licensing
- 9 Device Administration (DevAdmin)
- 10 Software units
- 11 OPC UA Server
- 12 Node-RED
- 13 LongtermDiagnosticMonitor
- 14 Data recorder
- 15 Diagnostics
- 16 Maintenance
- 17 Technical data
- 18 Directives and standards
- 19 Appendix: Tutorial - creating an IEC project
- 20 Appendix: Addressing in the Ethernet (basics)
- 21 Appendix: Tutorial FoE
- 22 Appendix: Tutorial - call C function from IEC
- Index

System overview
System manual
2696790000/02/04.2020
22
Allows the integration of C functions. Thereby it is possible to integrate a
function each at start-up, shut-down or when starting or stopping the sys-
tem. For cyclical processing one or more tasks can be configured (with
priorities, watchdogs, ...). For the access to the services of the control
and the I/O system libraries which are already embedded into the u-cre-
ate studio C++ are available.
In u-create studio C++ the project type "Extended C Runtime Project"
serves as example. In this example a cyclical callback function and the
event callback functions for state transitions of the control and its configu-
ration are displayed.
● Fast Control in C
Similar to the cyclical C function a C function can be integrated. This
function is executed at a defined time indeed. Allows fast reading, pro-
cessing and writing of values within one cycle. Function calls at Init/Start/
Stop/Exit of the control can also be integrated.
In u-create studio C++ the project type "Fast Control C Project" serves as
example. In this example the cyclical callback functions for fast control
and the event callback functions for state transition of the control and its
configuration are displayed.
● Independent C runtime system
Allows the integration of a C runtime system into the system which runs
independently and can be integrated into the control procedures via De-
vice Service. All tasks must be programmed completely. There is total
access to POSIX/Linux and all interfaces provided by Weidmüller.
In u-create studio C++ the project type "Custom Realtime Runtime Sys-
tem" serves as example. In this example the structural organisation of an
independently running C runtime system and the interaction with the con-
trol procedure are displayed. Other examples with different functions are:
"Executable Communication with the Controller" and "TCP Server Appli-
cation".
● Integration of C functions in IEC
Allows calling C function in the IEC. The cyclical processing happens
within the context of the IEC program.
In u-create studio C++ the project type "CoDeSys IEC Functions in C"
serves as example. In this example the C part which can be called in the
IEC is shown.
3.6.3 u-create studio Scope
u-create studioScope serves to monitor, record and visualize the values of
arbitrary variables in software components. These can be firmware compo-
nents or application programs (TeachTalk- or IEC-applications). Unlike the
debugger, it does not require the program sequence to be interrupted. Ta-
bles and diagrams enable visualization of the recorded variable values.
The tool has the following properties:
● Variables and arrays in firmware components and teachtalk- and/or
IECprograms can be recorded. The variables must be registered with
the sampler.