A response to command m, for example, might look like: „m,b63a". The value b63a
46650
, this corresponds to a position of 83,89%, based on the closed-loop-range.
decimal
160
position
%
65535
Example 1:
A jump (in open loop mode), with a record duration of t=200ms and a sample rate of ∆t=100µs
shall be recorded. From this follows a sample count of 2000 (you can always sample more, but
minimum the desired readout length). Afterwards the position values are read out, followed by the
voltage values. Thus, the minimum sample count is 2000 based on the calculation
t
200
ms
rectlen
min
t
100
µs
Command history for the issue described above:
cl,0
set,-10
recstride,5
reclen,2000
set,110
recrdptr,0
m
m
...
recrdptr,0
u
u
...
Example 2:readout modes:
u<CR>
Response:
u,0<CR>
Response:
u,1<CR>
Response:
u,0,3<CR>
Response:
u,1,4<CR>
Response:
Geschäftsführer: Dr. Bernt Götz • Telefon 03641/66880 • Fax 03641/668866 • www.piezosystem.com
46650
30
83
.
89
2000
// open loop
// set initial voltage to -10V
// wait a bit, until the initial position is reached (e.g. 0.5s)
// 5x20µs=100µs
// 200ms/100µs=2000 samples
// jump in open loop to 110V, record starts automatically
// wait a bit, until the record is done
// rec_read_pointer (readout start address set to 0)
// read out 1st sample (position)
// read out 2nd sample (position)
// rec_read_pointer (readout start address set to 0)
// read out 1st sample (voltage)
// read out 2nd sample (voltage)
u,value<CR>
u,value<CR>
value<CR>
u,value<CR> u,value<CR> u,value<CR>
value<CR> value<CR> value<CR> value<CR>
represents
hex
67