Read/Write command that sets the MicroStep Resolution for the TBD driver board.


Applies to: CMD-4EX-SA


ASCII                        MSR

Syntax:                        

Read:

MSR                

Write:

MSR=[msr]                 

Where:        [msr]   is integer (0 to 7) 

Reply: 

Command is accepted and executed

Read:         

Returns an integer corresponding to the current MicroStep Resolution being used. See chart below


MSR

Setting

IO30

IO31

IO32

0

Full Step

0

0

0

1

1/2 step

1

0

0

2

1/4 step

0

1

0

3

1/8 step

1

1

0

4

1/16 step

0

0

1

5

1/32 step

1

0

1

6

1/64 step

0

1

1

7

1/128 step

1

1

1


Write:           

OK


Command cannot be processed

       An error message is returned. See Error Codes

Example: 

Read:        

MSR                * Returns the current MicroStep Resolution


Write:        

MSR=2         * Sets the current MicroStep Resolution to 1/4 step for all axes.


Notes:

  • The MSR command is a shortcut to setting IO30 to IO32 for the CMD-4EX-SA when using the TBD driver board. The correlation between the setting of IO30 to IO32 and the MSR command are shown in the chart above. 
  • All axes on the TBD driver board use the same MicroStep Resolution. 

See also:


Commander Manual