ANNEX
9
207
8017768/12AX/2019-05-31|SICK
Subject to change without notice
O P E R A T I N G I N S T R U C T I O N S | TIC
9.6.4
Command Specification
Introduction
This section describes the functional specifications for TemsManagerCmd.
Each time TemsManagerCmd is invoked, it executes one operation and then terminates.
The command line arguments determine which operation will be executed.
The command line arguments must always (except in case of “/?”) contain connection
information.
The return value is either 0 (success) or greater than 0 (error code). Detailed progress
information is printed to the standard console and error messages to the error console.
Name
Description
ERRORLEVEL
success
The command was successfully executed.
0
Error
An unspecified error occurred. Details are printed to
the console output.
1
AbortedByUser
Most long-running operations may be canceled by the
user using the ESC-key.
2
Description
Parameters
Optional
*Connect through IP
/address=127.0.0.1
/port=1234
*Connect through serial no.
/discover=12345678
Provide password
/password=servicelevel
/userlevel=Service
Get status
/state
=D:\State.temsXml
Get configuration
/config
=D:\Recorder.temsXml
Get site configuration
/get
=D:\Site.temsXml
Set site configuration
/set=D:\Site.temsXml
Start last configuration
/start
/timeout=300
Stop active configuration
/stop
/timeout=300
Update firmware
/update=D:\File.temsUpdate
/updatepassword=XXX
Set serial number
/serial=12344567
Set actual time
/time=2013-04-28T10:10:10Z
Set NTP server
/ntp=ch.pool.ntp.org
Set IP address (TCP)
/ip=127.0.0.1
/mask= /gateway= /dns=
Get IP address from DHCP (TCP) /ip
Set IP address (UDP)
/ipauto=127.0.0.1
/mask= /gateway=
Get IP address from DHCP (UCP) /ipauto
Reboot
/reboot
Help
/?