Kategori: Programble Logic Control

SIMATIC WinAC ODK (Open Development Kit)

Integration of special tasks

Description

PC-based solutions typically include technological tasks such as image processing, measured value acquisition and numerical controls. The new WinAC option Open Development Kit (ODK) allows flexible use of all PC resources from the control program via three different interfaces in orderto provide highperformance expansion of the PLC functionality. All the operating system functions and system resourcesof Windows are available to the programmer for this purpose, also providing access to external hardware and software components.

An ODK application is developed with a standard development environment for C-/C++ programming, such as Microsoft Visual Developer’s Studio. This provides the application developer with the familiar environment tailored to Windows applications. C++ programming knowledge is not required for integrating such applications into the WinAC control program. The ODK applications can be used like normal system functions in the STEP 7 program.To the top of the page

Area of application

WinAC ODK offers three interfaces for the following applications: 

  • Custom Code Extension Interface (CCX) for calling your own high level language programs from the WinAC control program
  • Shared Memory Extension Interface (SMX) for high-speed WinAC data exchange with Windows applications
  • Controller Management Interface (CMI) for integrating the WinAC Panel functionality into a Windows application


Custom Code Extension Interface (CCX)

ODK includes an application wizard and a class library for simple programming in Microsoft Visual Studio. The program running outside WinAC is developed with Visual C# – or with Visual Basic or Visual C# for Windows applications – and generated as DLL or Real-Time DLL. The DLL is called with the help of three systemfunctions (SFC 65001, 65002, 65003).
The C program can be executed in three different ways:

  • Synchronously, that is, processed as part of the PLC cycle 
  • Asynchronously, that is, started by the PLC program and terminated in the background
  • Continuously, that is, processed parallel to the PLC program


CCX and SMX applications can be executed both under Windowsas well as in the real-time core used by WinAC RTX. An additional tool from the manufacturer of the real-time core is required for developing real-time CCX applications. This allows diverse applications to be implemented.

Some examples include:

  • Connection of fieldbus cards to WinAC 
  • Integration of robot control software into WinAC 
  • Direct access to Windows file system 
  • Implementation of special communications protocols 
  • Complex calculations for control of the quality of packaging film
SIMATIC WinAC ODK
Operator interface of the application wizard with class libraries andC++ program
ODK
The Custom Code Extension Interface (CCX) offers the facility of callinghigh level language programs from the control program of the WinAC softwarecontrollers

Shared Memory Extension Interface (SMX)

Via SMX, ODK supports the development of applications requiring data exchange between Windows applications such asVisual C++ and WinAC, as is the case, for example, in closed-loop control or image processing tasks.This data exchange is especially fast via the a dual-port RAM (DPR) or shared memory, accessed by both the external C++ programand the PLC program. ODK includes libraries for reading and writing to this DPR according to the polling method. From theviewpoint of the WinAC, the DPR represents a 4KB I/O area that can be accessed with load/transfer commands.

Typical applications of the SMX:

  • Connection of motion control systems 
  • Connection of systems for measured data acquisition and analysis
  • Transfer and backup of large volumes of production and quality data
  • Direct and high-performance integration of an order database
ODK
The Shared Memory Extension Interface (SMX) enables data exchange betweensoftware controllers and Microsoft applications

Controller Management Interface (CMI)

With ODK, the function of the WinAC Panels can be integrated into a Windows application
(see figure). For this purpose, the CMI provides the application with the following functions of the WinAC Panel:

  • LED status 
  • Start and stop of the WinAC 
  • Subsequent loading of programs
  • Integration of the WinAC Panel into an HMI application 
  • Remote operation of the WinAC
  • Implementation of specific user rights
ODK
The Controller Management Interface (CMI) integrates the WinAC Panelfunctionality into a Windows application

To the top of the page

WinAC Target

WinAC Target is a tool to simplify integration of MATLAB/Simulink algorithms into WinAC RTX.

MATLAB/Simulink, a software from The MathWorks, is frequently used in automation systems in the development and simulation of complex open-loop and closed-loop control algorithms.

Integration of MATLAB/Simulink algorithms with WinAC Target

MATLAB/Simulink is used to model and simulate processes and PID closed-loop control structures graphically. Simulink sub systems can be coded into C/C++. This code is then integrated into a WinAC ODK project and can be accessed and executed via DLL/RTDLL from the S7 program.

Integration of a Simulink algorithms into WinAC RTX
Integration of a Simulink algorithms into WinAC RTX

