60 likes | 67 Views
This tool generates device names, hardware types, and instance parameters for Capfast devices, allowing for easy instantiation and interlock visualization and verification. It follows EPICS naming conventions and provides interface definitions. The tool also includes interlock verification steps and control functionalities.
E N D
Capfast device Instantiation from RDB Generated from relational data base Macros for:- device names- hardware types- instance params Hardware addresses only at this level
PLC – interlock visualization / verification • Naming convention EPICS <<>> PLC • Interface definition EPICS <<>> PLC • 16-bit status register • 8 interlock status bits • each interlock status bit can be a summary (..AND..AND…)
Step-by-step • Capture interlock spec in RDB • Program PLC (Modicon, Modsoft) • Print PLC program to file • Perl tool mod2cp >>> meta file • Perl tool AdlBuild >>> .adl files • Report interlocks from RDB • Perl tool ModCheck >>> interlock verification Steps 1, 4, 5, 6, 7 integrated in web-app
On/off control Interlock ok summary Interlock bypass • Device with 1-bit control
Time:10:15:25 Date:11/09/04 Segment: 05 Network: #00093 Page: 99 • Time: 10:15:25 Date: 11/09/04 ISAC2_VE.ENV Page: 100 • Segment: 05 Network: #00094 • |IMSRV25_BA IMSRV25_BA IMSRV25_BA IMSRV25_BA IMSRV25_BA IMSRV25_BA IMSRV25_BA IMSRV25_ST • |D1 D2 D3 D4 D6 D7 D8 ATINT • 1+--+/+--------+/+--------+/+-----+--+/+-----+--+/+--------+/+--------+/+-----+---( ) • | 013120 013119 013118 | 013117 | 013115 013114 013113 | 013106 • |device bad device bad device bad|device bad|device bad device bad device bad|device • |interlock interlock interlock |interlock |interlock interlock interlock |interlock • |stat stat stat |stat |stat stat stat |status • | | | | • | |IMSRV25_BA| | • | |D5 | | • 2+ +--+/+-----+ | • | 013116 | • | device bad | • | interlock | • | stat | • | | • |IMSRV25_ST | • |ATON | • 3+--+ +-----------------------------------------------------------------------+ • | 013110 • |device on • |status • | • 4+ • | • | • |IMSRV25_DR IMSRV25_SP • |VOFF ARE4 • 5+--+ +-----+---( ) • | 021106 | 024044