8. Serial Communication Commands
69
© Copyright Reserved Autonics Co., Ltd.
CLR
It clears an actual position counter. The CLR clears the actual position counter.
Format
Command
[Axis specification][CR]
CLR
X [CR]
Y
Put the axis specification "X" in case of PMC-1HS.
[Example] • To clear X and Y axis for 2-axis
CLR
XY[CR]
• To clear for 1-axis
CLR
X [CR]
Response : No-response
SPD
It changes the drive speed and read the current speed.
It changes the speed of the current drive and reads the speed value of each axis operation.
• To configure the speed
Format
Command
[Speed indication of X-axis][Speed indication of Y-axis] [CR]
PIC , [CR]
Y-axis speed
X-axis speed
The actual drive speed is the value that the configuration value is multiplied by speed multiplier.
Drive speed = Axis speed × speed multiplier
To configure the speed individually, ignore unnecessary axes and add comma.
[Example] • To only change the Y-axis speed as 1500pps
SPD , 1500[CR].
• To change the speed as 2000pps for 1-axis
SPD 2000[CR]
Response: No-response
• To acquire the speed
Format
Command [CR]
SPD [CR]
Response
:
• For 2-axis
SPD ,
[LF] [CR]
Current speed of Y-axis
Current speed of X-axis
• For 1-axis
SPD
[LF] [CR]
Current speed of Y-axis
The actual drive speed is the value that the configuration value is multiplied by speed multiplier.
Drive speed = Axis speed × speed multiplier