Download Galil Motion Control Command Reference

Transcript
Galil Motion Control Command Reference
QD
Syntax:
Implicit Notation Only
Operands:
none
Burn:
not burnable
Download Array
Full Description
The QD command transfers array data from the host computer to the controller. QD array[], start, end requires that the array name be specified along
with the index of the first element of the array and the index of the last element of the array. The array elements can be separated by a comma ( , ) or by
<CR> <LF>. The downloaded array is terminated by a \.
It is recommended to use the array download functions available through the GalilTools software and drivers rather than directly using the QD
command.
Arguments
QD array[],start,end where
array[] is valid array name
start is index of first element of array (default=0)
end is index of last element of array (default = size-1)
Operand Usage
N/A
Usage
Usage and Default Details
Usage
Value
While Moving (No RIO)
Yes
In a Program
No
Command Line
Yes
Controller Usage
All
Default Value
start=0, end=size-1
Default Format
N/A (Position Format for 18x2)
Related Commands
QU - Upload array
Examples
:DM array[5]
:QD array[]
1,2,3,4,5\:
:QU array[],0,4,1
:1.0000, 2.0000, 3.0000, 4.0000, 5.0000
:QD array[],2,4
9,8,7\:
:QU array[],0,4,1
:1.0000, 2.0000, 9.0000, 8.0000, 7.0000
Dimension array
Download values to array
Upload the array
Download a subset
Hint: This log is from Hyperterm, a non-Galil software.
file:///C|/Documents%20and%20Settings/Andy/Desktop/Temp/4Kcom/index.html (267 of 358)5/24/2011 8:38:17 AM