Advantages:

  • Simple integration of Simulink algorithms into WinAC RTX
  • External mode of Simulink to monitor Simulink algorithms and to manipulate integrated model parameters on the fly:
External mode with Simulink
External mode with Simulink
  1. Graphical online view of the running process
  2. Change of internal model parameters with Simulink
  • Manipulate internal model parameters in the STEP 7 user program.

Benefits
WinAC Target offers the following benefits:

  • Download free of charge
  • Automatic coding into SCL source and into DLL / RTDLL file
  • No C / C++ knowledge necessary
  • Optimised work flow for the integration of Simulink models in WinAC RTX
  • Effective start-up and diagnostics with Simulink and external mode
  • Flexible change possibilities of internal model parameters in the running process by means of the STEP 7 program

On the Industry Online Support home page a detailed example project and a step-by-step manual is available. The Integration of MATLAB/Simulink sub systems with STEP 7 V5.x or STEP 7 Professional V1x (TIA Portal) is presented on a powerful SIMATIC IPC with WinAC RTX. Download is for free.

To the top of the page

Technical data

ODK-Programming languages
Real-Time application 
CCX or SMX
C/C++
Windows application
CCX, SMX or CMI
C/C++Visual BasicC#
TopicWinAC ODK V4.2
Operating systemWindows XP
Professional SP2 and SP3
Required softwareMS Visual Developer Studio V6.0
.net 2003, 2005, 2008;
IntervalZero SDK
(suitable for the real-time core version
of WinAC RTX for real-time CCX and SMX applications)

SIMATIC WinAC RTX F

SIMATIC WinAC RTX F – Fail-safe S7 software controller

SIMATIC WinAC RTX F is the fail-safe SIMATIC software controller for PC-based automation and permits both standard and fail-safe control tasks to be performed on the PC.

Area of application

SIMATIC WinAC RTX F permits simple implementation of safety systems on PC-based solutions, and satisfies maximum safety requirements and compliance with relevant standards: EN 954-1 up to Cat. 4, IEC 62061 up to SIL 3, and EN ISO 13849-1 up to PL e.

The fail-safe software controller is particularly suitable for automation tasks in which, in addition to standard and fail-safe control functions, parallel data processing and the integration of the user’s own technological functions are to be implemented on one platform and the openness of Windows is to be exploited.

To ensure the high performance of the complete system the latest PC technologies such as Dual Core are supported, in which one core is used for Windows applications and the other core exclusively for SIMATIC WinAC RTX F. The integration of C/C++ programs into the WinAC RTX control program provides access to all hardware and software components of the PC, creating an extremely flexible solution. The performance of WinAC RTX F is limited only by the PC platform used.

Apart from the software-only controller, particularly rugged and ready-to-run embedded bundles are also available, preinstalled with SIMATIC WinAC RTX F and Windows XP Embedded or Windows Embedded Standard. Whether on the basis of a modular embedded controller, a DIN rail PC or a Panel PC, the application ultimately determines the choice of hardware to be used.

Standardized engineering and the easy portability of the user software between the different solutions also contribute to the overall security of investment and flexibility.To the top of the page

Benefits

With the new SIMATIC WinAC RTX F software controller, Siemens links its long-term competence in standard and safety engineering with the openness of a PC-based system.

With WinAC RTX F you can benefit from the advantages of SIMATIC Safety Integrated

  • System-wide integration of safety into the standard technology even in PC-based solutions:
    – One PC-based controller for both standard and fail-safe automation
    – Engineering in the familiar STEP 7 environment and with the Distributed Safety option 
      package and choice of off-the-shelf blocks certified by the German Technical 
      Inspectorate or blocks you have created yourself
    – Fail-safe communication via the globally field-proven PROFINET or PROFIBUS 
      communication standards, with the PROFIsafe profile 
    – Space-saving design thanks to the combination of fail-safe and standard I/Os in one 
       station
  • Approval for the most stringent safety requirements, such as Cat. 4 of EN 954, 
    SIL 3 of EN 62061 and PL e of EN ISO 13849-1, regardless of the hardware used
  • The safety function can be assessed quickly and conveniently using the Safety Evaluation. All safety-related data of the products is available through an integrated database.


as well as the advantages of WinAC RTX, the SIMATIC software controller

  • Performance of PC-typical applications and automation tasks on just one platform
  • Installation possible on all current x86 PCs
  • Ready-to-run embedded bundles, consisting of rugged, maintenance-free hardware and preinstalled, preconfigured software
  • Security of investment through the use of SIMATIC IPCs and embedded bundles with long-term availability
  • The high performance of WinAC RTX also enables high-speed control solutions to be implemented with minimal processor loading.
  • Utilization of the continuous innovation and performance improvement of PCs
  • Simple communication through integral network interfaces
  • Simple use of business software (e.g. Microsoft Office) and user’s own powerful software (e.g. C++, Visual Basic, Java, etc.)
  • Strict real-time for automation tasks

