LCLS How-To Recover PLC Software from CVS

LCLS Directory Tree
LCLS CVS Repository
LCLS Code Management
LCLS How-To Boot an EPICS IOC
How-to Download PLC Ladder Logic
LCLS How-To Release Software

[ CVS Directory Tree

http://www.slac.stanford.edu/cgi-wrap/cvsweb??root=/afs/slac/g/lcls ]

Description

*CVS Repository *

Build Directory

EPICS IOC Applcations

epics/ioc

/afs/slac/g/lcls/epics/iocTop

EPICS Site

epics/site

[ /afs/slac/g/lcls/modules

LCLS EPICS Site Packages ]

EPICS Base

epics/base

/afs/slac/g/lcls/epics/base

EPICS Extensions

epics/extensions

/afs/slac/g/lcls/epics/extensions

EPISC IOC Boot

epics/ioc/iocBoot

/afs/slac/g/lcls/epics/ioc/iocBoot

EDM Configuration Files

tools/edm/config

/afs/slac/g/lcls/tools/edm/config

EDM Displays

tools/edm/display

/afs/slac/g/lcls/tools/edm/display

EDM Scripts

tools/edm/scripts

/afs/slac/g/lcls/tools/edm/script

Alarm Handler Configuration Files

tools/alh

/afs/slac/g/lcls/tools/alh/config

Channel Watcher Configuration Files

tools/ChannelWatcher

/afs/slac/g/lcls/tools/ChannelWatcher/config

PLC Applications

plc

built on windows. see subsystem controls engineer The refernce directory is at [ /afs/slac/g/lcls/plc

http://www.slac.stanford.edu/cgi-wrap/cvsweb/plc/?cvsroot=LCLS ]

To recover PLC software from CVS, follow the instructions below:

From a pc, on the development subnet or visitor's network:

  1. log onto your unix account on the host lcls-dev2, using an ssh client such as Putty or TeraTermPro
  2. Create a work directory if you do now have one: mkdir work
  3. Change to the top of your work directory: cd work
  4. Set the environment variable for CVSROOT: setenv CVSROOT /afs/slac/g/lcls/cvs
  5. Check out source from cvs: cvs co plc/Magnet/<nodename>
  6. From your pc desktop, using the afs client, drag the ladder logic and/or touch panel display source frm your work directory unix account to your desktop.
  7. Release software from CVS: ~cvs release plc/Magnet/<nodename>~
  8. Clean up your work directory:rm -fr plc

NOTE: Under CVS convention, the name of the ladder logic file will contain dashes, which is not allowed by RSLogix5000. Remove the dashes from the file name before opening.

  • No labels