9
CEA DSM Irfu - Pierre MATTEI SIS / LDISC - 19/07/2013 1 Communication between EPICS and PLCs

CEA DSM Irfu - Pierre MATTEI SIS / LDISC -19/07/2013 1 Communication between EPICS and PLCs

Embed Size (px)

DESCRIPTION

CEA DSM Irfu Spiral 2 Achieved with Modbus driver support and Asyn module (Marc Rivers) - Pierre MATTEI SIS / LDISC -19/07/2013 3

Citation preview

Page 1: CEA DSM Irfu - Pierre MATTEI SIS / LDISC -19/07/2013 1 Communication between EPICS and PLCs

CEA DSM Irfu - Pierre MATTEI SIS / LDISC - 19/07/2013 1

Communication between EPICS and PLCs

Page 2: CEA DSM Irfu - Pierre MATTEI SIS / LDISC -19/07/2013 1 Communication between EPICS and PLCs

CEA DSM Irfu

Projects

o SPIRAL 2 project (2008) :• Modbus TCP protocol / Siemens PLCs VME & Linux platforms

o IFMIF project (2009) :• OPC server / Siemens PLCs

windows platform

o IPHI project (1998) Source renewal (2011)• S7PLC / Siemens PLCs Linux platform

- Pierre MATTEI SIS / LDISC - 19/07/2013 2

Page 3: CEA DSM Irfu - Pierre MATTEI SIS / LDISC -19/07/2013 1 Communication between EPICS and PLCs

CEA DSM Irfu

Spiral 2

• Achieved with Modbus driver support and Asyn module (Marc Rivers)

- Pierre MATTEI SIS / LDISC - 19/07/2013 3

Page 4: CEA DSM Irfu - Pierre MATTEI SIS / LDISC -19/07/2013 1 Communication between EPICS and PLCs

CEA DSM Irfu

Source & LEBT in Grenoble

- Pierre MATTEI SIS / LDISC - 19/07/2013 4

Page 5: CEA DSM Irfu - Pierre MATTEI SIS / LDISC -19/07/2013 1 Communication between EPICS and PLCs

CEA DSM Irfu

IFMIF-EVEDA

• Achieved with the Epics OPC device support (C. Winkler and B. Kuner from BESSY)

• The OPC server, connected with PLCs, is hosted by an insdustrial PC (Siemens) running microSoft XPE

• A win32 softIoc with Epics OPC device is also executed on the same platform.

• Communication between OPC server and Epics OPC client is established using the µsoft DCOM protocol.

• Process Variables are available on the network with the Epics Channel Access Protocol.

- Pierre MATTEI SIS / LDISC - 19/07/2013 5

Page 6: CEA DSM Irfu - Pierre MATTEI SIS / LDISC -19/07/2013 1 Communication between EPICS and PLCs

CEA DSM Irfu

IFMIF-EVEDA

- Pierre MATTEI SIS / LDISC - 19/07/2013 6

Page 7: CEA DSM Irfu - Pierre MATTEI SIS / LDISC -19/07/2013 1 Communication between EPICS and PLCs

CEA DSM Irfu

IPHI : Source Renewal

• The first work was done with S7tcp SLS product (2000) on a VME platform.

• We are now moving to the S7plc EPICS driver (D. Zimoch/SLS) where the driver and the PLC periodically exchange data over the network using fixed size data block.

• The source SILHI is now available under S7plc and we have now to renew the whole installation : RFQ and LEBT.

- Pierre MATTEI SIS / LDISC - 19/07/2013 7

Page 8: CEA DSM Irfu - Pierre MATTEI SIS / LDISC -19/07/2013 1 Communication between EPICS and PLCs

CEA DSM Irfu

Source & LEBT

- Pierre MATTEI SIS / LDISC - 19/07/2013 8

Page 9: CEA DSM Irfu - Pierre MATTEI SIS / LDISC -19/07/2013 1 Communication between EPICS and PLCs

CEA DSM Irfu

Conclusion

We used Modbus/TCP, OPC server and S7PLC to establish the communication between PLCs and Epics applications.

• Modbus for Siemens PLCs is a « ligth » driver : we don’t have all functions - databases are not easy to design.

• OPC server is an industrial solution but only runs on windows operating systems.

• S7PLC seems to be a good solution for Epics platforms : easy to configure and to use.

- Pierre MATTEI SIS / LDISC - 19/07/2013 9