Section 2 . 4
M D r i v e M o t i o n C o n t r o l C o m m a n d S e t
MNEMONIC | FUNCTION | TYPE |
A | Acceleration | Motion Variable |
DESCRIPTION
The A Variable sets the peak acceleration that will be reached by the MDrive in steps per second2.
USAGE | UNITS | RANGE | DEFAULT |
A=<accl> | Steps/sec2 | 0 to 1525878997 | 1000000 |
|
|
|
|
EXAMPLE: |
|
|
|
A=20000 | ‘set acceleration to 20000 steps/sec2 |
|
|
A=D | ‘set acceleration equal to deceleration |
|
|
|
|
|
|
RELATED COMMANDS: D |
|
|
|
MNEMONIC | FUNCTION | TYPE |
AL | Retrieve All Parameters | Variable |
DESCRIPTION
The AL variable is used with the PR (PRINT) instruction to print the value/state of all variables and flags to the terminal program.
USAGE
PR AL
RELATED COMMANDS: PR
MNEMONIC | FUNCTION | TYPE |
BD | BAUD Rate | Setup Variable |
DESCRIPTION
This variable sets the baud rate for serial communications with the MDrive. It sets the rate for the
In order for the new BAUD rate to take effect, the user must issue the S (SAVE) instruction and then reset the MDrive. When the MDrive is reset, it will communicate at the new BAUD rate.
48 = 4800 bps, 96 = 9600 bps, 19 = 19200 bps, 38 = 38000 bps, 11 = 115200 bps
USAGE | UNITS | RANGE | DEFAULT |
BD=<baud> | bits per second | 48, 96, 19, 38, 11 | 9600 bps |
|
|
|
|
EXAMPLE: |
|
|
|
BD=96 | ‘set communications BAUD rate to 9600 bps |
|
RELATED COMMANDS: —
38