irmis at cls
DESCRIPTION
IRMIS at CLS. Elder Matias, Diony Medrano, Dong Liu. Where is Saskatoon?. Saskatchewan Accelerator Laboratory . Originally established in 1964 as the Saskatchewan Accelerator Laboratory (SAL). Canadian Light Source. In 1999 the SAL accelerator was re-purposed as an injector for the CLS - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: IRMIS at CLS](https://reader035.vdocument.in/reader035/viewer/2022062323/56816688550346895dda3bad/html5/thumbnails/1.jpg)
Elder Matias, Diony Medrano, Dong Liu
IRMIS at CLS
![Page 2: IRMIS at CLS](https://reader035.vdocument.in/reader035/viewer/2022062323/56816688550346895dda3bad/html5/thumbnails/2.jpg)
Where is Saskatoon?
![Page 3: IRMIS at CLS](https://reader035.vdocument.in/reader035/viewer/2022062323/56816688550346895dda3bad/html5/thumbnails/3.jpg)
Saskatchewan Accelerator Laboratory
• Originally established in 1964 as the Saskatchewan Accelerator Laboratory (SAL)
![Page 4: IRMIS at CLS](https://reader035.vdocument.in/reader035/viewer/2022062323/56816688550346895dda3bad/html5/thumbnails/4.jpg)
Canadian Light Source
• In 1999 the SAL accelerator was re-purposed as an injector for the CLS
• Between 1999-2003 a new booster and storage ring was constructed.
![Page 5: IRMIS at CLS](https://reader035.vdocument.in/reader035/viewer/2022062323/56816688550346895dda3bad/html5/thumbnails/5.jpg)
CLS USES IRMIS ASA CONTROL SYSTEM
SEARCH TOOLI
![Page 6: IRMIS at CLS](https://reader035.vdocument.in/reader035/viewer/2022062323/56816688550346895dda3bad/html5/thumbnails/6.jpg)
IRMIS Search Tool(Current use at CLS)
• IRMIS supports our ability to search for IOCs based on PV names
• To accomplish this we use a modified pvCrawler from the original IRMIS release
• A simple web-interface written in PHP
![Page 7: IRMIS at CLS](https://reader035.vdocument.in/reader035/viewer/2022062323/56816688550346895dda3bad/html5/thumbnails/7.jpg)
PV search system architecture
![Page 8: IRMIS at CLS](https://reader035.vdocument.in/reader035/viewer/2022062323/56816688550346895dda3bad/html5/thumbnails/8.jpg)
pvCrawler - Linux based IOC(Current use at CLS)
• Moxa (used for serial or USB devices)• Intel (using optical Links to VME crates)• Applications located on a central file
server, NFS mounted as /IOCApps
• IRMIS crawls the NFS mount for db information
![Page 9: IRMIS at CLS](https://reader035.vdocument.in/reader035/viewer/2022062323/56816688550346895dda3bad/html5/thumbnails/9.jpg)
pvCrawler RTEMS based IOC(Current use at CLS)
• Primarily diskless machines• Programming comes off the central file
servers using bootp
• IRMIS crawls the bootp directory for db information
![Page 10: IRMIS at CLS](https://reader035.vdocument.in/reader035/viewer/2022062323/56816688550346895dda3bad/html5/thumbnails/10.jpg)
pvCrawler(future enhancement)
• Ability to identify source files that make use of a PV:– EDM Files– CSS Alarm Handler– EPICS State Notation Language– EPICS Gateways– EPICS Data Archiver– Matlab Code (accelerator toolbox)– Python Code (used on the beamlines)– AutoCAD Drawings
![Page 11: IRMIS at CLS](https://reader035.vdocument.in/reader035/viewer/2022062323/56816688550346895dda3bad/html5/thumbnails/11.jpg)
Potential benefit
• Motivation for additional crawlers:– Tool used to identify the impact of changes
(critical for maintenance activities)– Database can then be scanned for
consistently:• Identify dead-pv’s that are not used anymore• Use of incorrect data types/attributes• Other consistency/correctness checks?
![Page 12: IRMIS at CLS](https://reader035.vdocument.in/reader035/viewer/2022062323/56816688550346895dda3bad/html5/thumbnails/12.jpg)
GENERATING DB FILES
I
![Page 13: IRMIS at CLS](https://reader035.vdocument.in/reader035/viewer/2022062323/56816688550346895dda3bad/html5/thumbnails/13.jpg)
For Modicon PLCs(currently not part of IRMIS)
• Modcion Momentum PLC variables follow a standard naming convention
• An awk script parses the PLC variable list, and uses template substitution files to generate epics definitions
• We currently don’t generate configuration files for the data archiver or EDM screens, however it is done by other labs, e.g., TRIUMF
![Page 14: IRMIS at CLS](https://reader035.vdocument.in/reader035/viewer/2022062323/56816688550346895dda3bad/html5/thumbnails/14.jpg)
Current Process for Generating PV from PLCs
PLCProject
FileModiconConcept
VariableList
CLS AwkScript
Generated*.sub files
Standard *.tpl files
IOC build
*.db files
• Process driven by Make files• Current limitations:
– Alarm limits, variable descriptions are hardcoded into the tpl (templates)
– Attributes of PV are hidden and notvisible to users
• Could IRMIS do a better job?
![Page 15: IRMIS at CLS](https://reader035.vdocument.in/reader035/viewer/2022062323/56816688550346895dda3bad/html5/thumbnails/15.jpg)
CABLES DATABASE
I
![Page 16: IRMIS at CLS](https://reader035.vdocument.in/reader035/viewer/2022062323/56816688550346895dda3bad/html5/thumbnails/16.jpg)
Cables Database
• History of Cables Database– Original implementation on PDP-11– Converted to SunOS/PostgreSQL– 1999 Converted to MS-SQL Server– Now being converted to Java
• Critical features is each cable being numbered
![Page 17: IRMIS at CLS](https://reader035.vdocument.in/reader035/viewer/2022062323/56816688550346895dda3bad/html5/thumbnails/17.jpg)
Cable search system architecture
![Page 18: IRMIS at CLS](https://reader035.vdocument.in/reader035/viewer/2022062323/56816688550346895dda3bad/html5/thumbnails/18.jpg)
Requirements Capture
• We currently capture control systems requirements on PID drawings and word documents
• Longer-term we want to move towards computerised requirements management that makes use of integrated change control and configuration management
![Page 19: IRMIS at CLS](https://reader035.vdocument.in/reader035/viewer/2022062323/56816688550346895dda3bad/html5/thumbnails/19.jpg)
MKS
• We use MKS as our configuration management tool and for change requests
• We also group change requests into “work packages” (aka a project) with a project charter.
• Our next step is to start to capture requirements and provide the traceability from requirements, down to the implementation
![Page 20: IRMIS at CLS](https://reader035.vdocument.in/reader035/viewer/2022062323/56816688550346895dda3bad/html5/thumbnails/20.jpg)
Example of PID Drawings
![Page 21: IRMIS at CLS](https://reader035.vdocument.in/reader035/viewer/2022062323/56816688550346895dda3bad/html5/thumbnails/21.jpg)
MKS Architecture(slide courtesy of MKS a PTC Company)
Input Document
Request for Change
Change Order
Work Item
Implemented By
Change Orders
Change Package
Configuration & Change Management
Project
Requirements Document
Specification Document
Test Suite
Input
Requirement
Specification
Test Case
Test Step
Product
Portfolio
Test Plan
Test Objective
Test Session
Test Result
Change Package
Defect
Document & Requirements Management
Validated By
Validated By
Satisfied By
Decomposes To
Test Steps
Work Items
Documented By
Test Plans
Test Objectives
Test Objective
Test Management
Tests
Planned Tests
Manages Manages
Product
MKS Integrity Logical Architecture
Portfolio Management
Legend
Item
Document
Metadata
Trace
Relationship
Source Code
Currently used by CLS
Currently being evaluatedby CLS
![Page 22: IRMIS at CLS](https://reader035.vdocument.in/reader035/viewer/2022062323/56816688550346895dda3bad/html5/thumbnails/22.jpg)
ELECTRONIC LOGBOOK
I
![Page 23: IRMIS at CLS](https://reader035.vdocument.in/reader035/viewer/2022062323/56816688550346895dda3bad/html5/thumbnails/23.jpg)
Electronic Logbook
• We use the TRIUMF electronic logbook system.
• Simple web interface and fairly simple implementation
• Mostly implemented in Perl running on top of PostgreSQL.
![Page 24: IRMIS at CLS](https://reader035.vdocument.in/reader035/viewer/2022062323/56816688550346895dda3bad/html5/thumbnails/24.jpg)
Science Studio/ANISE