MNEMONIC | FUNCTION | TYPE |
MA | Move To Absolute Position | Motion Instruction |
DESCRIPTION
Set mode for absolute move and move to an absolute position. MD (Current Mode) will be set to MA.
USAGE | UNITS |
MA <±pos> | motor counts |
|
|
EXAMPLE: |
|
MA 51200 | ‘move motor to absolute position 51200 in positive direction |
MA | ‘move motor to absolute position 51200 in negative direction |
RELATED COMMANDS: MD, MR, MS, P
MNEMONIC | FUNCTION | TYPE |
MD | Motion Mode | Motion Instruction |
DESCRIPTION
Indicates what the last motion command was, so that when just a number is entered, then it will read MD to define the new motion.
USAGE
MD
EXAMPLE: |
|
MA 200000 | ‘move absolute 200000 steps, set current mode to MA |
‘move absolute | |
MR 1000000 | ‘move relative 1000000 steps, set current mode to MR |
‘move relative | |
SL 20000 | ‘slew 20000 steps/sec. set current mode to SL |
‘slew 10000 steps/sec in minus direction | |
PR MD | return current mode setting |
RELATED COMMANDS: MD, MR, MS, P, PR, SL
MNEMONIC | FUNCTION | TYPE |
MR | Move To Relative Position | Motion Instruction |
DESCRIPTION
Set mode for relative move and move a relative distance. MD (Current Mode) will be set to MR.
USAGE | UNITS |
MR <±distances> | motor counts |
|
|
EXAMPLE: |
|
MR 200000 | ‘move motor to 200000 motor counts postive direction |
MR | ‘move motor to 50000 motor counts in a negative direction |
RELATED COMMANDS: MD, MA, MS, P
50