Page 122
Appendix| ASCII Communication with Sensor
optoNCDT 2300
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 with []:
„IPCONFIG DHCP|STATIC [<IPAddress> [<Netmask> [<Gateway>]]]“
- The 1. parameter can be set to the value „ DHCP“ or “STATIC“.
- Additionally the parameters „IPAddress“, „netmask“ and „gateway“ can be assigned at STATIC.
- The parameter „IPAddress“, „netmask“ and „gateway“ can only be set, if the parameter 1 is set, also the parameter „IPAddress“
is the requirement for entering the additional parameters „netmask“ and „gateway“; “netmask“ the requirement for entering the
parameter „Gateway“.
- 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 command Data selection additional values, see Chap.
A 6.5.2.5. 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 „Exx“, where xx is a unique error number. Also warnings („Wxx“) 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 PRINT are useful for support requests to the sensor, because they contain sensor set-
tings.