EIO:CFG_1.0:3:0::
#EIO file for PalletWare 4.0 standard package
#$Revision: 1.2 $
EIO_UNIT:

#Board for internal PalletWare signals
      -Name "PAL_VIRTIO" -Type "eip000" -Bus "SIM" -Address "" -TrustLevel 0 -Digin 32\
      -Digout 32 -PollRate 10   
#Board for tool equipment communication
      -Name "PAL_TOOL" -Type "eip000" -Bus "SIM" -Address "" -TrustLevel 0 -Digin 16\
      -Digout 16 -PollRate 10
#Board for PLC communication      
      -Name "PAL_PLC" -Type "eip000" -Bus "SIM" -Address "" -TrustLevel 0 -Digin 128\
      -Digout 128 -PollRate 10
#--------------------------------------------------------------------
EIO_SYSTEM_SIGNAL=EIO_SIGNAL:
SYSSIG_IN:

      -Signal "SdiAckErrDial" -Action "AckErrDialog"
      -Signal "SdiStopInst" -Action "StopInstr"
      -Signal "SdiStopCycle" -Action "StopCycle"
      -Signal "SdiSysReset" -Action "SysReset"
      -Signal "SdiResetErr" -Action "ResetError"
      -Signal "SdiResEStop" -Action "ResetEstop"
      -Signal "SdiMotorOn" -Action "MotorOn"
      -Signal "SdiMotorOnStart" -Action "MotOnStart"
      -Signal "SdiMotorOff" -Action "MotorOff"
      -Signal "SdiStart" -Action "Start"
      -Signal "SdiStartMain" -Action "StartMain"
      -Signal "SdiStop" -Action "Stop"
      -Signal "SdiQuickStop" -Action "QuickStop"
      -Signal "SdiStiffStop" -Action "StiffStop"
      
SYSSIG_OUT:
      -Status "Error" -Signal "SdoError"
      -Status "PFError" -Signal "SdoPFError"
      -Status "MotSupTrigg" -Signal "SdoMotSupTrigg"
      -Status "MotSupOn" -Signal "SdoMotSupOn"
      -Status "RegainDistError" -Signal "SdoRDistErr"
      -Status "MotorOn" -Signal "SdoMotorOn"
      -Status "MotOnState" -Signal "SdoMotorOnState"
      -Status "MotorOff" -Signal "SdoMotorOff"
      -Status "MotOffState" -Signal "SdoMotorOffState"
      -Status "CycleOn" -Signal "SdoCycleOn"
      -Status "EmStop" -Signal "SdoEmStop"
      -Status "AutoOn" -Signal "SdoAutoOn"
      -Status "RunchOk" -Signal "SdoRunChOk"
      
#--------------------------------------------------------------------
EIO_USER_SIGNAL = EIO_SIGNAL:

      -Name "Do_Synch" -Type "DO" -Unit "PAL_VIRTIO" -Phsig 1
      -Name "Do_Synch1" -Type "DO" -Unit "PAL_VIRTIO" -Phsig 2
      -Name "Do_Synch2" -Type "DO" -Unit "PAL_VIRTIO" -Phsig 3
      
      -Name "Do_Check1" -Type "DO" -Unit "PAL_VIRTIO" -Phsig 4
      -Name "Do_Check2" -Type "DO" -Unit "PAL_VIRTIO" -Phsig 5
      
      -Name "doAttend" -Type "DO" -Unit "PAL_VIRTIO" -Phsig 6

      
#Infeeder equipment - feeder ready     
      -Name "diFeeder1Rdy" -Type "DI" -Unit "PAL_PLC" -Phsig 1
      -Name "diFeeder2Rdy" -Type "DI" -Unit "PAL_PLC" -Phsig 2
      -Name "diFeeder3Rdy" -Type "DI" -Unit "PAL_PLC" -Phsig 3
      -Name "diFeeder4Rdy" -Type "DI" -Unit "PAL_PLC" -Phsig 4
      -Name "diFeeder5Rdy" -Type "DI" -Unit "PAL_PLC" -Phsig 5

