AKD Benutzerhandbuch | 25.32.9 REC.RETRIEVEDATA
25.32.9 REC.RETRIEVEDATA
General Information
Type
Description
Units
Range
Default
Value
Data Type
See Also
Start Version M_01-00-00-000
Variants Supported
AKD BASIC
AKD SynqNet
AKD EtherNet/IP
Description
REC.RETRIEVEDATA retrieves a section of recorded data according to REC.RETRIEVESIZE from the
received index; if no index is received, the drive retrieves the data from next section. An index is supplied
to enable multiple retrieves and to give better control on the buffer in case of overflow. If no index or a neg-
ative value is present, then the index is ignored.
WorkBench uses this parameter to retrieve the data continuously for real time recoding.
The size of the data returned by this command depends on the number set by REC.RETRIEVESIZE.
Use REC.RETRIEVE for complete recording information view.
Notes:
If REC.RETRIEVESIZE is larger than the buffer size, then it simply returns the
l
whole buffer (no error).
If the index is received, the data will be continuously returned starting from the given
l
index (default starting index is 0).
If the index is out of the bounds of the buffer, then it will be ignored.
l
If recorder is active and REC.STOPTYPE==0, then this parameter returns an error.
l
If REC.STOPTYPE==1, then this parameter returns the next section of data in the
l
buffer (even if it reached the end of the buffer, it will return to the beginning of the
buffer and add the data from index 0.)
If REC.STOPTYPE==1 and the retrieve is too slow (gets overrun by the recorder),
l
an overflow error message is returned instead of the retrieved data.
If REC.STOPTYPE==0 and no index is received, continuously send the sections of
l
data until the end of the buffer is reached. Then, return to the beginning of buffer and
continue.
A new REC.TRIG (s: 888) command automatically sets the index to 0.
l
Example
The following example retrieves data from index 100 in the size of 10 (hence places 100 to 109 in the
buffer)
REC.NUMPOINTS 1000
REC.RETRIVESIZE 10
882
KOLLMORGEN | Mai 2013
R/W Parameter
Retrieves the recorded data without the header.
N/A
N/A
N/A
N/A
REC.RETRIEVE, REC.RETRIEVEHDR, REC.R-
ETRIEVESIZE
Variant
Supported
N/A
√
N/A