P – Pulse counter value (axis)
Read/write command that returns/sets the command pulse counter value for the designated axis.
Applies to: CMD-4CR, CMD-4EX-SA
ASCII/Standalone P[axis]
Syntax:
Read:
P[axis]
Where: [axis] is set to X, Y, Z, U |
Write:
P[axis]=[value]
Where: [axis] is set to X, Y, Z, U [value] specifies the value to command pulse counter value (32-bit number) |
Reply:
Command is accepted and executed
Read:
Returns the value of the command pulse counter value (32-bit number)
Write:
OK
Command cannot be processed
An error message is returned. See Error Codes
Example:
Read:
PY * Returns the command pulse counter value for the Y axis.
Write:
PX=2400 * Sets the command pulse counter to 2400 for the X axis.
Notes:
None