modifiche sul campo x script installer
spostati file di conf fuori "area base" x non sovrascrivere, commentata apertura startup delayer, aggiornati alcuni parametri e il file eseguibile...
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,4 +0,0 @@
|
||||
# Commenti con cancelletto, struttura un variabile per riga, tipo chiave|valore (occhio che il separatore è configurato da .config come "testCharSep")
|
||||
OperatorId|CMS Operator 001
|
||||
Path_01_CurrProg|WrkProgram_123
|
||||
Path_01_PartId|P000123
|
||||
@@ -1,32 +0,0 @@
|
||||
# Commenti con cancelletto, struttura un variabile per riga, tipo chiave|valore (occhio che il separatore è configurato da .cofig come "testCharSep"); spazi e tabulazioni dovrei trimmarli in acquisizione (qui inseriti per comodità di lettura)
|
||||
001|ACC_TIME |HOURS
|
||||
002|ACC_TIME_WORK |HOURS
|
||||
003|Path_01_PZ_TOT |COUNT
|
||||
004|Axis_01_DistDone |METER
|
||||
005|Axis_01_Invers |COUNT
|
||||
006|Axis_02_DistDone |METER
|
||||
007|Axis_02_Invers |COUNT
|
||||
008|Axis_03_DistDone |METER
|
||||
009|Axis_03_Invers |COUNT
|
||||
010|Axis_04_DistDone |COUNT
|
||||
011|Axis_04_Invers |COUNT
|
||||
012|Axis_05_DistDone |COUNT
|
||||
013|Axis_05_Invers |COUNT
|
||||
014|Axis_06_DistDone |METER
|
||||
015|Axis_06_Invers |COUNT
|
||||
016|UnOp_01_AccTime |COUNT
|
||||
017|VacPump_01_WrkTime |HOURS
|
||||
018|VacPump_02_WrkTime |HOURS
|
||||
019|VacAct_01_Count |COUNT
|
||||
020|VacAct_02_Count |COUNT
|
||||
021|Lubro_01_Num |COUNT
|
||||
022|SlittaTastatore_Count |COUNT
|
||||
023|SlittaMagazzino_01_Count |COUNT
|
||||
024|ProtMagazzino_01_Count |COUNT
|
||||
025|UnOp_01_NumCambiUT |COUNT
|
||||
026|Axis_01_AccTime |COUNT
|
||||
027|Axis_02_AccTime |COUNT
|
||||
028|Axis_03_AccTime |COUNT
|
||||
029|Axis_04_AccTime |COUNT
|
||||
030|Axis_05_AccTime |COUNT
|
||||
031|Axis_06_AccTime |COUNT
|
||||
@@ -1,7 +0,0 @@
|
||||
# Commenti con cancelletto, struttura un variabile per riga, tipo chiave|valore (occhio che il separatore è configurato da .cofig come "testCharSep"); spazi e tabulazioni dovrei trimmarli in acquisizione (qui inseriti per comodità di lettura)
|
||||
001|PROTECTION_STATUS |BIT
|
||||
002|VacPump_01_Status |BIT
|
||||
003|VacPump_02_Status |BIT
|
||||
004|Cooler_01_Status |BIT
|
||||
005|Cooler_02_Status |BIT
|
||||
006|UnOp_01_Status |BIT
|
||||
@@ -1,81 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
|
||||
</startup>
|
||||
<appSettings>
|
||||
<add key="appName" value="MTConnect Adapter" />
|
||||
<!--gestione TIMERS e periodi multipli x thread lenti-->
|
||||
<add key="startTimerMs" value="250" />
|
||||
<add key="timerIntMs" value="5" /><!--invio da adapter ad agent: 10ms-->
|
||||
<add key="fastCount" value="20" /><!--100ms-->
|
||||
<add key="normCount" value="50" /><!--250ms-->
|
||||
<add key="slowCount" value="500" /><!--2.5 sec-->
|
||||
<add key="alarmSyncCount" value="6000" /><!--30 sec-->
|
||||
|
||||
<!--parametri gestione watchdog-->
|
||||
<add key="maxAdapterLockSec" value="5" />
|
||||
|
||||
<!--AREA CONF IP FANUC-->
|
||||
<!--SIMULATORE LOCALE
|
||||
IP LOOPBACK: 192.168.211.5/255.255.255.0
|
||||
ipFanuc = "192.168.211.5"-->
|
||||
<!--<add key ="ipFanuc" value="192.168.211.5" />-->
|
||||
|
||||
<!--SIM PC
|
||||
IP ETH: 192.168.139.201/255.255.255.0
|
||||
ipFanuc = "192.168.139.100"-->
|
||||
<!--<add key="ipFanuc" value="192.168.139.100" />-->
|
||||
<add key="ipFanuc" value="192.168.139.1" />
|
||||
|
||||
<!--PRODUZIONE
|
||||
IP ETH: 192.168.139.201/255.255.255.0
|
||||
ipFanuc = "192.168.139.1"-->
|
||||
<!--<add key ="ipFanuc" value="192.168.139.1" />-->
|
||||
|
||||
<add key="recTime" value="true" />
|
||||
<add key="verbose" value="true" />
|
||||
<add key="logAll" value="false" />
|
||||
|
||||
|
||||
<add key="autoLoadConf" value="true"/>
|
||||
<add key="defaultConfFile" value="CMS_FANUC.xml"/>
|
||||
<add key="defaultPersLayerFile" value="PersistData.mtc" />
|
||||
<add key="defaultEsaFile" value="EsaKvara.ini" />
|
||||
<add key="autoStartOnLoad" value="true" />
|
||||
<add key="openDumpOnStart" value="false"/>
|
||||
<add key="startMinimized" value="true"/>
|
||||
|
||||
<add key="autoSaveSec" value="60" />
|
||||
|
||||
<add key="XmlHistFilePath" value="c:\IOT\log" />
|
||||
|
||||
<add key="testCharSep" value="|" />
|
||||
|
||||
<!--percorso file scambio dati "lenti" e conf MaintData memory area -->
|
||||
<add key="GeneralStatusFilePath" value="CmsGeneralStatus.txt" />
|
||||
<add key="CmsMaintDataConfFilePath" value="CmsMaintDataConf.txt" />
|
||||
<add key="CmsStatusDataConfFilePath" value="CmsStatusDataConf.txt" />
|
||||
<add key="ScmProdFile" value="SCM_prodFile.pro" />
|
||||
|
||||
<add key="fattdecimale" value="1000" />
|
||||
|
||||
<add key="fattConvDistAssi" value="1000" />
|
||||
|
||||
|
||||
<add key="D1_NAME" value="CMS-ARES-SIM" />
|
||||
<add key="D1_ID" value="demo_123456" />
|
||||
<add key="D1_UUID" value="000123456" />
|
||||
<add key="D1_PROGRAM" value="PROG_DEMO_01" />
|
||||
<add key="PartID" value="Prod_0001" />
|
||||
|
||||
<!--conf file-->
|
||||
<add key="adapterConfPath" value="AdapterConf" />
|
||||
<add key="AlarmList" value="AlarmList.txt" />
|
||||
<add key="SubMode" value="SubMode.txt" />
|
||||
|
||||
<!--gestione trigger eventi da allarmi-->
|
||||
<add key="eStopCode" value="152" />
|
||||
|
||||
</appSettings>
|
||||
</configuration>
|
||||
@@ -1,33 +0,0 @@
|
||||
# Commenti con "#", elenco tipo codice:valore delle label dei SUB_MODE di FANUC
|
||||
0:DNC
|
||||
1:Blk/Blk
|
||||
2:BlkDel
|
||||
3:OpStop
|
||||
4:Teach
|
||||
5:Prg Test
|
||||
6:MLock
|
||||
7:DryRun
|
||||
8:Restart
|
||||
9:x1
|
||||
10:x10
|
||||
11:x100
|
||||
12:x1000
|
||||
13:
|
||||
14:
|
||||
15:
|
||||
16:
|
||||
17:
|
||||
18:
|
||||
19:
|
||||
20:Asse selezionato 1
|
||||
21:Asse selezionato 2
|
||||
22:Asse selezionato 3
|
||||
23:Asse selezionato 4
|
||||
24:Asse selezionato 5
|
||||
25:Asse selezionato 6
|
||||
26:Asse selezionato 7
|
||||
27:Asse selezionato 8
|
||||
28:Asse selezionato 9
|
||||
29:Asse selezionato 10
|
||||
30:Asse selezionato 11
|
||||
31:Asse selezionato 12
|
||||
File diff suppressed because it is too large
Load Diff
@@ -48,7 +48,7 @@
|
||||
|
||||
<add key="autoSaveSec" value="60" />
|
||||
|
||||
<add key="XmlHistFilePath" value="c:\MTConnect\log" />
|
||||
<add key="XmlHistFilePath" value="c:\CMS\MTC\log" />
|
||||
|
||||
<add key="testCharSep" value="|" />
|
||||
|
||||
@@ -63,11 +63,11 @@
|
||||
<add key="fattConvDistAssi" value="1000" />
|
||||
|
||||
|
||||
<add key="D1_NAME" value="CMS-ARES-SIM" />
|
||||
<add key="D1_ID" value="demo_123456" />
|
||||
<add key="D1_UUID" value="000123456" />
|
||||
<add key="D1_PROGRAM" value="PROG_DEMO_01" />
|
||||
<add key="PartID" value="Prod_0001" />
|
||||
<add key="D1_NAME" value="CMS-ARES-8006" />
|
||||
<add key="D1_ID" value="8006" />
|
||||
<add key="D1_UUID" value="ARES00008006" />
|
||||
<add key="D1_PROGRAM" value="ND" />
|
||||
<add key="PartID" value="ND" />
|
||||
|
||||
<!--conf file-->
|
||||
<add key="adapterConfPath" value="AdapterConf" />
|
||||
|
||||
@@ -30,10 +30,10 @@ switch($adapter)
|
||||
Write-Host "--------------------"
|
||||
Write-Host "- Posizione di installazione"
|
||||
Write-Host "--------------------"
|
||||
$tgtFolder = read-host "Prego indicare dir installazione (def - C:\MTConnect\)"
|
||||
$tgtFolder = read-host "Prego indicare dir installazione (def - C:\CMS\MTC\)"
|
||||
if(!$tgtFolder)
|
||||
{
|
||||
$tgtFolder = "C:\MTConnect\"
|
||||
$tgtFolder = "C:\CMS\MTC\"
|
||||
}
|
||||
|
||||
Write-Host "Sto copiando adapter BASE in '$tgtFolder'"
|
||||
@@ -73,5 +73,16 @@ services.msc
|
||||
# verifica porta 5000 (http://localhost:5000/)
|
||||
explorer.exe 'http://localhost:5000/current'
|
||||
|
||||
# Fase 7 manuale: registrazione script avvio differito... indicare di fare
|
||||
Write-Host "ADAPTER ed AGENT installati, prego ricordarsi di registrare con il sw appropriato l'avvio differito dell'agent allo startup"
|
||||
# Fase 7 copio script avvio infolder shell:startup x avvio automatico (SENZA DELAY)
|
||||
#explorer shell:Common Startup
|
||||
#cmd /c mklink "shell:common\MTC_Adapter.exe" "$tgtFolder\ADAPTER\MTC_Adapter.exe"
|
||||
#$startupPath = "shell:Common Startup"
|
||||
#fsutil hardlink create "c:\MTC_Adapter.exe" "C:\Users\samuele\Documents\VisualStudioProjects\CMS-MTConn\Installer CMS\FANUC\ADAPTER\MTC_Adapter.exe"
|
||||
#explorer C:\
|
||||
#cmd /c mklink "C:\eula.1028.txt" "$startupPath\MTC_Adapter.exe"
|
||||
#explorer $startupPath
|
||||
#Write-Host "ADAPTER registrato in avvio automatico"
|
||||
|
||||
|
||||
# Fase 7 manuale: registrazione script avvio differito... indicare di fare con startup delayer (apre prg?)
|
||||
Write-Host "ADAPTER ed AGENT installati, prego ricordarsi di registrare con il sw appropriato (startup delayer) l'avvio differito dell'adapter allo startup"
|
||||
|
||||
Reference in New Issue
Block a user