Danaher Motion
09/05
VARIABLE AND COMMAND LIST
VarCom Reference
M-SS-017-04 Rev. M
81
RECORD
also defines the time period between each consecutive
recorded data point and the variable names (up to three) being
recorded. An additional parameter defines the number of recorded data
points for each variable (up to 1024). Once they are recorded, variables
are retrieved using
GET
. See
RECTRIG
,
RECDONE
,
RECING
, and
RECRDY
.
NOTE
System variables must be preceded by a double-quote (“).
Command Syntax:
RECORD
[sample time] [num points] [VAR1] {VAR2} {VAR3}
Firmware Versions:
All
Opmodes:
All
Drive Status:
EN/DIS
Example:
RECORD 10 100 “VCMD “V “PRD
(record 100 points for VCMD, V, and PRD every 5 milliseconds)
Range/Units:
[sample time]
:1 to 10,000(* 0.5 milliseconds)
[num points]:
1 to 1024 (1, 2, 4, 8, … 512, 1024)
[VARn]:
a system variable, by ASCII (text) name
RECRDY
Indicates the ready status of the RECORD function. This variable
can be polled after a RECORD command is issued to determine if
the system is waiting for RECTRIG.
0
= RECTRIG has been received and record function is armed
1
= record function is waiting to be armed by RECTRIG
command
Firmware Versions:
All
Type:
switch (R)
Range:
0, 1
Default:
1
Opmodes:
All
Drive Status:
EN/DIS
Units:
N/A
EEPROM:
No
RECTRIG
Sets up the trigger mechanism for
RECORD
.
RECORD
must be set up
before a
RECTRIG
is issued. Four parameters are required to set up
RECTRIG
: Mode, Level, Location, and Direction.
MODE
is a string variable that specifies the parameter that will trigger
recording. Mode can be a variable name or a triggering condition.
Mode determines what other parameters must be entered in order to
completely set up the trigger. Mode must be preceded by a double-
quote when entered, as shown in the following table, which tells what
other parameters are required (LEVel, LOCation, and DIRection)
depending upon the selected Mode.
LEVEL
specifies the value that the variable defined by Mode must
reach for recording to begin.
LOCATION
specifies how many data points to save before the trigger
in the Recording buffer (see
RECORD
for a description of the 1024
data points that are available). When recorded data is retrieved and
displayed, the trigger point’s location in the 1024-point buffer is at the
place specified by Location.