Page 92
Appendix |ASCII Communication with Controller
confocalDT 24x1
A 5
ASCII Communication with Controller
A 5.1
General
The ASCII commands can be sent to the controller via the RS422 interface or Ethernet
(Port 23). All commands, inputs and error messages are in English. A command always
consists of the command name and zero or more parameters, which are separated by
spaces and are completed with LF. If spaces are used in parameters, the parameters
must be placed in quotation marks (e.g. "password with spaces").
Example: Switch on the output via RS422
OUTPUT RS422
Advice:
must include LF, but may also be CR LF.
Declaration: LF Line feed (line feed, hex 0A)
CR Carriage return (carriage return, hex 0D)
Enter (depending on the system hex 0A or hex 0D0A)
The currently set parameter value is returned, if a command is activated without param-
eters.
The output format is:
<Command name> <Parameter1> [<Parameter2> […]]
The reply can be used again as command for the parameter setting without changes. In
this case, optional parameters are returned only where necessary. For example,
Select
data for additional values, see Chap.
put values only.
After processing a command, the system always returns a line break and a command
prompt. In the event of an error, an error message starting with “Exx” will appear before
the prompt, where xx represents a unique error number. In addition, the system may
display a warning (“Wxx”) instead of an error message. Warnings are structured like error
messages, such as “If Xenon lamp is too hot...” Warnings do not prevent commands
from being executed.
A 5.2
Commands Overview
Group
Chapter
Command
Short info
General
HELP
Help
GETINFO
Controller information
ECHO
Reply type
PRINT, PRINT ALL
Overview parameters
SYNC
Synchronization
RESET
Booting the controller
GETTEMP
Controller temperature
User level
LOGIN
Change of the user level
LOGOUT
Change to user level
GETUSERLEVEL
Request user level
STDUSER
Set standard user
PASSWD
Change password