Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022 
<== Date ==> <== Thread ==>

Subject: Re: Remote I/O
From: Rolf Keitel <rolf@triumf.ca>
To: "Dalesio, Leo" <dalesio@bnl.gov>
Cc: Matthias Clausen <Matthias.Clausen@desy.de>, EPICS Tech Talk <tech-talk@aps.anl.gov>
Date: Thu, 17 Dec 2009 10:08:34 -0800
Small correction to Bob's message:

Here at TRIUMF we describe devices (including interlock specification) in an RDB.
The PLC program logic is implemented interactively using the Concept programming package.
We then take the Concept files (ASCII) and verify the PLC implementation against the specification, i.e. we do *not* generate PLC logic, but verify that the manual implementation is correct. This way we don't have to prove the correctness of code generation.

We do use the PLC information from Concept plus RDB info for generating edm device control screens.
RDB info is used to instantiate devices on a Capfast schematic, which is used for building EPICS databases.
- rolf -

TRIUMF uses the Schneider Quantum series PLCs
Dalesio, Leo wrote:
TRIUMF describes their interlocks in an RDB and generates the logic, tags, IOC database and screens from this RDB file. I think it's an interesting approach. We will shoot for the same thing using IRMIS.
I'll let you know if we also find it practical.
Bob

-----Original Message-----
From: Matthias Clausen [mailto:Matthias.Clausen@desy.de]
Sent: Wed 12/16/2009 5:08 PM
To: Dalesio, Leo
Cc: Ralph Lange; EPICS Tech Talk
Subject: Re: Remote I/O
 
Hi Bob,

Dalesio, Leo wrote:
  
This ability to define the PLC code and logic in ASCII was the primary 
reason identified by David Dudley in our choice for AB over Siemens 
and Yokogawa. Yokogawa has responded that they plan to add this ability.

Matthias - are you saying that you can do this with the Siemens PLC? 
Can you define the logic in ASCII as well?

    
I am sorry - it is not the logic itself but the memory layout of all the 
nodes on the Profibus (including the memory layout of the PLC) which we 
configure with a CSS tool. This generates a XML files which gets loaded 
to the IOC.
This was possible because we have the driver source code in our hands. 
Using the Siemens tools you will generate a binary file which will be 
loaded to the hardware board by some Windows DLLs - so no way to get 
this running on Linux or vxWorks :-(

Why would you want to cerate an ASCII file of the actual logic? Isn't 
this loaded via Ethernet to the PLC or burned into EPROM? Or are you 
loading the code to the PLCs via an IOC?
  
The cost of keeping the PLC software in synch with the IOC was 
considered significant.

    
There's a payload on both sides - the PLC and the IOC.
You need to map PLC-IO into the memory of the (PLC) communication 
controller and map another time the memory in the dual ported RAM on the 
IOC into EPICS record addresses. Both configurations (except the PLC 
program itself) can be handled with our solution.

Cheers
Matthias
  
 


-----Original Message-----
From: tech-talk-bounces@aps.anl.gov on behalf of Matthias Clausen
Sent: Wed 12/16/2009 10:02 AM
To: Ralph Lange
Cc: EPICS Tech Talk
Subject: Re: Remote I/O
 
Hi Ralph,

Ralph Lange wrote:
    
On Wed 16 Dec 2009 8:16:17 Matthias Clausen wrote:
      
Hi Nick,

[...] In our case sensors and actors are directly connected to
Profibus. The remaining I/O is connected through WaGo I/O with a
Profibus controller. Profibus driver and configuration is available
from us - even with redundancy support...
        
Hi Matthias,

is that using the 1996 IPAC-Profibus Interface that is listed in the
hardware support database on the EPICS web site?
      
no - it's a new driver which support the Softing PC 104 cards. Softing
is now producing also a Compact PCI card for us.
There's a special firmware available which supports redundant Profibus
connections and fail-over - in conjunction with the redundant IOC.

Configuring Profibus (DP - or PA) is quite complicated. You have to map
memory space of the I/O devices into the DPM on the IOC. So you need to
configure your records's addresses in a way that they match with the DMP
layout.
We have developed a configuration tool in CSS which creates an XML file.
(Like the Siemens 'Step 7' tool) This file is parsed on the IOC and
creates the memory layout in the DPM. The EPICS records get their
Profibus address from a reference in the configuration database. (When
the db files gets created)

We should finally write some documentation about it ;-))

Thanks
-Matthias
    
Ralph

      
-- 
------------------------------------------------------------------------
Matthias Clausen                         Cryogenic Controls Group(MKS-2)
phone:  +49-40-8998-3256                Deutsches Elektronen Synchrotron
fax:    +49-40-8994-3256                                    Notkestr. 85
e-mail: Matthias.Clausen@desy.de                           22607 Hamburg
WWW-MKS2.desy.de                                                 Germany
------------------------------------------------------------------------


    

  


-- 
+-------------------------------------------------------+
| Rolf Keitel, Ph.D.                Tel: (604) 222-7453 |
| Division Head, Engineering        Fax: (604) 222-7307 |
| TRIUMF                                                |
| Vancouver, B.C., Canada                               |
+-------------------------------------------------------+


References:
Remote I/O nick.rees
Re: Remote I/O Matthias Clausen
Re: Remote I/O Ralph Lange
Re: Remote I/O Matthias Clausen
RE: Remote I/O Dalesio, Leo
Re: Remote I/O Matthias Clausen
RE: Remote I/O Dalesio, Leo

Navigate by Date:
Prev: Re: Remote I/O Chris Timossi
Next: Re: Remote I/O Dave Reid
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022 
Navigate by Thread:
Prev: RE: Remote I/O Dalesio, Leo
Next: Re: Remote I/O David Dudley
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·