dmc siemens automation summit 2014 presentation: extending s7 plc through winac

52
Restricted © Siemens Industry, Inc. 2014 All rights reserved. usa.siemens.com/summit Automation Summit A User Conference - June 23 – 25, 2014

Upload: dmc-inc

Post on 24-Jun-2015

514 views

Category:

Engineering


3 download

DESCRIPTION

In this presentation, Alex Krejcie discusses extending S7 PLC through WinAC.

TRANSCRIPT

Page 1: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Restricted © Siemens Industry, Inc. 2014 All rights reserved. usa.siemens.com/summit

Automation SummitA User Conference - June 23 – 25, 2014

Page 2: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Restricted © Siemens Industry, Inc. 2014 All rights reserved. usa.siemens.com/summit

Alex KrejcieExtending S7 PLC through WinAC

Page 3: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Presenter InfoAlex Krejcie

Project Engineer

Siemens Certified Professional

M.S. in Mechanical Engineering

University of Illinois in Urbana-Champaign

B.S. in Mechanical Engineering

University of Illinois in Urbana-Champaign

With DMC since 2011

Page 4: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

DMC Company Profile

Industries Served:

Automotive

Chemical and Food

Processing

Electronics/Semicondu

ctor

Hydraulics

Laboratory Testing

Machine Tool

Material Handling

Metal Converting

Packaging

Pharmaceutical

Printing & Textiles

Established in 1996, offices in Chicago, Boston & Denver & customers throughout

the world

employees & growing

70+

Page 5: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

MANUFACTURINGAUTOMATION & INTELLIGENCE

PLC Programming

Motion Control Engineering &Servo Systems

HMI & SCADA Expertise

Intelligent Data& Web BasedSystems

Vision Inspection Expertise

Robotics

Page 6: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

TEST & MEASUREMENT AUTOMATION

NI FPGA

LabVIEW Development

Test Stand Design

Machine Vision

Data Analysis & Reporting

NI Real-Time

Page 7: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

CUSTOM SOFTWARE& HARDWARE DEVELOPMENT

PC Application Development

Product Development

Web Application, iOS, Android & App Development

Embedded Design & Programming

SDK, API & Driver Development

Database Systems

Page 8: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

MICROSOFT CONSULTING SERVICES

10

10

5

5

INDIVIDUAL CERTIFICATIONS

Page 9: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Agenda

• WinAC Features• WinAC ODK• Advantages and Applications

• Questions?

Page 10: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

If your PC can do it, so can your PLC

Page 11: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

PLC vs PC

Page 12: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

What is WinAC?

Page 13: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

What is WinACPC with a PLC heart

Page 14: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Features

Page 15: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Features• STEP 7 V5.x and TIA Portal compatibility

Page 16: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Features• Virtual Panel

Page 17: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

FeaturesNanobox

Microbox

Rack Mount

Panel PC

Any standard PC

Page 18: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Features• Profibus/Profinet onboard

Page 19: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Features• Real-time deterministic processing

• Safety Rated (WinAC RTX F)

EN 954-1 -> Cat. 4

IEC 62061 -> SIL 3

EN ISO 13849-1 -> PL e

Page 20: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Features

Page 21: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Features?

Page 22: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Features• Kernel Level Implementation

Page 23: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

WinAC ODK

Page 24: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

WinAC ODK

Page 25: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

WinAC ODK

ODK

CCX - Custom Code eXtension SMX - Shared Memory eXtension CMI - Controller Management Integration

Page 26: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

WinAC ODKCMI

• Controller Management Integration (CMI) provides the WinAC control panel functions for PC applications

Functions• Connect to PLC• Check Supported

Features• Get/Set Attributes

• Mode (Run/Stop)• LEDS• AutoStart• Memory Card File

• Register for Changes

Page 27: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

WinAC ODKSMX

• Shared Memory eXtension (SMX) exchanges data fast between WinAC and the Windows application

Page 28: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

SMX

Pros• Fast!• Simple to Implement• Behaves like I/O

Cons• Limited to 4KB Input and 4KB Output

• Memory is Read-Only and Write-Only

• No Data Consistency

Page 29: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

WinAC ODKCCX

• Custom Code eXtension (CCX) calls high-level language routines from the WinAC control program

Page 30: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

CCX

Pros• Flexible• Choice of Operation

Synchronously Asynchronously Continuously

• Data Consistency• Access to Data Blocks

Cons• More Complex• Slower

Page 31: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Windows vs Real-Time Core

Windows (dll) Real-Time (rtss/rtdll)

Page 32: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Languages

Windows (dll)• C#• VB• C/C++

Real-Time (rtss/rtdll)• C/C++• Matlab Plugin (C+

+)

Page 33: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Advantages and Applications

Page 34: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Advantages and Applications

Totally Integrated

Device Integration

Database Access

.NET Framework

Web Services

Simplified Development

Page 35: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Totally NOT Integrated

Page 36: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Totally Integrated

Page 37: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Totally Integrated

Page 38: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Device Integration

Page 39: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Device IntegrationUSB devices/converters

• C/C++ rtdll/dll direct to driver

Page 40: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Device IntegrationPCI Cards

• C/C++ logic to device• Fieldbus Cards

• Hilscher, ESD, IXXAT• Data Acquisition

• ADDI-Data, United Electronic Industries, National Instruments

Page 41: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Device IntegrationBluetooth Anki demo

• C# communication logic <-> Bluetooth 4.0 USB dongle

Page 42: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Database AccessC# application with .NET Library or LINQ to SQL

• Log and/or retrieve complex data

• Can replace OPC Server with bridge to database, or HMI plugins

• Multiple databases local and/or remote

• Different management systems (SQL, Oracle, MySQL etc.)

Page 43: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

.NET FrameworkWPF/Win Forms/DirectX User Interface• Completely Customizable• Much higher development cost!

Page 44: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

.NET FrameworkBackground Services

• WCF (Windows Communication Foundation)• Allows remote connection by other computers/processes

• System and File Access

• Complex Algorithms (math packages)• Lookup Tables• Large Memory Requirements

Page 45: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Web Services• Headless ASP.NET website acting as an HMI• Email Alerts• Access to website APIs (google voice

commands)• Post to your twitter feed or share your

machines status on Facebook!

Page 46: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Simplified development

Wide support of windows drivers and applications

Large knowledgebase of “conventional” programming languages

Page 47: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Simplified developmentEasy conversion between existing projects and examples

Large pool of experienced developers and support

Page 48: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Simplified development

Separation of concerns

“DO_SOMETHING_AWESOME!”

Page 49: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Final ThoughtsDMC collectively has 10,000+ hours of experience working on the WinAC platform.

It’s not the right solution for every project, but for the ones it’s right for, it is so right.

Page 50: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

If your PC can do it, so can your PLC…with WinAC!

Page 51: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Questions?

Page 52: DMC Siemens Automation Summit 2014 Presentation: Extending S7 PLC Through WinAC

Restricted © Siemens Industry, Inc. 2014 All rights reserved. usa.siemens.com/summit

Alex Krejcie312.255.8757 (ext. 129)[email protected]