68 lines
2.6 KiB
Batchfile
Executable File
68 lines
2.6 KiB
Batchfile
Executable File
#!../../bin/linux-x86_64/EC-GN
|
|
#+======================================================================
|
|
# $HeadURL: https://svnpub.codac.iter.org/codac/iter/codac/dev/units/m-epics-iter-templates/branches/codac-core-6.1/templates/genericBoot/ioc/st.cmd $
|
|
# $Id: st.cmd 96475 2019-01-09 13:47:38Z sivecm $
|
|
#
|
|
# Project : CODAC Core System
|
|
#
|
|
# Description : ITER ioc template EPICS start up file
|
|
#
|
|
# Author(s) : This file was generated by CODAC development toolkit
|
|
#
|
|
# Copyright (c) : 2010-2019 ITER Organization,
|
|
# CS 90 046
|
|
# 13067 St. Paul-lez-Durance Cedex
|
|
# France
|
|
#
|
|
# This file is part of ITER CODAC software.
|
|
# For the terms and conditions of redistribution or use of this software
|
|
# refer to the file ITER-LICENSE.TXT located in the top level directory
|
|
# of the distribution package.
|
|
#
|
|
#-======================================================================
|
|
|
|
< envPaths
|
|
< envSystem
|
|
< envUser
|
|
|
|
cd "${TOP}"
|
|
|
|
############################################################################
|
|
## Register all support components
|
|
############################################################################
|
|
|
|
dbLoadDatabase "dbd/EC-GN.dbd"
|
|
EC_GN_registerRecordDeviceDriver pdbbase
|
|
|
|
< "${TOP}/iocBoot/iocEC-GN-PCF0SYSM/sddPreDriverConf.cmd"
|
|
< "${TOP}/iocBoot/iocEC-GN-PCF0SYSM/userPreDriverConf.cmd"
|
|
< "${TOP}/iocBoot/iocEC-GN-PCF0SYSM/threadSchedulingConf.cmd"
|
|
< "${TOP}/iocBoot/iocEC-GN-PCF0SYSM/dbToLoad.cmd"
|
|
< "${TOP}/iocBoot/iocEC-GN-PCF0SYSM/iocEC-GN-PCF0SYSM-preSaveRestore.cmd"
|
|
|
|
############################################################################
|
|
## IOC Logging
|
|
############################################################################
|
|
iocLogInit
|
|
iocLogPrefix "${STY} : "
|
|
|
|
############################################################################
|
|
## IOC initialization
|
|
############################################################################
|
|
cd "${TOP}/db"
|
|
iocInit
|
|
|
|
< "${TOP}/iocBoot/iocEC-GN-PCF0SYSM/iocEC-GN-PCF0SYSM-postSaveRestore.cmd"
|
|
< "${TOP}/iocBoot/iocEC-GN-PCF0SYSM/sddSeqToLoad.cmd"
|
|
< "${TOP}/iocBoot/iocEC-GN-PCF0SYSM/seqToLoad.cmd"
|
|
< "${TOP}/iocBoot/iocEC-GN-PCF0SYSM/sddPostDriverConf.cmd"
|
|
< "${TOP}/iocBoot/iocEC-GN-PCF0SYSM/userPostDriverConf.cmd"
|
|
|
|
|
|
dbl > "${CODAC_VAR}/iocdump/${UNIT_NAME}/${IOC_NAME}-${IOC_BOOT_TIME}.dbl"
|
|
dbla > "${CODAC_VAR}/iocdump/${UNIT_NAME}/${IOC_NAME}-${IOC_BOOT_TIME}.dbla"
|
|
dbior > "${CODAC_VAR}/iocdump/${UNIT_NAME}/${IOC_NAME}-${IOC_BOOT_TIME}.dbior"
|
|
dbhcr > "${CODAC_VAR}/iocdump/${UNIT_NAME}/${IOC_NAME}-${IOC_BOOT_TIME}.dbhcr"
|
|
|
|
#- End-of-file marker - do not delete or add lines below!
|