#Infeeder equipment - feeder saturated      
      -Name "diFeeder1Sat" -Type "DI" -Unit "PAL_PLC" -Phsig 6
      -Name "diFeeder2Sat" -Type "DI" -Unit "PAL_PLC" -Phsig 7
      -Name "diFeeder3Sat" -Type "DI" -Unit "PAL_PLC" -Phsig 8
      -Name "diFeeder4Sat" -Type "DI" -Unit "PAL_PLC" -Phsig 9
      -Name "diFeeder5Sat" -Type "DI" -Unit "PAL_PLC" -Phsig 10

#Pallet station equipment - ready to be approached     
      -Name "diPalStat1App" -Type "DI" -Unit "PAL_PLC" -Phsig 11
      -Name "diPalStat2App" -Type "DI" -Unit "PAL_PLC" -Phsig 12
      -Name "diPalStat3App" -Type "DI" -Unit "PAL_PLC" -Phsig 13
      -Name "diPalStat4App" -Type "DI" -Unit "PAL_PLC" -Phsig 14
      -Name "diPalStat5App" -Type "DI" -Unit "PAL_PLC" -Phsig 15

#Pallet station equipment - ready to place pallet     
      -Name "diPalStat1Rdy" -Type "DI" -Unit "PAL_PLC" -Phsig 16
      -Name "diPalStat2Rdy" -Type "DI" -Unit "PAL_PLC" -Phsig 17
      -Name "diPalStat3Rdy" -Type "DI" -Unit "PAL_PLC" -Phsig 18
      -Name "diPalStat4Rdy" -Type "DI" -Unit "PAL_PLC" -Phsig 19
      -Name "diPalStat5Rdy" -Type "DI" -Unit "PAL_PLC" -Phsig 20
#--------------------------------------------------------------------      
#PLC communication signals
      -Name "diPlcComAck" -Type "DI" -Unit "PAL_PLC" -Phsig 21
      
      -Name "doOkToSendPlcMsg" -Type "DO" -Unit "PAL_PLC" -Phsig 1
      
      -Name "doOkToReadPlcMsg" -Type "DO" -Unit "PAL_PLC" -Phsig 72
      
      -Name "doMsgToPlc1" -Type "DO" -Unit "PAL_PLC" -Phsig 2
      -Name "doMsgToPlc2" -Type "DO" -Unit "PAL_PLC" -Phsig 3
      -Name "doMsgToPlc3" -Type "DO" -Unit "PAL_PLC" -Phsig 4
      -Name "doMsgToPlc4" -Type "DO" -Unit "PAL_PLC" -Phsig 5
      
      -Name "doParam1ToPlc1" -Type "DO" -Unit "PAL_PLC" -Phsig 6
      -Name "doParam1ToPlc2" -Type "DO" -Unit "PAL_PLC" -Phsig 7
      -Name "doParam1ToPlc3" -Type "DO" -Unit "PAL_PLC" -Phsig 8
      -Name "doParam1ToPlc4" -Type "DO" -Unit "PAL_PLC" -Phsig 9
      
      -Name "doParam2ToPlc1" -Type "DO" -Unit "PAL_PLC" -Phsig 10
      -Name "doParam2ToPlc2" -Type "DO" -Unit "PAL_PLC" -Phsig 11
      -Name "doParam2ToPlc3" -Type "DO" -Unit "PAL_PLC" -Phsig 12
      -Name "doParam2ToPlc4" -Type "DO" -Unit "PAL_PLC" -Phsig 13
      
      -Name "doParam3ToPlc1" -Type "DO" -Unit "PAL_PLC" -Phsig 14
      -Name "doParam3ToPlc2" -Type "DO" -Unit "PAL_PLC" -Phsig 15
      -Name "doParam3ToPlc3" -Type "DO" -Unit "PAL_PLC" -Phsig 16
      -Name "doParam3ToPlc4" -Type "DO" -Unit "PAL_PLC" -Phsig 17
      
      -Name "diMsgFromPlc1" -Type "DI" -Unit "PAL_PLC" -Phsig 22
      -Name "diMsgFromPlc2" -Type "DI" -Unit "PAL_PLC" -Phsig 23
      -Name "diMsgFromPlc3" -Type "DI" -Unit "PAL_PLC" -Phsig 24
      -Name "diMsgFromPlc4" -Type "DI" -Unit "PAL_PLC" -Phsig 25
      
      -Name "doCurContext1" -Type "DO" -Unit "PAL_PLC" -Phsig 18
      -Name "doCurContext2" -Type "DO" -Unit "PAL_PLC" -Phsig 19
      -Name "doCurContext3" -Type "DO" -Unit "PAL_PLC" -Phsig 20
      -Name "doCurContext4" -Type "DO" -Unit "PAL_PLC" -Phsig 21
      -Name "doCurContext5" -Type "DO" -Unit "PAL_PLC" -Phsig 22
      
     
      
