Galil Motion Control optcom Page 171
Optima DMC-1xxx and DMC-18x2 Command Reference
RA
i
160
RA
FUNCTION: Record Array
DESCRIPTION:
The RA command selects one through eight arrays for automatic data capture. The selected
arrays must be dimensioned by the DM command. The data to be captured is specified by
the RD command and time interval by the RC command.
ARGUMENTS: RA n [],m [],o [],p [] RA n[],m[],o[],p[],q[],r[],s[],t[]
where
n,m,o and p are dimensioned arrays as defined by DM command. The [] contain nothing.
USAGE: DEFAULTS:
While Moving
Yes
Default Value
-
In a Program
Yes
Default Format
-
Command Line
Yes
Controller Usage
ALL CONTROLLERS
RELATED COMMANDS:
"DM"
Dimension Array
"RD"
Record Data
"RC"
Record Interval
EXAMPLES:
#Record Label
DM POS[100]
Define array
RA POS[]
Specify Record Mode
RD _TPA
Specify data type for record
RC 1
Begin recording at 2 msec intervals
PR 1000;BG
Start motion
EN End
Hint: The record array mode is useful for recording the real-time motor position during motion. The
data is automatically captured in the background and does not interrupt the program sequencer. The
record mode can also be used for a teach or learn of a motion path.