MPD – Manual Pulse Generator Divider
Read/Write command that returns/sets the division ration of an input signal by a manual pulse generator.
Applies to: CMD-4CR, CMD-4EX-SA
ASCII MPD
Standalone MPGD
Syntax:
Read:
MPD[axis]
Where: [axis] is set to X, Y, Z, U |
Write:
MPD[axis]=[mpd]
Where: [axis] is set to X, Y, Z, U [mpd] specifies the numerator in a ratio to determine the manual pulse generator count ratio (values 1 – 2048). Resulting ration is: Ratio = [mpd]/2048 |
Reply:
Command is accepted and executed
Read:
Returns the value of the [axis] deviation counter (28-bit value)
Write:
OK
Command cannot be processed
An error message is returned. See Error Codes
Example:
Read:
MPDX * Returns the current manual pulse generator counts for the X axis.
Write:
MPDX=512 * Set the manual pulse generator division ration to 514/2048 = 1/4.
Notes:
- The MPD[axis] can be set to a value from [1 to 2048]. The denominator of the divider circuit is fixed as 2048. A value of 2048 will turn the divider off.
See also:
Commander Manual