#--------------------------------------------------------------------      
#Error handling signals
      -Name "doError" -Type "DO" -Unit "PAL_PLC" -Phsig 23
    
      -Name "doError1" -Type "DO" -Unit "PAL_PLC" -Phsig 24
      -Name "doError2" -Type "DO" -Unit "PAL_PLC" -Phsig 25
      -Name "doError3" -Type "DO" -Unit "PAL_PLC" -Phsig 26
      -Name "doError4" -Type "DO" -Unit "PAL_PLC" -Phsig 27
      -Name "doError5" -Type "DO" -Unit "PAL_PLC" -Phsig 28
      -Name "doError6" -Type "DO" -Unit "PAL_PLC" -Phsig 29
      -Name "doError7" -Type "DO" -Unit "PAL_PLC" -Phsig 30
      -Name "doError8" -Type "DO" -Unit "PAL_PLC" -Phsig 31

#Status code signals
      -Name "doStatus1" -Type "DO" -Unit "PAL_PLC" -Phsig 32
      -Name "doStatus2" -Type "DO" -Unit "PAL_PLC" -Phsig 33
      -Name "doStatus3" -Type "DO" -Unit "PAL_PLC" -Phsig 34
      -Name "doStatus4" -Type "DO" -Unit "PAL_PLC" -Phsig 35
      -Name "doStatus5" -Type "DO" -Unit "PAL_PLC" -Phsig 36
      -Name "doStatus6" -Type "DO" -Unit "PAL_PLC" -Phsig 37
      -Name "doStatus7" -Type "DO" -Unit "PAL_PLC" -Phsig 38
      -Name "doStatus8" -Type "DO" -Unit "PAL_PLC" -Phsig 39

#Warning code signals
      -Name "doWarning" -Type "DO" -Unit "PAL_PLC" -Phsig 40
    
      -Name "doWarning1" -Type "DO" -Unit "PAL_PLC" -Phsig 41
      -Name "doWarning2" -Type "DO" -Unit "PAL_PLC" -Phsig 42
      -Name "doWarning3" -Type "DO" -Unit "PAL_PLC" -Phsig 43
      -Name "doWarning4" -Type "DO" -Unit "PAL_PLC" -Phsig 44
      -Name "doWarning5" -Type "DO" -Unit "PAL_PLC" -Phsig 45
      -Name "doWarning6" -Type "DO" -Unit "PAL_PLC" -Phsig 46
      -Name "doWarning7" -Type "DO" -Unit "PAL_PLC" -Phsig 47
      -Name "doWarning8" -Type "DO" -Unit "PAL_PLC" -Phsig 48
      
      -Name "doWarningSta1" -Type "DO" -Unit "PAL_PLC" -Phsig 49
      -Name "doWarningSta2" -Type "DO" -Unit "PAL_PLC" -Phsig 50
      -Name "doWarningSta3" -Type "DO" -Unit "PAL_PLC" -Phsig 51
      -Name "doWarningSta4" -Type "DO" -Unit "PAL_PLC" -Phsig 52
      -Name "doWarningSta5" -Type "DO" -Unit "PAL_PLC" -Phsig 53
