Controlling Operation From The Host Controller; Positioning - YASKAWA SGD7S Product Manual

E-7-series
Hide thumbs Also See for SGD7S:
Table of Contents

Advertisement

13.3

Controlling Operation from the Host Controller

This section describes the operation of the SERVOPACK for I/O communications from the host
controller.
13.3.1

Positioning

Positioning can be performed to specified target positions. The procedure and an example
operation are given below.
Using Commands
The command method and procedure for positioning are given below.
1.
If it is necessary to change the current parameters, set the target speed, acceleration
rate, deceleration rate, etc.
2.
In the Absolute/Incremental bit in the command message, specify whether the target
position is an absolute or relative position.
3.
Set the command assembly code to 0x01 and set the target position in the command
message.
4.
Set the Valid Data bit to 1 in the command message, and then set the Start Trajectory bit
to 1. You can set both the Valid Data bit and the Start Trajectory bit to 1 at the same
time.
5.
After positioning starts, the Trajectory In Progress bit in the response message is set to
1. It is then cleared to 0 after the reference pulses to the target position have all been
distributed.
Positioning Operation Example
An example of a command message for positioning is given in the following table. In this exam-
ple, an absolute position with a target position of 128,000 reference units (= 0x0001F400) is
specified. The SERVOPACK assumes that the data, such as that for the target position, is valid
when the Valid Data bit in the command message is set to 1. Therefore, set bytes 1 to 7 first,
and then set byte 0.
Bytes
Bit 7
1
0
Enable
1
2
3
4
5
6
7
Bit 6
Bit 5
1
0
Valid
Hard
Data
Stop
0x1 Axis Instance
0x1 Axis Instance
0x00 Target Position Low Byte
0xF4 Target Position Low Middle Byte
0x01 Target Position High Middle Byte
0x00 Target Position High Byte

13.3 Controlling Operation from the Host Controller

Bit 4
Bit 3
0
0
0
Absolute/
Smooth
Direction
Incremen-
Stop
(V mode)
tal
0x00 Block Number
0x01 Command Assembly Code
0x03 Response Assembly Code

13.3.1 Positioning

Bit 2
Bit 1
Bit 0
0
1
Start
Start
Block
Trajectory
13
13-13

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sgdv-oca04aSgdv-oca05a

Table of Contents