ASYN based S7 PLC Driver Jignesh Patel

Slides:



Advertisements
Similar presentations
1 1999/Ph 514: Channel Access Concepts EPICS Channel Access Concepts Bob Dalesio LANL.
Advertisements

Fall 2014 EPICS Collaboration Meeting, Oct 2014, CEA Saclay, France © 2014, ITER Organization Page 1 Disclaimer: The views and opinions expressed.
1 ITER Standardization for Integration of local and central interlocks Riccardo Pedica PLC Based Interlock systems Workshop 4-5 December 2014 – ITER Organization.
OPC Overview OPC Device Support (PLC Gateway for 3.14) Ralph Lange – EPICS Collaboration Meeting at SLAC, April 2005.
Diagnostics and Controls K. Gajewski ESS Spoke RF Source Accelerator Internal Review.
EPICS Collaboration meeting, Pohang,, Oct 2012 Page 1IDM UID: 97W6QN Status of ITER Core Software (“CODAC Core System”) CHD/CIT/CODAC ITER Organization.
Agenda Adaptation of existing open-source control systems from compact accelerators to large scale facilities.
EPICS Collaboration meeting Fall 2012, SDD status and plansPage 1 Self-Described Data - SDD status and plans Lana Abadie, ITER CODAC.
Vision/Benefits/Introduction Randy Armstrong (OPC Foundation)
HyperTransport™ Technology I/O Link Presentation by Mike Jonas.
12-CRS-0106 REVISED 8 FEB 2013 EPICS Collaboration Meeting 2013 CSS An integrated development and runtime environment for ITER plant system local controls.
SNS Integrated Control System EPICS Collaboration Meeting SNS Machine Protection System SNS Timing System Coles Sibley xxxx/vlb.
 Intro/features  DCBD tool architecture  Software used Dynamic library loader EPICS Device support modules DCDB-server DCDB-client  RPM packages &