#--------------------------------------------------------------------      
#MMI communication signals (external MMI)
      -Name "diAttend" -Type "DI" -Unit "PAL_PLC" -Phsig 26
      -Name "diMmiComAck" -Type "DI" -Unit "PAL_PLC" -Phsig 27

      -Name "doOkToReadMmiMsg" -Type "DO" -Unit "PAL_PLC" -Phsig 54
      -Name "doOkToSendMmiMsg" -Type "DO" -Unit "PAL_PLC" -Phsig 55
      
      -Name "doMmiMsg1" -Type "DO" -Unit "PAL_PLC" -Phsig 56
      -Name "doMmiMsg2" -Type "DO" -Unit "PAL_PLC" -Phsig 57
      -Name "doMmiMsg3" -Type "DO" -Unit "PAL_PLC" -Phsig 58
      
      -Name "diMmiMsg1" -Type "DI" -Unit "PAL_PLC" -Phsig 28
      -Name "diMmiMsg2" -Type "DI" -Unit "PAL_PLC" -Phsig 29
      -Name "diMmiMsg3" -Type "DI" -Unit "PAL_PLC" -Phsig 30

#--------------------------------------------------------------------
#System signals
      -Name "SdiAckErrDial" -Type "DI" -Unit "PAL_PLC" -Phsig 31
      -Name "SdiStopInst" -Type "DI" -Unit "PAL_PLC" -Phsig 32
      -Name "SdiStopCycle" -Type "DI" -Unit "PAL_PLC" -Phsig 33
      -Name "SdiSysReset" -Type "DI" -Unit "PAL_PLC" -Phsig 34
      -Name "SdiResetErr" -Type "DI" -Unit "PAL_PLC" -Phsig 35
      -Name "SdiResEStop" -Type "DI" -Unit "PAL_PLC" -Phsig 36
      -Name "SdiMotorOn" -Type "DI" -Unit "PAL_PLC" -Phsig 37
      -Name "SdiMotorOnStart" -Type "DI" -Unit "PAL_PLC" -Phsig 38 
      -Name "SdiMotorOff" -Type "DI" -Unit "PAL_PLC" -Phsig 39
      -Name "SdiStart" -Type "DI" -Unit "PAL_PLC" -Phsig 40
      -Name "SdiStartMain" -Type "DI" -Unit "PAL_PLC" -Phsig 41
      -Name "SdiStop" -Type "DI" -Unit "PAL_PLC" -Phsig 42
      -Name "SdiQuickStop" -Type "DI" -Unit "PAL_PLC" -Phsig 43 
      -Name "SdiStiffStop" -Type "DI" -Unit "PAL_PLC" -Phsig 44
      
              
      -Name "SdoError" -Type "DO" -Unit "PAL_PLC" -Phsig 59
      -Name "SdoPFError" -Type "DO" -Unit "PAL_PLC" -Phsig 60
      -Name "SdoMotSupTrigg" -Type "DO" -Unit "PAL_PLC" -Phsig 61 
      -Name "SdoMotSupOn" -Type "DO" -Unit "PAL_PLC" -Phsig 62
      -Name "SdoRDistErr" -Type "DO" -Unit "PAL_PLC" -Phsig 63
      -Name "SdoMotorOn" -Type "DO" -Unit "PAL_PLC" -Phsig 64
      -Name "SdoMotorOnState" -Type "DO" -Unit "PAL_PLC" -Phsig 65 
      -Name "SdoMotorOff" -Type "DO" -Unit "PAL_PLC" -Phsig 66
      -Name "SdoMotorOffState" -Type "DO" -Unit "PAL_PLC" -Phsig 67 
      -Name "SdoCycleOn" -Type "DO" -Unit "PAL_PLC" -Phsig 68
      -Name "SdoEmStop" -Type "DO" -Unit "PAL_PLC" -Phsig 69
      -Name "SdoAutoOn" -Type "DO" -Unit "PAL_PLC" -Phsig 70
      -Name "SdoRunChOk" -Type "DO" -Unit "PAL_PLC" -Phsig 71
      
      
