Instrument Control Systems Seminar 2014, 20 th -24 th October 2014 ESPRESSO Instrument Control Electronics Veronica Baldini, Igor Coretti A Beckhoff PLC-based distributed architecture
Instrument Control System Seminar, 20 th -24 th October 2014 ESPRESSO Control Electronics duties MotorTypeN. Linear StageMICOS LS-658 Linear StageVT-804 Rotary StageAFW Rotary StageDT-1308 Rotary StagePRS Piezo Tip-Tilt PI – E5008 TOT38 DeviceTypeN. Digital/ Analog Sensors Lakeshores 218, 336 Sensor for Vacuum and Cryo system PT100 Temp. sensors Cabinet door sensors Power piezo controller ~100 ThAr Lamp 2 LDLS lamp 2 Laser Frequency Comb TBD1
Instrument Control System Seminar, 20 th -24 th October 2014 Cabinets allocation in the VLT CCL FRONT END UNIT VACUUM VESSEL ENCLOSURES ICP, VCS, THE, IMC, CAL CABINETS
Instrument Control System Seminar, 20 th -24 th October 2014 Front End Unit cabinets allocation Front End Unit Cabinets
Instrument Control System Seminar, 20 th -24 th October 2014 ESPRESSO Control Electronics HW Beckhoff CX2030 Basic CPU module EtherCAT field-bus ES series Bus Terminals OPC-UA installed
Instrument Control System Seminar, 20 th -24 th October 2014 Functions distribution
Instrument Control System Seminar, 20 th -24 th October 2014 ESPRESSO Motion Control ES7342 | 2-channel DC motor output stage 50 V DC, 3.5 A ES5101 | 2-channel interface terminal for incremental encoder ES1084 | 4-channel digital input terminal 24 V DC, switching to negative potential
Instrument Control System Seminar, 20 th -24 th October 2014 Device control (FEU #1 decentralized modules)
Instrument Control System Seminar, 20 th -24 th October 2014 Beckhoff TwinCAT 3 Only one software for programming and HW configuration Visual Studio® integration (like it or hate it! ) Support for the object-oriented extension of IEC C/C++ run under the same runtime as PLC programs Matlab/Simulink interface TwinCAT/EtherCAT Sessions, VLT ICS Seminar
Instrument Control System Seminar, 20 th -24 th October 2014 ESPRESSO PLC TwinCAT SW 2 CPU, 2 TwinCAT Project: PESICS1 ( CPU #1, FEU functions ) PESICS2 ( CPU #2, other functions – Cal.Unit,...)
Instrument Control System Seminar, 20 th -24 th October 2014 ESPRESSO PLC TwinCAT SW PLC projects MAIN PLC project Standard devices libraries Libraries provided by ESO ( Common_TC3.lib, Motor_TC3.lib, Lamp_TC3.lib, IODev_TC3, LDLS_TC3...) Special devices libraries Provided by us ( Shutter.lib ) Variables stored by type: Enumerated Structure Visualizations Control template
Instrument Control System Seminar, 20 th -24 th October 2014 ESPRESSO PLC TwinCAT SW HW configuration Motors axis parameters Default velocity, acceleration, jerk,...
Instrument Control System Seminar, 20 th -24 th October 2014 ESPRESSO TwinCAT libraries examples ESO Motor library Motor PLC configuration panel Motor PLC control panel
Instrument Control System Seminar, 20 th -24 th October 2014 ESPRESSO TwinCAT libraries examples Shutter PLC control panel Shutter library PLC: interface between NGC and 3 shutters Open/Close CMD from NGC Configuration set from WS Control panel for maintenance Shutter control system
Instrument Control System Seminar, 20 th -24 th October 2014 TwinCAT - impressions Important to have TwinCAT and Visual Studio versions aligned between users Useful to store parameters in NOVRAM memory TwinCAT 3 in Visual Studio may give problems sometimes with the visualizations (youth problems?) Care with libraries managment and libraries dependencies
Instrument Control System Seminar, 20 th -24 th October 2014 Conclusions and suggestions for the future We had very constructive suggestions and help from ESO for the development and testing of the ESPRESSO PLC projects! TwinCAT 3 ESO projects tutorial could be useful for the future Project files name policy Twincat project folder organization (template) Software versioning and revision control system: SVN? SVN tutorial ? Right place to archive the PLC code?
Instrument Control Systems Seminar 2014, 20 th -24 th October 2014 ESPRESSO Instrument Control Electronics Veronica Baldini, Igor Coretti A Beckhoff PLC-based distributed architecture Thank you!