ScriptProgramTool (English): Unterschied zwischen den Versionen

Aus Deutschmann Wiki
Zur Navigation springen Zur Suche springen
(14 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
 
[[Datei:SPT.JPG|thumb|ScriptProgramTool]]
 
[[Datei:SPT.JPG|thumb|ScriptProgramTool]]
By using ScriptProgramTool (SPT) the compiled script (*.dcs) can be loaded via application-RS232-interface or via debug-interface.  
+
By using ScriptProgramTool (SPT) the compiled script (*.dcs) can be loaded into UNIGATE® via application interface (RS232) or via debug interface.
== Script loading via application-RS232-interface ==
+
== Script loading via Application Interface (RS232) ==  
To load the script via application-RS232-interface please follow the procedure described below:
 
 
#Install SPT and then start.
 
#Install SPT and then start.
#Please choose the corresponding COM-Port which is connected to the application-RS232-interface of the UNIGATE via the menue item '''"Settings"'''. '''Attention''': If there exists no real COM-Port at the PC, an [[USB-to-RS232 converter]] is needed.
+
# Via the menue item '''"Settings"''' select the used COM-Port. If there exists no real COM-Port at the PC, an [[USB-to-RS232 converter]] is needed.
 
#The required script (*.dcs) can by choosen via the menue item '''"File"'''.
 
#The required script (*.dcs) can by choosen via the menue item '''"File"'''.
 
#Please confirm the button '''"Download Script"'''.
 
#Please confirm the button '''"Download Script"'''.
#Now will appear a dialog window, the UNIGATE must be restarted.
+
#Now will appear a dialog window, UNIGATE® must be restarted in '''"Configuration Mode"'''.
#In der Statusleiste des SPT erscheint nun die Meldung '''"ApplicationPort connected"'''.
+
#In the status bar of SPT will appear the message '''"ApplicationPort connected"'''.
#Jetzt kann das Dialog-Fenster mit '''"OK"''' bestätigt werden.  
+
#Now please confirm the dialog window with '''"OK"'''.  
#Im Anschluss startet der Download des Scripts.
+
#After that, the script download is starting.
#Fertig.
+
#Done.
#''Hinweis'': Wenn mehrere Geräte mit dem gleichen Script geladen werden sollen, muss das Script nicht jedesmal neu über den Menüpunkt '''"File"''' ausgewählt werden. Nach dem 1. Download kann der Button "Download Script" direkt bestätigt werden.
+
''Note'': If the same script should be loaded on several devices in a row, then from the second device on, after Step 9, you can continue directly with Step 4.
 +
 
 +
== Script loading via Debug Interface ==
 +
From version '''V1.52''' script loading is also supported via debug interface.
 +
#Install SPT and then start.
 +
# Via the menue item '''"Settings"''' select the used COM-Port. If there exists no real COM-Port at the PC, an [[USB-to-RS232 converter]] is needed.
 +
#The required script (*.dcs) can by choosen via the menue item '''"File"'''.
 +
#Please confirm the button '''"Download Script"'''.
 +
#Now will appear a dialog window, UNIGATE® must be restarted in '''"Data Exchange Mode"'''.
 +
#In the status bar of SPT will appear the message '''"DebugPort connected"'''.
 +
#Now please confirm the dialog window with '''"OK"'''.
 +
#After that, the script download is starting.
 +
#Done.
 +
''Note'': If the same script should be loaded on several devices in a row, then from the second device on, after Step 9, you can continue directly with Step 4.
  
== Script laden über die Debug-Schnittstelle ==
 
Das Laden des Scripts mit dem SPT ist erst ab der Firmware-Version '''V1.52''' möglich.
 
Nachfolgend wird beschrieben wie das Script über die Debug-Schnittstelle geladen wird:
 
#SPT installieren und anschließend starten.
 
#Über den Menüpunkt '''"Settings"''' muss der entsprechende COM-Port ausgewählt werden, der mit der Debug-Schnisttelle des UNIGATEs verbunden ist. '''Achtung''': Wenn kein echter COM-Port mehr am PC vorhanden ist, wird ein [[USB-RS232-Konverter]] benötigt.
 
#Über den Menüpunkt '''"File"''' kann das benötigte Script (*.dcs) ausgewählt werden.
 
#Danach muss der Button '''"Download Script"''' bestätigt werden.
 
#Es erscheint ein Dialog-Fenster. Das UNIGATE muss neu gestartet werden.
 
#In der Statusleiste des SPT erscheint nun die Meldung '''"DebugPort connected"'''.
 
#Jetzt kann das Dialog-Fenster mit '''"OK"''' bestätigt werden.
 
#Im Anschluss startet der Download des Scripts.
 
#Fertig.
 
#''Hinweis'': Wenn mehrere Geräte mit dem gleichen Script geladen werden sollen, muss das Script nicht jedesmal neu über den Menüpunkt '''"File"''' ausgewählt werden. Nach dem 1. Download kann der Button '''"Download Script"''' direkt bestätigt werden.
 
 
== Weblinks ==
 
== Weblinks ==
[http://www.deutschmann.de/produkte/download.php?file_id=489 Script-Programming-Tool] (Zip-Datei)
+
[https://www.deutschmann.de/downloads/Software/Tools/ScriptProgramTool/SPT.zip Script-Programming-Tool] (Zip-Datei)

Version vom 5. Dezember 2017, 12:47 Uhr

ScriptProgramTool

By using ScriptProgramTool (SPT) the compiled script (*.dcs) can be loaded into UNIGATE® via application interface (RS232) or via debug interface.

Script loading via Application Interface (RS232)

  1. Install SPT and then start.
  2. Via the menue item "Settings" select the used COM-Port. If there exists no real COM-Port at the PC, an USB-to-RS232 converter is needed.
  3. The required script (*.dcs) can by choosen via the menue item "File".
  4. Please confirm the button "Download Script".
  5. Now will appear a dialog window, UNIGATE® must be restarted in "Configuration Mode".
  6. In the status bar of SPT will appear the message "ApplicationPort connected".
  7. Now please confirm the dialog window with "OK".
  8. After that, the script download is starting.
  9. Done.

Note: If the same script should be loaded on several devices in a row, then from the second device on, after Step 9, you can continue directly with Step 4.

Script loading via Debug Interface

From version V1.52 script loading is also supported via debug interface.

  1. Install SPT and then start.
  2. Via the menue item "Settings" select the used COM-Port. If there exists no real COM-Port at the PC, an USB-to-RS232 converter is needed.
  3. The required script (*.dcs) can by choosen via the menue item "File".
  4. Please confirm the button "Download Script".
  5. Now will appear a dialog window, UNIGATE® must be restarted in "Data Exchange Mode".
  6. In the status bar of SPT will appear the message "DebugPort connected".
  7. Now please confirm the dialog window with "OK".
  8. After that, the script download is starting.
  9. Done.

Note: If the same script should be loaded on several devices in a row, then from the second device on, after Step 9, you can continue directly with Step 4.

Weblinks

Script-Programming-Tool (Zip-Datei)