CODAC Core System, 2-June-2010, EPICS Collaboration Meeting Aix-en-Provence Page 1 CODAC Core System F. Di Maio ITER IO / CHD / CIT / CODAC.
EPICS Collaboration Meeting Spring 2010, Aix France, Jun 2, 2010 Page 1 ITER CODAC COntrol, Data Access and Communication System for ITER Anders Wallander.
ITER – Interlocks Luis Fernandez December 2014 Central Interlock System CIS v0.
Final Review of ITER PBS 45 CODAC – PART 1 – 14 th, 15 th and 16 th of January CadarachePage 1 FINAL DESIGN REVIEW OF ITER PBS 45 CODAC – PART 1.
1/15 G. Manduchi EPICS Collaboration Meeting, Aix-en-Provence, Spring 2010 INTEGRATION OF EPICS AND MDSplus G. Manduchi, A. Luchetta, C. Taliercio, R.
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
Final Review of ITER PBS 45 CODAC – PART 1 – 14 th, 15 th and 16 th of January CadarachePage 1 FINAL DESIGN REVIEW OF ITER PBS 45 CODAC – PART 1.
3.14 Work List IOC Core Channel Access. Changes to IOC Core Online add/delete of record instances Tool to support online add/delete OS independent layer.
Management of the LHCb DAQ Network Guoming Liu * †, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
Integrating EPICS and LabVIEW on Windows using DCOM Freddie Akeroyd ISIS Computing Group.
EPICS EPICS Limitations Bob Dalesio Marty Kraimer.
EPICS Release 3.15 Bob Dalesio May 19, Features for 3.15 Support for large arrays - done for rsrv in 3.14 Channel access priorities - planned to.
Virtual Machines Created within the Virtualization layer, such as a hypervisor Shares the physical computer's CPU, hard disk, memory, and network interfaces.
ITER Update, 11-Oct-2010, EPICS Collaboration Meeting Brookhaven Page 1 ITER Update F. Di Maio ITER IO / CHD / CIT / CODAC.
EPICS Collaboration Meeting, 05-Oct-2011, Willingen Page 1 ITER Tools Franck Di Maio, Lana Abadie CHD/CSD/CODAC ITER Organization.
EPICS Development for the ASKAP Design Enhancements Program ASTRONOMY AND SPACE SCIENCE Craig Haskins 18 th October 2015 EPICS User Meeting – Melbourne.
Management of the LHCb Online Network Based on SCADA System Guoming Liu * †, Niko Neufeld † * University of Ferrara, Italy † CERN, Geneva, Switzerland.
An EPICS solution for Galil products that can provide a comprehensive, and high performance motor and PLC control system for use at synchrotrons and other.
B. Dalesio, N. Arnold, M. Kraimer, E. Norum, A. Johnson EPICS Collaboration Meeting December 8-10, 2004 Roadmap for IOC.
1 Channel Access Concepts – IHEP EPICS Training – K.F – Aug EPICS Channel Access Concepts Kazuro Furukawa, KEK (Bob Dalesio, LANL)
Company LOGO Network Architecture By Dr. Shadi Masadeh 1.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
Spring 2015 EPICS Collaboration Meeting, May 2015, FRIB East Lansing, MI, USA © 2015, ITER Organization Page 1 Disclaimer: The views and opinions.
Cisco I Introduction to Networks Semester 1 Chapter 6 JEOPADY.
Monitoring Dynamic IOC Installations Using the alive Record Dohn Arms Beamline Controls & Data Acquisition Group Advanced Photon Source.
Using COTS Hardware with EPICS Through LabVIEW – A Status Report EPICS Collaboration Meeting Fall 2011.
UNICOS-CPC course - CERN EN/ICE Industrial Controls Engineering Department Deployment of the CPC6 control application Marc Quilichini
Combining safety and conventional interfaces for interlock PLCs
Instructor Materials Chapter 1: LAN Design
Architectures of Digital Information Systems Part 1: Interrupts and DMA dr.ir. A.C. Verschueren Eindhoven University of Technology Section of Digital.
JavaIOC Overview and Update
Status of I&C System Development for ITER Diagnostic Systems in Japan
HyperTransport™ Technology I/O Link
by Prasad Mane (05IT6012) School of Information Technology
Protocols and the TCP/IP Suite
Chapter 5: Switch Configuration
Cover page.
Status of Fast Controller EPICS Supports for ITER Project
F. Di Maio ITER IO / CHD / CIT / CODAC
SCADA Communication and Architecture Principles
Chapter 8: Monitoring the Network
Control System Studio (CSS)
COntrol, Data Access and Communication System for ITER
Net 323 D: Networks Protocols
Network Architecture By Dr. Shadi Masadeh 1.
AIMS Equipment & Automation monitoring solution
PLCs integration into the ICS
Channel Access Concepts
Protocols and the TCP/IP Suite
Computer Networking A Top-Down Approach Featuring the Internet
Automation of Control System Configuration TAC 18
New Tools In Education Minjun Wang
Chapter 13: I/O Systems.
Channel Access Concepts
Transport Layer 9/22/2019.
OPC UA and EPICS Introduction
Presentation transcript:

ASYN based S7 PLC Driver Jignesh Patel Ralph Lange, Bruno Evrard, Prasad Sawantdesai* ITER Organization Control System Division *Tata Consultancy Services

Contents Slow Controller development s7PLCAsyn Driver Slow Controllers : S7 PLCs Data flow – System Perspective s7PLCAsyn Driver Status and Features Communication Model CODAC Frame Redundant PLCs Event Interface Standard PLC Software Structure (SPSS) Development and Integration PLC Application Development Workflow SDD Generated Software Unit Deployment Plan

ITER’s Slow Controller: S7 Hardware catalogue defines S7 for Slow Controller S7-400 & S7-300, Fail Safe (F), High availability(H) CODAC Core System uses the PSI S7PLC + ITER Extension support and the newly developed s7PLCAsyn support

