Galil DMC-1400 用户手册
DMC-1400 Series Command Reference BG
● 37
BG
FUNCTION: Begin
DESCRIPTION:
The BG command starts a motion. When Used as an Operand, the BG command will return a
1 if there is a commanded motion in progress, a 0 otherwise.
ARGUMENTS: BG
USAGE:
While Moving
Yes
Default Value
---
In a Program
Yes
Default Format
---
Command Line
Yes
Can be Interrogated
No
Used as an Operand
Yes
Controller Usage
ALL
OPERAND USAGE:
_BGx contains a ‘0’ if motion complete on the axis, otherwise contains a ‘1’.
RELATED COMMANDS:
After motion complete
Stop motion
EXAMPLES:
PR 2000
Set up for a relative move
BG Start
motion
HM
Set up for the homing
BG Start
motion
JG 1000
Set up for jog
BG Start
motion
STATE=_BG
Assign a 1 to STATE if the axis is performing a move
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 _BG being equal to 0.
AM trippoint to wait for motion complete between moves. Another method for checking motion
complete is to test for _BG being equal to 0.