18
•
BG
DMC-1000/1500 Command Reference
DMC-1000
DMC-1500
BG
FUNCTION:
Begin
DESCRIPTION:
The BG command starts a motion on the specified axis or sequence.
ARGUMENTS:
BG XYZWS BG ABCDEFGH
where
XYZW are X,Y,Z,W axes and S is coordinated sequence
USAGE: DEFAULTS:
While Moving
Yes
Default Value
0
In a Program
Yes
Default Format
-
Command Line
Yes
Can be Interrogated
No
Used as an Operand
Yes
OPERAND USAGE:
_BGx contains a ‘0’ if motion complete on the specified axis, otherwise contains a ‘1’.
RELATED COMMANDS:
AM
After motion complete
ST Stop
motion
EXAMPLES:
PR 2000,3000,,5000
Set up for a relative move
BG XYW
Start the X,Y and W motors moving
HM
Set up for the homing
BGX
Start only the X-axis moving
JG 1000,4000
Set up for jog
BGY
Start only the Y-axis moving
YSTATE=_BGY
Assign a 1 to YSTATE if the Y-axis is performing a move
VP 1000,2000
Specify vector position
VS 20000
Specify vector velocity
BGS
Begin coordinated sequence
VMXY Vector
Mode
VP 4000,-1000
Specify vector position
VE Vector
End
PR ,,8000,5000
Specify Z and W position
BGSZW
Begin sequence and Z,W motion
MG _BGS
Displays a 1 if coordinated sequence move is running
Hint: You cannot give another BG command until current BG motion has been completed. Use the
AM trippoint to wait for motion complete between moves. Another method for checking motion
complete is to test for _BGx being equal to 0.