Data Flow

s7PLCAsyn status Latest release will be v1.3 with CODAC Core System v5.3, in distribution from CCSv5.0 Support existing driver functionality i.e. Block transfer with ITER Extensions, new features Single PLC Redundant PLCs Different communication channels state & configuration, simple command, event CODAC Frame in block transfer – to support system health monitoring and smooth integration

s7PLCAsyn status Native S7 protocol support using nodave (Block, single variable)(cont...) ISO-on-TCP support using interpose layer (cont...) ……

s7PLCAsyn Features Modular design due to ASYN Generic ASYN device support on top of drvAsynIPPortDriver Swappable Low level protocol drivers without changing EPICS database i.e. INP and OUT links are independent from the protocol being used Scalable for new features and protocols

Communication Model

Communication Model

Communication Model – PLC to PLC IOC Interface States (from PLC) as fast as possible 50ms for Redundant PLCs State CODAC Frame Configuration (to PLC) Every 100ms, on change Configuration Control on start of IOC to avoid reset of PLC using auto save functionality Simple Commands (to PLC) Sets a Boolean variable to “TRUE”, using “HIGH” field for reset. Push-button like functionality Event (from PLC) Time-stamped bool events, on change Captures all changes in PLC with PLC cycle resolution Event CODAC Frame

Redundant PLCs Port driver uses two TCP connections to Redundant PLCs using IPPort driver i.e. state/configuration channel and Simple Command channel Records get processed from PLC states with latest time stamps, old timestamp ignored. Online Redundancy management using the redundancy status bits sent from PLC Configuration and Simple commands always sent to both PLCs if live and active

Event Interface Its similar to state interface with some special characteristics. Interface to capture time stamped Boolean events with order of occurrence. Time stamped with PLC cycle resolution. Useful for post diagnostics in case of chain of actions happening fast. Virtually there is no traffic in absence of Events Heart beat packet sent by PLC to maintain connection status, but does not trigger record processing.

CODAC Frame Part of State and Event channel block transfer Supported by SPSS (Standard PLC Software Structure), nothing but standard PLC Application PLC Timestamps Communication Block length Alive counter (states), Frame counter (event), Heartbeat (event) Application version to ensure consistency between PLC and IOC (states) Redundancy status i.e. Master, Slave, Active, Valid (states) Header, Footer NTP status bit (event) (partial)

Standard PLC Software Structure (SPSS) PLC Software package, deployed on all PLCs Implements common architecture for the PLC Software structured communication mechanism between the PLC and the PSH Implements communication Interface with CODAC PLC Interface – OpenIE (TSEND, TRECV) CP Interface – send/receive (AG_SEND, AG_SECV, AG_LSEND, AG_LRECV) SPSS Packages are part of CCS release PLC_Interface CP_Interface PLCCP_Interface Redundant_PLC (CP Interface)

Standard PLC Software Structure (SPSS)

PLC Application Development Workflow SDD – Self Description Data toolkit

SDD Generated Software Unit EPICS Records EPICS PLC IOC Alarms Configuration Archives Configuration Generated HMI PLC Interface files awl - interface data blocks sdf - symbol definitions xlsx - variable table

m-<I&C_Project_Name>/ (S7 Program Standard Template) Deployment Mini-CODAC PSH PSH IOC PLC IOC PLC Communication OPIs Alarm Server Archive Engine Processing I/O Local SDD SDD Editor SDD Translator: m-<I&C_Project_Name>/ Local File System SPSS (S7 Program Standard Template) /opt/codac/step7/STEP7/<SPSS>.zip CODAC Interface Files (AWL and SDF) src/main/plc/ (EPICS DB and IOC) src/main/epics

Plan Improve redundant driver - lagging tight control/coupling over two IP Port connection made to two redundant PLCs Complete full featured implementation of S7 protocol support Solution to overcome 32K data block limit of send/recv communication To make available pure ASYN S7 driver (independent to CODAC) ….