To the top of the page

Layout and function

Engineering
As in the fail-safe SIMATIC controllers, the engineering is implemented with STEP 7 and the Distributed Safety option package. This means that existing know-how can continue to be used.

Platforms

SIMATIC WinAC RTX F executes on all x86 hardware platforms with Windows XP Professional and is optimally matched to SIMATIC Industrial PCs. Especially when used on embedded PC platforms, such as the SIMATIC IPC 427C, the SIMATIC HMI IPC 477C or the SIMATIC S7-mEC with Windows Embedded Standard 2009, economical and extremely rugged solutions can be achieved. WinAC RTX F uses the main memory of the PC and offers a program backup in the data medium (e.g. HDD, CompactFlash card, SSD). Non-cyclic data, such as production parameters or recipe data, can be stored permanently on the data medium (e.g. HDD, CompactFlash card, SSD) of the PC with the help of system functions (SFC 82 – 84). In addition, all data can be held retentively in conjunction with an uninterruptible power supply (UPS).

Connection of the I/O

WinAC RTX F can control the distributed I/O not only via PROFIBUS, but also via PROFINET.

The I/O is connected via PROFIBUS DP at up to 12 Mbit/s via the integral DP interface of the SIMATIC IPCs or the embedded bundles. In addition, communications processors (CP 5611 A2/ 5613 A2) can also be used that support as many as four PROFIBUS lines with up to 500 slaves.

The connection to PROFINET is via Ethernet chipsets for PROFINET IO with RT:

Interface nameChipset
Intel® Pro/1000 CT Gigabit DesktopIntel®82574L
Intel® PRO/1000 PT dual port server adapterIntel® 82571EB

or via a CP 1616 (PCI) or CP 1604 (PCI-104) communications processor.

The SIMATIC IPCs or the embedded bundles feature an optional integrated PROFINET interface, while it is standard for the S7-mEC RTX F.

In addition, WinAC RTX F also supports the system function isochronous mode. With isochronous mode, high-speed, time-dependent applications such as closed-loop controls can also be implemented with distributed I/O. This means that in addition to the control job other functions can be integrated into a PC or smaller, more economical PCs can be used for the same job.
With the new version WinAC RTX 2010 further PROFINET functions are available e.g. shared device, media redundancy and webserver functionality.To the top of the page

Technical data

SIMATIC WinAC RTX F
Dimensions (mm)
Order no. stem6ES7 671-1RC.0
Memory
RAMdepends on PC
Execution times
Bit operation0.004 μs *)
Word operation0.003 μs *)
Fixed-point operation0.003 μs *)
Floating-point operation0.004 μs *)
Bit memories, timers, counters
Bit memory16 KB
S7 timers/S7 counters2048/2048
IEC timers/IEC counters
Address ranges
Number of I/Os (bytes)16348/16348
Process image I/O (bytes)8192/8192
Digital channels (central)
Analog channels (central)
DP interfaces
DP master systems (int./CP)depends on PC
DP slave
Plug-in interfaces
Isochronous mode
PROFINET interface
PROFINET CBA
PROFINET IO
PROFINET with IRT
TCP/IP
UDP
ISO-on-TCP (RFC 1006)
Web server
Open User Communication
Isochronous mode

*) Depends on PC hardware used; reference platform Pentium IV; 2.4 GHz

A second timer is required for fail-safe communication. Most PCs already have such a timer.


SIMATIC WinAC RTX

the SIMATIC S7 as software controller

SIMATIC WinAC RTX is the SIMATIC software controller for PC-based automation solutions and permits real-time capable, deterministic control functions to be carried out on the PC.

Range of application

SIMATIC WinAC RTX is particularly suitable for automation tasks where, in addition to control functions, it is necessary to solve true real-time, a high data volume, and fast technological functions on a PC platform. The optimized runtime system supports the processing of extensive and demanding PC applications in parallel with the control task.

In order to optimize the capacity utilization, state-of-the-art technologies such as Multi Core are used – for example one core for Windows applications and one for the SIMATIC
WinAC RTX.