#--------------------------------------------------------------------
#Tool signals
      -Name "diSearchAct" -Type "DI" -Unit "PAL_TOOL" -Phsig 1
      -Name "diSearchDeact" -Type "DI" -Unit "PAL_TOOL" -Phsig 2
      -Name "diGripOpen" -Type "DI" -Unit "PAL_TOOL" -Phsig 3
      -Name "diGripClosed" -Type "DI" -Unit "PAL_TOOL" -Phsig 4
      -Name "diSearchHit" -Type "DI" -Unit "PAL_TOOL" -Phsig 5
      -Name "diAirPressOk" -Type "DI" -Unit "PAL_TOOL" -Phsig 6
      
      -Name "doActSearch" -Type "DO" -Unit "PAL_TOOL" -Phsig 1 -Store
      -Name "doDeactSearch" -Type "DO" -Unit "PAL_TOOL" -Phsig 2 -Store
      -Name "doOpenGripper" -Type "DO" -Unit "PAL_TOOL" -Phsig 3 -Store
      -Name "doCloseGripper" -Type "DO" -Unit "PAL_TOOL" -Phsig 4 -Store
      -Name "doVacuumOn" -Type "DO" -Unit "PAL_TOOL" -Phsig 5 -Store
      
      -Name "doVacuumZone1" -Type "DO" -Unit "PAL_TOOL" -Phsig 7
      -Name "doVacuumZone2" -Type "DO" -Unit "PAL_TOOL" -Phsig 8
      -Name "doVacuumZone3" -Type "DO" -Unit "PAL_TOOL" -Phsig 9
      -Name "doVacuumZone4" -Type "DO" -Unit "PAL_TOOL" -Phsig 10
      -Name "doVacuumZone5" -Type "DO" -Unit "PAL_TOOL" -Phsig 11
      -Name "doVacuumZone6" -Type "DO" -Unit "PAL_TOOL" -Phsig 12
      -Name "doVacuumZone7" -Type "DO" -Unit "PAL_TOOL" -Phsig 13
      -Name "doVacuumZone8" -Type "DO" -Unit "PAL_TOOL" -Phsig 14
      -Name "doVacuumZone9" -Type "DO" -Unit "PAL_TOOL" -Phsig 15
      -Name "doVacuumZone10" -Type "DO" -Unit "PAL_TOOL" -Phsig 16

#-------------------------------------------------------------------- 
#Group signals     
EIO_GROUP_PHS = EIO_SIGNAL:
#Do NOT change any names of group signals
      -Name goErrorCode -Unit PAL_PLC -Type GO -Phsig 24 -Length 8
      -Name goRobotStatus -Unit PAL_PLC -Type GO -Phsig 32 -Length 8 -Store
     
      -Name goWarningCode -Unit PAL_PLC -Type GO -Phsig 41 -Length 8
      -Name goWarningStation -Unit PAL_PLC -Type GO -Phsig 49 -Length 5
      
      -Name giFeederSaturat -Unit PAL_PLC -Type GI -Phsig 6 -Length 5
      -Name giFeederReady -Unit PAL_PLC -Type GI -Phsig 1 -Length 5
      
      -Name giPalStatAppr -Unit PAL_PLC -Type GI -Phsig 11 -Length 5
      -Name giPalStatReady -Unit PAL_PLC -Type GI -Phsig 16 -Length 5
      
      -Name goMsgToPlc -Unit PAL_PLC -Type GO -Phsig 2 -Length 4
      -Name giMsgFromPlc -Unit PAL_PLC -Type GI -Phsig 22 -Length 4
      -Name goParam1ToPlc -Unit PAL_PLC -Type GO -Phsig 6 -Length 4
      -Name goParam2ToPlc -Unit PAL_PLC -Type GO -Phsig 10 -Length 4
      -Name goParam3ToPlc -Unit PAL_PLC -Type GO -Phsig 14 -Length 4 
      -Name goCurContext -Unit PAL_PLC -Type GO -Phsig 18 -Length 5
      
      -Name goMsgToMmi -Unit PAL_PLC -Type GO -Phsig 56 -Length 3
      -Name giMsgFromMmi -Unit PAL_PLC -Type GI -Phsig 28 -Length 3
      
      -Name goVacuumZoneOn -Unit PAL_TOOL -Type GO -Phsig 7 -Length 10 -Store

      