19
CEO: Dr. Bernt Götz • Phone +493641/66880 • Fax +493641/668866 • www.piezosystem.com
2 = start on
grun
-command
recstr
Data recorder stride (store only every nth value)
0….65535
reclen
Memory length for each of the two data recorder
channels
0 …. 6144
0 = infinite loop over maximum length
until recorder is stopped manually
recrun
Start or stop the data recorder
0 = stop
1 = start
recout
Read out the data recorder line by line:
• ch: channel
• Index: Distance to index 0
• Length: number of values (max. to reclen or
rec_max)
Response:
recout, <ch>, <index>,<value>
ch:
0 = channel A
1 = channel B
Index:
0… 6143
Length:
1… 6144
recoutf
Read out the complete data recorder comma-
seperated:
Response:
recoutf, <ch>, <value 1>,<value 2>,….,<value
reclen>
ch:
0 = channel A
1 = channel B
Trigger In
trgfkt
Function to run on trigger input
0 = none
1 =
waveform g
enerator start
2 = w
aveform generator step
3 = w
aveform generator sync
4 = ILC sync
5 = start data recorder
Trigger Out
trgedg
Trigger on falling and/or rising edge
0 = off
1 = falling, not inverted
2 = rising, not inverted
3 = both, not inverted
trgsrc
Signal source for trigger out
0 = position
1 = setpoint
trgss
Trigger output start (lower position)
(
posmin
+0.001)...(
posmax
-0.001)
trgse
Trigger output stop (upper position)
(
posmin
+0.001)...(
posmax
-0.001)
trgsi
Trigger output step size
0.001…(
posmax
-0.001)
trglen
Trigger length in samples t=50µs*trglen
(trglen=0
→
t=1µs)
0…255
SPI
spisrc
SPI monitor/ Return value via MISO
0 = 0x0000
1 = position (closed loop)
2 = setpoint
3 = piezo voltage (controller output) 4
= position error
5 = abs(position error)
6 = position (open loop)
7 = piezo current 1
8 = piezo current 2
9 = test value (0x5A5A)
spitrg
Set the PID control loop interrupt source
0 = internal
1 = SPI
mspi
Gain return value
0.0…1.0
(Default: 1.0)
nspi
Offset return value
-
65535.0…65535.0
(Default: 0.0)
spih
Current SPI setpoint in hex
Only query possible