Digital Dream Standalone Motion Controller DDCS V3.1 DDCS V3.1 Users Manual Page -80
Command Description Example of use
Description of
the example
Options
F
Moves the X axis to, at point
10.5, at a speed of 100.
F100
----------------
G1X10.5
Sets the speed of the working feed, for many
commands. You can write, as at the end of the line
with the command, and a separate line. If F is not
specified anywhere, the speed from parameter # 76
is used.
P
Pauses the program for 2
seconds
P2000
----------------
G4
Specifies the pause time, in milliseconds, for the G4
and G82 commands. You can write, as at the end of
the line with the command, and a separate line.
S
SIN
COS
TAN
SQRT
[n]
[n]
[n]
[n]
[n]
ATAN
ABS
[n1,n2]
Starts the spindle at a speed
of 21000 rpm
S21000
----------------
M3
Specifies the spindle speed for the M3 command.
You can write, as at the end of the line with the
command, and a separate line.
■
Moves the X axis on fast
feed, to the point 10.5.
Option G0 X10.5 - will not
work.
The contents of the
"ProbeMap2.txt" file of the
USB stick will be erased.
G0 X10.5
#1=SIN[30.0]
The symbol for dividing the whole and fractional
parts of numbers. Comma - does not work.
The sine of the parameter n, in degrees.
#1=COS[60.0]
The cosine of the parameter n, in degrees.
#1=SQRT[2.0]
The square root of the parameter n.
#1=TAN[45.0]
The tangent of the parameter n, in degrees.
#1=ATAN[30,10]
returns the angle between the ray to the point
(n1,n2) and the positive x-axis, confined to (-180,
180].
#1=ABS[-30.1]
returns the absolute value of that parameter n.
[n]ClearCoords ClearCoords[2]
clear the contents of the coordinate file on the USB
stick. n is the file serial number.
"10.2000, 5.3000, 0.0000,
0.0000" will be added to the
"ProbeMap3.txt" file of the
USB stick.
[n,x,y,z,a]
No Application
No Application
No Application
No Application
RecordCoords RecordCo-
ords[3,10.2,5.3,0,0]
which can append 4 floating point numbers(x,y,z,a)
to the specified file on the USB stick. The first
parameter(n) is the file serial number, and the next
4 parameters are the recorded data.
Calculate the center
coordinates and store them
in #16, #17 variables
[x1,y1,x2,y2,
x3,y3,n1,n2]
GetCenterPos
GetCenter-
Pos[#10,#11,#12,#13,
#14,#15,16,17]
Find the center of the circle through the 3 points on
the circle.
x1, y1 is the x-y coordinate of the first point;
x2, y2 are the x-y coordinates of the second point;
x3, y3 are the x-y coordinates of the third point;
n1 is a variable index storing the X coordinate of the
center, for example, n1=4, then #4=x coordinate of
the center;
n2 is a variable index storing the Y coordinate of the
center, for example, n2=5, then #5=y coordinate of
the center;
A) M105 : Requires version 2019-04-28-108 or later;
B) M106 : Requires version 2019-04-28-108 or later;
C) M106 : Requires version 2019-04-28-108 or later;
D) M106 : Requires version 2019-04-28-108 or later;
E) ClearCoords : Requires version 2019-05-16-109 or later;
F) RecordCoords : Requires version 2019-05-16-109 or later;
G) GetCenterPos : Requires version 2019-05-16-109 or later.