Optimum access to PLC runtime data like image processing, data logging, etc. is carried out by means of the WinAC option Open Development Kit (ODK). ODK applications are beeing programmed in a standard high-level language.
The integration is done by means of one of the interfaces

  • Custom Code eXtension (CCX) calls high-level language routines from the WinAC control program
  • Shared Memory eXtension (SMX) exchanges data fast between WinAC and the Windows application
  • Controller Management Integration (CMI) provides the WinAC control panel functions for own  PC applications

The performance of SIMATIC WinAC RTX can be scaled across the processor performance.
Applications range from machine-level control tasks with rugged embedded PCs to high-end applications on PCs with newest processor technology (e.g. SIMATIC IPC).To the top of the page

Benefits

  • Multi-discipline through solving PC-typical applications (business software like e.g. MS Office and own, proprietary user programs in C++, VB, etc.) and automation tasks in just one system
  • Openness through installation on standard PC hardware platforms
  • SIMATIC Embedded bundles: Robust turnkey products, with preinstalled Windows operating systems and SIMATIC WinAC RTX
  • Investment security through the use of long-term available Industrial PCs while utilizing the continuous PC innovations and performance advancements at the same time
  • Simple communication through low-cost, integrated network interfaces
  • Reduced training effort through Engineering in the familiar SIMATIC STEP 7 environment

To the top of the page

Layout and function

Engineering

SIMATIC STEP 7 is the one engineering software for all, the modular SIMATIC controllers
S7-300/S7-400 and the software controller WinAC.

Platforms
SIMATIC WinAC RTX runs on standard PCs with MS Windows XP and embedded operating systems and is optimally matched to SIMATIC industrial PCs. Use on embedded PC platforms, such as the SIMATIC IPC 427C or the SIMATIC HMI IPC 477C, results in especially affordable and extremely robust solutions. SIMATIC WinAC RTX uses the main memory of the PCs and offers program backup on the hard disk/flash drive. Non-cyclic data, such as production parameters or recipe data, can be stored permanently on the memory of the PC with the help of system functions. In addition, all data can be held retentively in conjunction with an uninterruptible power supply (UPS).

Connection of the I/O
SIMATIC WinAC RTX can control the distributed I/O not only via PROFIBUS, but also via PROFINET. The I/O is connected via PROFIBUS DP at up to 12 Mbit/s via the integral DP interface of the SIMATIC IPCs or via communication processors (CP 5611 A2/5613 A2).
You can operate up to four PROFIBUS lines with up to 500 slaves. In addition it is possible to connect the I/O via PROFINET. This requires either the integrated Ethernet interface of the SIMATIC IPC or a communication processor CP 1616 (PCI) or CP 1604 (PCI-104).
Furthermore WinAC RTX also supports the system function isochronous mode.
With isochronous mode, high-speed, time-dependent applications such as closed-loop controls can also be implemented with distributed I/O.

Technical data

WinAC RTX 2009
Order No. group:6ES7 671-0RC.
Basic features
RAM (integral) (code/data)PC memory (non-paged memory)
Number of inputs/outputs in total16/16 KB
Bit memory16 KB
S7 counters/timers2048/2048
Number of blocks (FB, FC, DB)Limited only by available PC work memory
PLC programming softwareSTEP 7, V5.4 SP4 or higher, Engineering Tools (optional)
Retentivity
with UPSAll data 1)
Instruction execution times
Bit / integer operation0.004 μs/0.003 μs
Floating-point operation (reference platform)0.004 µs (Pentium 4, 2.4 GHz)
Deterministic
DP connections
Total4
CP5613-A2 / 56034
CP5611/integrated interface of SIMATIC PCs, max.1
PN interface
CP1616/16041
PROFINET interface1 (either SIMATIC PC or Microbox)
Communication functions
PG/OP communication
S7 communication
Open User Communication (OUC)
Process data access via OPC
Technology
Isochronous mode● (PN and DP)
SIMATIC FMFM 350/351/352/ 353/354/355
Easy Motion Control
C/C++, VB, C# link● With ODK
Operator control and monitoring via SIMATIC interface
SIMATIC WinCC/WinCC flexible
Operating system
Windows XP Professional● (SP2, SP3)
Windows XP Embedded● (on XPe images of the SIMATIC PC)
Windows 7

1) 128 KB with specific SIMATIC PC without UPS

Simatic WinAC

Industrial PCs are becoming more important in the field of automation. Typical PC applications range from human machine interfacing to data processing. Frequently, these tasks do not need the full PC computing performance. So why not utilize currently unused resources by turning your industrial PC into a PC-based controller? A compatible PLC software empowers any industrial PC to perform as a PC-based controller – also as a fail-safe controller. Siemens offers a comprehensive range of solutions for this

PLC Software from Siemens

