setoutput ist eine Konsolen-Anwendung, die per Batch-Job oder aus der 
Dos-Box aufgerufen wird und einen Outputs eines Web-IO Digital 
schaltet. 

Beim Aufruf mssen folgende Pflicht-Parameter bergeben werden:

ip=ip-address          //IP-Adresse oder Host Name des Web-IO
output=outputno        //Nummer des zu schaltenden Output (beginned bei 0)
state=ON/OFF/TOGGLE    //Zustand in den geschaltet werden soll (TOGGLE = Zustandswechsel)

Wenn ntig knnen optional diese Parameter bergeben werden

pwd=password           //Admin- oder Benutzer-Passwort des Web-IO
port=tcp-port          //HTTP-Port des Web-IO wenn dieser nicht 80 ist

Es spielt keine Rolle, in welcher Reihenfolge die Parameter hinter dem 
setoutput Aufruf stehen.

Beispiel:
setoutput ip=192.168.178.46 output=5 state=ON pwd=Blau port=85

Die bertragung des Schaltkommandos erfolgt ber HTTP. 
Bei Web-IO 4.0 Produkten muss unter Kommunikationswege die Web-API aktiviert 
sein und die genutzten Outputs mssen zum Schalten freigegeben sein.


-------------------------------------------------------------------------------

setoutput is a console application for use by batch job or from the
Dos box which switch an output of a Web-IO Digital
on.

The following mandatory parameters must be passed:

ip = ip-address           // IP address or host Name of the Web-IO
output = outputno         // Number of the output to be switched (started at 0)
state = ON / OFF / TOGGLE // State to be switched into (TOGGLE = state change)

If necessary, these parameters can optionally be used

pwd = password           // Admin or user password of the Web-IO
port = tcp-port          // HTTP port of the Web-IO if it is not 80

It does not matter in which order the parameters behind the
setoutput call.

Example:
setoutput ip=192.168.178.46 output=5 state=ON pwd=Blau port=85

The transmission of the switching command takes place via HTTP.
For Web-IO 4.0 products, the Web-API must be activated under Communication pathes
and the used outputs must be enabled for switching.