12
ASCII Communication
12.1
General
The ASCII commands can be sent to the sensor/controller via the RS422 or Ethernet (port 23) interfaces. All commands,
inputs and error reports are in English. A command always consists of the command name and zero or several parame
ters that are separated with a space and end in LF. If spaces are used in parameters, the parameter must be placed in
quotation marks, e.g. "Password with space".
Example: Switching on output via RS422
OUTPUT RS422 <Enter>
Reference
<Enter>
Must contain LF, but can also be CR LF
Explana
<LF>
Line feed (hex 0A)
tion
<CR>
Carriage return (hex 0D)
<Enter>
Hex 0A or hex 0D0A, depending on system
The currently set parameter value is reset if a command is invoked without parameters.
The output format is:
<Command name> <Parameter1> [<Parameter2> [...]]
The response can be used again without changes as a command for setting the password. Optional parameters are only
returned as well if this is necessary.
("->") returned. In the event of an error, an error message beginning withExx, where xx stands for a unique error number,
comes before the prompt. Moreover, instead of error messages, warning messages ("Wxx") may be output. Warnings are
structured analogously to error messages. Warnings do not prevent commands from being executed.
12.2
General Commands
12.2.1
Help on commands
HELP [HELP|<Command>]
Outputs a list of possible commands, along with general or command-specific help texts.
Commands without parameters
<Command>: Execute command
●
Commands with parameters
<Command>: Displays the current parameter settings
●
<Command> <Parameter1> [<Parameter2> [...]]
●
Generates any number of parameters.
<Command> <Parameter1> <Parameter2> ... <Parameter...>
●
Generates a fixed number of parameters.
Command response
Cursor – the sensor is ready for the input.
E<ddd> <Msg>: Error message, execution canceled
●
W<ddd> <Msg>: Warning, execution in progress
●
<ddd>: Three-digit number
●
<Msg>: Message
●
Format description
(): Grouping
●
optoCONTROL 2700
ASCII Communication
Seite 80
Need help?
Do you have a question about the optoCONTROL 2700 and is the answer not in the manual?