ODK 1500S Siemens
Область применения
The SIMATIC ODK 1500S supports the development of Windows and real-time library functions for S7-1500 software controllers. Typical applications include:
- Windows library applications
- Interfacing to databases
- Communication with Windows programs such as Office applications
- Connection to application-specific visualization software
- Implementation of industry-specific protocol converters such as PV02, IEC 61850, etc.
- Access to the Windows file system, e.g. with specific file formats
- Real-time library applications
- Integration of existing C/C++ algorithms into the control task
- Implementation of closed-loop controllers or algorithms
Обзор
- For developing dynamically loadable function libraries for S7-1500 Software Controllers:
- Implementation of function libraries by means of high-level programming with C/C++.
- Execution of the library functions under Windows or in the real-time context of the software controller.
- Calling the functions directly from the PLC program.
- Development environment for real-time library functions included in the scope of delivery:
- Development of Windows library functions with MS Visual Studio.
- Automatic creation of function blocks for calling the library functions.
- Simple integration of the function blocks into STEP 7 by importing.
- Simple use of the library functions in the controller without specific high-level language know-how.
Функции
The SIMATIC ODK 1500S supports the development of dynamically loadable function libraries that can be called up directly from the S7-1500 Software Controller user program. Loadable libraries can be generated here both under Windows (DLL) as well as in the real-time context of the Software Controller (SO – shared object).
Generation of loadable libraries
Generation of loadable function libraries takes place with Microsoft Visual C++ for Windows library applications and with Eclipse for real-time function libraries. By creating a project with the help of a pre-defined template, users can begin immediately with the definition and implementation of their functions.
On completion of a function library, function blocks are available that can be integrated directly into STEP7 and used for loading and executing the functions from the control program.
The function libraries themselves are available following completion as DLL (Windows libraries) or SO file (Shared Object – real-time libraries). Real-time libraries are loaded into the load memory of the Software Controller by the software controller Web server so that they can also be loaded and executed independently of Windows.
For Windows libraries, the complete function range can be used for Windows DLLs. Development is carried out with Visual Studio; the following versions are supported:
- Visual Studio 2010
- Visual Studio 2013
- Visual Studio Express 2013
The integrated development environment Eclipse, required for developing real-time libraries, is included in the scope of delivery of ODK 1500S.
Testing function libraries
Testing function libraries
Windows libraries can be fully debugged with Visual Studio. Thanks to the asynchronous execution of functions under Windows, the real-time characteristics of the software controller are not impaired even if single-step or breakpoints are used.
A powerful trace concept is available for real-time libraries as single-step processing or breakpoints are not feasible under real-time conditions. To verify the code with single-step processing or breakpoints despite this, the functions of a real-time library can be called up and tested within a test environment on the development PC.
Технические данные
System requirements
The SIMATIC ODK 1500S can be used on PC platforms with the following requirements:
- Windows 7, Windows 8 operating systems
- Min. 150 MB hard drive memory
- min. 4 GB work memory
- Mouse, keyboard, screen