phone: +49 (3641) 66880 • fax: +49 (3641) 668866 • [email protected] • http://www.piezojena.com
Appendix
25
9.1.1.8 Command: def
Command
def,state
Description
Set the
default double word
. The Boolean values are stored into the device's EEPROM and
take effect during the next start-up. If a bit does not identify a Boolean value then the bit is
ignored.
Note: The values that define the running generator are mutually exclusive. If more than one of
these values is true then only the value identified by the least significant bit is stored as true.
The other competing values are stored as false.
Responses
ok
on success
nok
on failure
Query
def
Description
Get the
default double word
as hexadecimal encoded string by retrieving the Boolean values
from the device's EEPROM. If a bit does not identify a Boolean value then the bit is not set.
Responses
def,state
on success
nok
on failure
Parameters
Description
Type
Value description
state
Default double word DW
If the bit identifies a Boolean value then the bit is set if and only if
the value is true.
Errors
error-bit 27, error-bit 31
Examples
request: "def"
response: "def,0x00000124"
The Boolean values are ("x" is true, "_" is false):
01 [_] Soft start enabled.
02 [x] Automatic error report.
03 [_] Drift compensation active.
04 [_] Automatic measurement report.
05 [x] High voltage on.
06 [_] Table-driven generator running.
07 [_] Sine function generator running.
08 [x] Automatic status report.
09 [_] Rectangle function generator running.
10 [_] Triangle function generator running.
back to command list
9.1.1.9 Command: defp
Command
defp,id,state
Description
Set a
default value
or execute a command by
default-bit
identifier. Values are stored into the
device's EEPROM and take effect during the next start-up. If the id-parameter is the
identifier of a command then the state-parameter is ignored and the command is executed.
Note: If the id-parameter identifies one of the values that define the running generator then
the value is stored as provided by the state-parameter (true or false) and all the other
competing values are reset by storing them as false.
Responses
ok
on success
nok
on failure
Query
defp,id