14. COMMUNICATION FUNCTION
(3) Positioning operation
(a) Operation procedure
Transmit the command, data No., and data as follows to execute positioning operation.
Command
Data No.
Data
Command
Data No.
Data
Acceleration/deceleration time constant setting
Command
Data No.
Data
Command
Data No.
Data
Command
Data No.
Data
When LSP/LSN was turned Off by external
input signal
Enable input device.
Command
:
[9] [2]
Data No.
:
[0] [0]
Data
:
00000007
(SON, LSP, and LSN turned
on.)
Command
Data No.
Data
Command
Data No.
Data
Note. It has 100 ms delay.
Start
:
[8] [B]
:
[0] [0]
:
0002 (Positioning operation)
Servo motor speed setting
:
[A] [0]
:
[1] [0]
:
Write the speed [r/min] in
hexadecimal.
:
[A] [0]
:
[1] [1]
:
Write the acceleration/
deceleration time constant [ms] in
hexadecimal.
Travel distance setting
:
[A] [0]
:
[2] [0]
:
Write the travel distance [pulse] in
hexadecimal.
Rotation direction selection
:
[A] [0]
:
[2] [1]
:
0000 (Forward rotation direction)
0001 (Reverse rotation direction)
When LSP/LSN was turned On by external
input signal or automatically
Enable input device.
Command
:
Data No.
:
Data
:
(Note)
Start positioning operation
:
[A] [0]
:
[4] [0]
:
1EA5
End
:
[8] [B]
:
[0] [0]
:
0000
(Test operation mode is
canceled.)
14 - 32
[9] [2]
[0] [0]
00000001
(SON turned on.)
Select the JOG operation in the test
operation mode.
Set the operation pattern.
Turn on SON (Servo-on) to make the
servo amplifier ready.
Start
Test operation mode is canceled.