Page 72
Appendix | ASCII Communication with Sensor
optoNCDT 1220
Declarations on format:
„a | b“
Value of the parameter can be set to the value “a“ or “b“.
„ P1 P2“
It requires that both parameters “P1“ and “P2“ are set.
„ P1 [P2 [P3]]“
The parameters “P1“, “P2“ and “P3“ can be set, whereby “P2“ may only be set, if “P1“ is
set and “P3“ only if “P1“ and “P2“ are set.
„<a>“
The value of the parameter lies in a value range of “... to …“, see parameter description.
Parameter values without peak brackets can only assume discrete values, see parameter description.
Parantheses are to be understood as a grouping, that is, for a better articulation „P1 P2 | P3“ is written as
„(P1 P2)|P3“.
Example without []:
„PASSWD <Old password> <New password> <New password>“
- To change the password, all three parameters are to be input.
The output format is:
<Command name> <Parameter1> [<Parameter2> […]]
The reply can be used again as command for the parameter setting without changes. Optional parameters
are only returned, if the returning is necessary. For example, the activated output values are returned by com-
mand Data selection additional values. After processing a command always a return and a prompt (“
->
“) is
returned. In the case of an error an error message is before the prompt, that begins with „E
xxx
“, where
xxx
is
a unique error number. Also warnings („W
xxx
“) can be output instead of error messages.
These are analogous to the error messages. In case of warnings the command is executed.
The replies to the commands
GETINFO
and
are useful for support requests to the sensor, because
they contain sensor settings.
Содержание ILD 1220-10
Страница 8: ...optoNCDT 2300...
Страница 93: ......