EIO:CFG_1.0::
#
# ELEMENTARY IO : DEFINITION & CONFIGURATION
# 
EIO_UNIT:
#
      -Name DP_SIMBOARD -Type eip000 -Bus SIM -Address 6 \
      -Digin 16 -Digout 16 -Anin 4 -Anout 4
#
EIO_USER_SIGNAL = EIO_SIGNAL:
#
# Used signals has to be connected to pysical signals.
# If several gun on/off signals are used the signals has to be in sequence as
# in this default setup.

# Signals for I/O Equipment 1:

      -Name doEqu1Gun1 -Type DO -Unit DP_SIMBOARD -Phsig 1 -Length 1
      
      -Name doEqu1Gun2 -Type DO -Unit DP_SIMBOARD -Phsig 2 -Length 1
      
      -Name doEqu1Gun3 -Type DO -Unit DP_SIMBOARD -Phsig 3 -Length 1
      
      -Name doEqu1Gun4 -Type DO -Unit DP_SIMBOARD -Phsig 4 -Length 1
      
      -Name doEqu1Gun5 -Type DO -Unit DP_SIMBOARD -Phsig 5 -Length 1     
      
      -Name aoEqu1F1 -Type AO -Unit DP_SIMBOARD -Phsig 1 -Length 1 \
      -LogMax 100 -LogMin 0 -PhMax 10 -PhMin 0
      
      -Name aoEqu1F2 -Type AO -Unit DP_SIMBOARD -Phsig 2 -Length 1 \
      -LogMax 100 -LogMin 0 -PhMax 10 -PhMin 0
      
# Signals for I/O Equipment 2:      
      
      -Name doEqu2Gun1 -Type DO -Unit DP_SIMBOARD -Phsig 6 -Length 1
      
      -Name doEqu2Gun2 -Type DO -Unit DP_SIMBOARD -Phsig 7 -Length 1
      
      -Name doEqu2Gun3 -Type DO -Unit DP_SIMBOARD -Phsig 8 -Length 1
      
      -Name doEqu2Gun4 -Type DO -Unit DP_SIMBOARD -Phsig 9 -Length 1
      
      -Name doEqu2Gun5 -Type DO -Unit DP_SIMBOARD -Phsig 10 -Length 1      
      
      -Name aoEqu2F1 -Type AO -Unit DP_SIMBOARD -Phsig 3 -Length 1 \
      -LogMax 100 -LogMin 0 -PhMax 10 -PhMin 0

      -Name aoEqu2F2 -Type AO -Unit DP_SIMBOARD -Phsig 4 -Length 1 \
      -LogMax 100 -LogMin 0 -PhMax 10 -PhMin 0
      
# Signals for I/O Equipment 3:      
      
      -Name doEqu3Gun1 -Type DO -Unit DP_SIMBOARD -Phsig 6 -Length 1
      
      -Name doEqu3Gun2 -Type DO -Unit DP_SIMBOARD -Phsig 7 -Length 1
      
      -Name doEqu3Gun3 -Type DO -Unit DP_SIMBOARD -Phsig 8 -Length 1
      
      -Name doEqu3Gun4 -Type DO -Unit DP_SIMBOARD -Phsig 9 -Length 1
      
      -Name doEqu3Gun5 -Type DO -Unit DP_SIMBOARD -Phsig 10 -Length 1      
      
      -Name aoEqu3F1 -Type AO -Unit DP_SIMBOARD -Phsig 3 -Length 1 \
      -LogMax 100 -LogMin 0 -PhMax 10 -PhMin 0

      -Name aoEqu3F2 -Type AO -Unit DP_SIMBOARD -Phsig 4 -Length 1 \
      -LogMax 100 -LogMin 0 -PhMax 10 -PhMin 0
      
# Signals for I/O Equipment 4:      
      
      -Name doEqu4Gun1 -Type DO -Unit DP_SIMBOARD -Phsig 6 -Length 1
      
      -Name doEqu4Gun2 -Type DO -Unit DP_SIMBOARD -Phsig 7 -Length 1
      
      -Name doEqu4Gun3 -Type DO -Unit DP_SIMBOARD -Phsig 8 -Length 1
      
      -Name doEqu4Gun4 -Type DO -Unit DP_SIMBOARD -Phsig 9 -Length 1
      
      -Name doEqu4Gun5 -Type DO -Unit DP_SIMBOARD -Phsig 10 -Length 1      
      
      -Name aoEqu4F1 -Type AO -Unit DP_SIMBOARD -Phsig 3 -Length 1 \
      -LogMax 100 -LogMin 0 -PhMax 10 -PhMin 0

      -Name aoEqu4F2 -Type AO -Unit DP_SIMBOARD -Phsig 4 -Length 1 \
      -LogMax 100 -LogMin 0 -PhMax 10 -PhMin 0      
      
# Error Signals:      
      
      -Name doDPErr -Type DO -Unit DP_SIMBOARD -Phsig 11 -Length 1
      
      -Name doDPOvrSpd -Type DO -Unit DP_SIMBOARD -Phsig 12 -Length 1
      
# Info Signal:      
      
      -Name doDPActive -Type DO -Unit DP_SIMBOARD -Phsig 13 -Length 1 -Store

# Signals used for the BWD on path function      
      
      -Name doBwdOnPath -Type DO -Unit DP_SIMBOARD -Phsig 14 -Length 1
      -Name diBwdOnPath -Type DI -Unit DP_SIMBOARD -Phsig 1 -Length 1      
      
#
EIO_GROUP_PHS = EIO_SIGNAL:
#
# Groups to control the gun on/off signals for I/O Equipment 1 to 4.
# The groups is connected to the physical on/off signals for the Guns in each Equipment.
# The group length is set as the number of on/off signals in use.

     -Name goEqu1Guns -Unit DP_SIMBOARD -Type GO -Phsig 1 -Length 5
     -Name goEqu2Guns -Unit DP_SIMBOARD -Type GO -Phsig 6 -Length 5
     -Name goEqu3Guns -Unit DP_SIMBOARD -Type GO -Phsig 6 -Length 5
     -Name goEqu4Guns -Unit DP_SIMBOARD -Type GO -Phsig 6 -Length 5


#
EIO_CROSS:

     -Lact "doBwdOnPath" -Lres "diBwdOnPath"
#