When using a PC based controller, users rely on the ruggedness and open architecture of industrial PCs, coupled with the powerful SIMATIC WinAC software PLC. A SIMATIC S7 is integrated into the industrial PC as a software PLC and the PC-based controller is configured and programmed with STEP 7 in exactly the same way as a normal S7 controller. All the automation components are integrated into a single industrial PC, resulting in a complete and cost-effective solution. SIMATIC WinAC RTX F is the first failsafe software PLC with TUEV Certification.

SIMATIC S7-400

process controller: a powerful solution

Part of the SIMATIC process controller series, the S7-400 has been designed for system solutions in the fields of manufacturing and process automation. This process controller is ideal for data-intensive tasks that are especially typical for the process industry. High processing speeds and deterministic response times ensure short machine cycle times on high-speed machines in the manufacturing industry.

The most powerful Automation System within SIMATIC

Superb communication capability and integrated interfaces make the SIMATIC
S7-400 process controller ideal for larger tasks such as the coordination of entire systems.
The graded range of CPUs enables scalable performance and the capacity for I/O
periphery is virtually unlimited.
What’s more, process controller signal modules can be inserted and removed while the system is live (hot swapping), making it very easy to expand the system or replace modules.

Modular S7-410-Systems

The automation system AS 410 is the preferred system for new plants with SIMATIC PCS 7. Through the use of the innovative CPU 410-5H Process Automation the AS 410 covers the entire performance range of conventional SIMATIC S7-400 automation systems from AS 412 to AS 417.
You can now adapt the performance of your controllers precisely to the task at hand at any time and without interruption – without having to allow for the usual safety reserves.

SIMATIC S7-300

Proven multiple times!

The SIMATIC S7-300 is used in many applications worldwide and has been proven successful millions of times. 
You want your application to be future-proof?
Then you should look at the advantages and new possibilities of the SIMATIC S7-1500 and the engineering with TIA Portal.

Powerful, compact and cost-effective

The SIMATIC S7-300 universal Controllers saves on installation space and features a modular design. A wide range of modules can be used to expand the system centrally or to create decentralized structures according to the task at hand, and facilitates a cost-effective stock of spare parts. SIMATIC is known for continuity and quality.
Do you want to further utilize the investment into your machine or plant?

Need even more power and performance for your machine?
The innovative SIMATIC S7-1500 is the successor of the SIMATIC S7-300 and is ready. This controller generation integrates the latest and future-proof technologies into an automation system with enhanced system features. Together with the engineering system TIA Portal, the common engineering platform for all SIMATIC controllers, you are well prepared for ever faster market changes, constantly shorter product life cycles, and the increasing competition and cost pressures.

SIMATIC S7-1500 Software Controller

The solution for the toughest demands

SIMATIC S7-1500 software controllers combine the advantages of SIMATIC S7-1500 controllers and industrial PCs. This means you benefit from the security of a PLC controller and from the flexibility and independence of an industrial PC. 

SIMATIC S7-1500 Software Controllers work on Siemens SIMATIC industrial PCs completely independently of the operating system. In this way, the advantages of SIMATIC controllers are combined with those of PC-based solutions without any adverse effect on the recognized high reliability and system availability of SIMATIC controllers.

Your main advantages and benefits at a glance:
Standardization 
Re-use of program code and use of communication standards 
Scalability 
Easy implementation of various performance and functional requirements 
Avoid downtimes 
High availability during operation 
Open for ideas 
Simple integration of PC applications and existing know-how 
High productivity 
High performance in terms of communication, system response and data processing 
Security 
Protection of proprietary know-how and protection against unauthorized access 

SIMATIC S7-1500

Probably the fastest controller worldwide

You’ll achieve the highest productivity and product quality in your production process by using SIMATIC S7-1500 with its fast backplane bus, PROFINET performance, shortest reaction times, and a command processing time of up to 1 ns in the CPU.

Therefore the PROFINET interface with deterministic time behavior provides reproducibility and precision in the μs timeframe.   

SIMATIC S7-1200

Be flexible thanks to networking possibilities

SIMATIC S7-1200 Basic Controllers are the ideal choice when it comes to flexibly and efficiently performing automation tasks in the lower to medium performance range. They feature a comprehensive range of technological functions and integrated IOs as well as an especially compact and space-saving design.Play VideoBasic Controller: Technology Integrated – Measuring length and speed with SIMATIC S7-1200Play VideoBe flexible – thanks to networking possibilitiesPlay VideoSimply well packaged – SIMATIC S7-1200 with integrated motion control functions.