################################################################################
#
#  Install subject: swd : Bosch Serial Link add-on package
#  $Revision: 1.6 $
#
# MODIFICATIONS
# $Log: install_bosch_c.cmd,v $
# Revision 1.6  2001/12/06 19:01:29  SIGADMIN
# Patch: tose0612H16M08S22 Solved SPR: 1009851 Test status: SY Log: Removed query for IO board, install default simulated board.;
#
# Revision 1.6  2001/12/06 15:07:00  tose
# Removed query for IO board, install default simulated board.
#
# Revision 1.5  2000-05-29 11:53:00+02  tose
# Modified and one new file.
#
# Revision 1.4  1999-10-08 09:23:14+02  tojoh
# Changed init -entry to invoke -entry
#
# Revision 1.3  1999-06-08 09:41:30+02  tojoh
# Removed ram1disk:
#
# Revision 1.2  1998-03-24 11:16:01+01  elhu
# Patch: elhu2403H11M15S28  Solved SPR: . Test status: NT Log: Singel weldtimer according to MultiGun concept
#
# Revision 1.1  1997/02/19  10:00:31  joha
# Initial revision
#
# Revision 1.4  1997/02/06  18:52:48  hekn
# Patch: hekn0602H19M51S27  Solved SPR:  Test status: SY Log: Init of poll rate change in opt2_bos.cmd
#
# Revision 1.3  1997/01/16  12:46:48  elhu
# Nadex inserted.
#
# Revision 1.2  1996/10/25  08:08:49  hekn
# Patch: hekn2510H10M07S07  Solved SPR: S961560 Test status: NT Log: Internal / external swsiob in S4C, RTP1 removed from config
#
# Revision 1.1  1996/09/06  11:37:17  elhu
# Initial revision
#
# Revision 1.3  1996/06/12  08:47:44  elhu
# Patch: elhu1206H10M46S29  Solved SPR:  Test status: NT Log: $BOOTPATH changed to $BOOTPATH/
#
# Revision 1.2  1996/06/07  14:42:16  hekn
# flp1: changed to $BOOTPATH
#
# Revision 1.1  1996/05/10  12:13:18  swdadmin
# Initial revision\
# ^^^^^^^^^^^^ PROJECT COMMENTS BEGIN ^^^^^^^^^^^^^
#
# Revision 1.2  1996/05/10  12:01:35  swdadmin
# vvvvvvvvvvvv PROJECT COMMENTS END vvvvvvvvvvvv\
# Moved back to subject from/projects/foxsw/swd/classlib
#
# Revision 1.7  1996/04/09  12:02:19  anma
# No changes at all.
#
# Revision 1.6  1996/02/20  08:36:24  alli
# no entry
#
# Revision 1.5  1996/02/15  10:00:21  alli
# Patch: alli1502H10M56S44  Solved SPR:  Test status: NT Log: Var 17 needed to be updated so opt. discs could be installed in what ever order
#
# Revision 1.4  1996/02/13  17:33:49  alli
# Patch: alli1302H18M32S55  Solved SPR:  Test status: NT Log: sweio_cd.cfg needed to be inserted again
#
# Revision 1.3  1996/02/13  16:33:09  alli
# Patch: alli1302H17M32S25  Solved SPR:  Test status: NT Log: better info text
#
# Revision 1.2  1996/02/09  15:59:37  hekn
# Patch: hekn0902H16M58S51  Solved SPR:  Test status: NT Log: RCS comments "#" instead of "::"
#
# Revision 1.1  1996/02/01  13:15:00  swdadmin
# Initial revision\
# ^^^^^^^^^^^^ PROJECT COMMENTS BEGIN ^^^^^^^^^^^^^
#
# Revision 1.1  1996/02/01  13:04:04  swdadmin
# Initial revision
#
# Revision 1.6  1996/01/25  15:39:54  hekn
# timer dependent code for Bosch moved, added for Nadex
#
# Revision 1.5  1996/01/24  16:57:30  gema
# add swtimer module.
#
# Revision 1.4  1996/01/17  09:29:34  alli
# nadex bosch selection
# sweio_card only in install1/2
#
# Revision 1.3  1996/01/15  21:24:15  hekn
# Physical SpotWare card definition in a separate sweio_card.cfg
#
# Revision 1.2  1996/01/15  11:24:40  hekn
# append for option instead of copy
#
# Revision 1.1  1996/01/15  09:50:41  hekn
# Initial revision
#
#
#
################################################################################
# Install.cmd script for installation of the Spot Ware add-on package.
#
# Use:
#      this file will be included by the root to the main installation script
#      with the specific 'include' command.
#
################################################################################
#
# Note:
#       . used variables:
#
#             var 18 = is set by installation of SpotWare to tell what kind of
#                     SpotWare that has been installed
#
################################################################################
#
# BOSCH WELD TIMER
#
##########################
#
echo -text "Installing: BOSCH WELD TIMER"

config -erase -domain EIO
#config -filename sweio_cd.cfg -domain EIO
#delete -path sweio_cd.cfg


# Install specific type EIO-domaine
invoke -entry reio_install

#######################################
# National Language Independent files #
#######################################

# EIO   : cfg (definitions & configurations)
# General remote eio config
config -filename $BOOTPATH/swreiob.cfg -domain EIO -internal

if -var 18 -value 2 -label SPOTWB2
if -var 18 -value 4 -label SPOTWB4
echo -text "SpotWeld not correct installed"
goto -label NEXT_STEP

#SPOTWB2
config -filename $BOOTPATH/sweiob2.cfg -domain EIO
goto -label NEXT_STEP

#SPOTWB4
config -filename $BOOTPATH/sweiob4.cfg -domain EIO

#
#NEXT_STEP
#
# Timer specific Rapid code and data files
#
copy -from $BOOTPATH/swbos_s.eng -to swtimer.sys

# SIO   : cfg (definitions & configurations)
config -erase -domain SIO
config -filename $BOOTPATH/swsiob_i.cfg -domain SIO -internal
config -filename $BOOTPATH/swsiob_e.cfg -domain SIO


append -from $BOOTPATH/opt_bos.cmd -to option.cmd
append -from $BOOTPATH/opt2_bos.cmd -to opt_l2.cmd
append -from $BOOTPATH/opt3_bos.cmd -to opt_l0.cmd

echo -text "...done"


#######
# End #
#######

#
# The following has to be done afterwards in the base install.cmd script:
#
#    new -resource cab
#    # Make System WarmStart (use startup.cmd):
#    restart
#
