DMC-18x6 Command Reference
38
BG
FUNCTION: Begin
DESCRIPTION:
The BG command starts a motion on the specified axis or sequence.
ARGUMENTS: BG nnnnnnnnnn
where
n is A,B,C,D,E,F,G,H,S,T, M or N, or any combination to specify the axis or sequence
USAGE: DEFAULTS:
While Moving
Yes
Default Value
0
In a Program
Yes
Default Format
-
Command Line
Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
_BGn contains a `0' if motion complete on the specified axis or coordinate system, otherwise
contains a `1'.
RELATED COMMANDS:
After motion complete
Stop motion
EXAMPLES:
PR 2000,3000,,5000
Set up for a relative move
BG ABD
Start the A,B and D motors moving
HM
Set up for the homing
BGA
Start only the A-axis moving
JG 1000,4000
Set up for jog
BGY
Start only the B-axis moving
BSTATE=_BGB
Assign a 1 to BSTATE if the B-axis is performing a move
VP 1000,2000
Specify vector position
VS 20000
Specify vector velocity
BGS Begin
coordinated
sequen0ce
VMAB Vector
Mode
VP 4000,-1000
Specify vector position
VE Vector
End
PR ,,8000,5000
Specify C and D position
BGSCD
Begin sequence and C,D motion
MG _BGS
Displays a 1 if motion occurring on coordinated system "S"
Hint: A BG command cannot be executed for any axis in which motion has not completed. Use the AM
trippoint to wait for motion complete between moves. Determining when motion is complete can also be
accomplished by testing for the value of the operand _BGn.