8 COMMUNICATION FUNCTION (MITSUBISHI ELECTRIC AC SERVO PROTOCOL) [A]
8.5 Detailed explanations of commands
427
8
Positioning operation
■
Operation procedure
Transmit the command, data No., and data as follows to execute positioning operation.
*1 A delay of 100 ms.
*1
Start
Command
Data No.
Data
: [8] [B]
: [0] [0]
: 0002 (Positioning operation)
Select the JOG operation in the test
operation mode.
Servo motor speed setting
Command
Data No.
Data
: [A] [0]
: [1] [0]
: Write the speed [r/min] in
hexadecimal.
Acceleration/deceleration time constant setting
Command
Data No.
Data
: [A] [0]
: [1] [1]
: Write the acceleration/deceleration
time constant [ms] in hexadecimal.
Set the operation pattern.
Travel distance setting
: [A] [0]
: [2] [0]
: Write the travel distance [pulse] in
hexadecimal.
Command
Data No.
Data
Rotation direction selection
: [A] [0]
: [2] [1]
: 0000 (Forward rotation direction)
0001 (Reverse rotation direction)
Command
Data No.
Data
When LSP/LSN was turned Off by external input
signal
When LSP/LSN was turned On by external input
signal or automatically
Enable input device.
Enable input device.
Command
Data No.
Data
: [9] [2]
: [0] [0]
: 00000007
(SON, LSP, and LSN turned on.)
Command
Data No.
Data
: [9] [2]
: [0] [0]
: 00000001
(SON turned on.)
Ready for operation (servo-on)
Start positioning operation
Command
Data No.
Data
: [A] [0]
: [4] [0]
: 1EA5
Start
End
: [8] [B]
: [0] [0]
: 0000
(Test operation mode is canceled.)
Command
Data No.
Data
Test operation mode is canceled.