phone: +49 (3641) 66880 • fax: +49 (3641) 668866 • [email protected] • http://www.piezojena.com
Appendix
36
Examples
request: "rect,5.5,0,50,20,60"
response: "ok"
The rectangle function generator is initialized to:
Frequency: 5.5Hz
Amplitude: 50%
Offset: 20%
Duty cycle: 50%
back to command list
9.1.1.23.3 Command: tria
Command
tria,frq,phase,amp,offs,duty
Description
Set the parameters of the triangle function generator by storing them into the device's
EEPROM. A running or stopped triangle function generator is not affected.
Responses
ok
on success
nok
on failure
Query
sin
Description
Get the parameters of the triangle function generator by retrieving them from the device's
EEPROM.
Responses
tria,frq,phase,amp,offs,duty
on success
nok
on failure
Parameters
Description
Type: Range
Default value
frq
Frequency [Hz]
FPV: 0.08 ... 50
10
phase
Initial phase angle [°] (unused)
FPV: 0 ... 360
0
amp
Amplitude [%]
FPV: 0 ... 100
100
offs
Offset [%]
FPV: 0 ... 100
0
duty
Duty cycle [%]
FPV: 0 ... 100
50
Errors
error-bit 28, error-bit 29
Examples
request: "tria,5.5,0,50,20,60"
response: "ok"
The sine function generator is initialized to:
Frequency: 5.5Hz
Amplitude: 50%
Offset: 20%
Duty cycle: 50%
back to command list
9.2 Status Double Word
The description of every status-bit in the status double word follows. The status-bit 00 is the least significant bit
and the status-bit 31 is the most significant bit
:
status-
bit
Name:
Description
00
Device ready:
If every voltage is within its tolerance range and a valid actuator has been recognized then the device
is ready. The state of the high voltage switch is ignored!