ADVANCED MICRO SYSTEMS, INC.

 

SMC-27X2 SOFTWARE

 

 

 

 

 

 

 

Command

Function

 

Type

 

NV Bytes

 

+

Index in Plus Direction

 

Immediate, Program

4

 

 

 

 

 

 

 

Mnemonic

Data 1

 

Data 2

Result

 

 

 

 

 

(Name) + (n)

Steps (0-16,777,215)

None

None

 

+ (Index in Plus Direction)

Step in the positive direction for the specified step count.

The motor will ramp up, slew, and then ramp down per the previously set parameters. The range is 0 to 16,777,215. The position counter will overflow at 8,388,607.

The motion sequence is:

1.Wait until any previous motion is finished,

2.Energize the motor winding as required,

3.Start stepping at the rate of the initial velocity (I),

4.Accelerate using a profile defined by the fixed table that approximates straight-line acceleration and a slope set by the “K” command,

5.Accelerate until the slew speed, as specified by the “V” command, is attained,

6.Motion continues at the slew speed, until the deceleration point is reached,

7.Decelerate (determined by the second “K” value) to a stop completing the index,

8.If another index is not commanded for the settling period, power down the motor (if auto power down is enabled).

The DCB-274 is factory set with the following program example:

P 0

Enter program mode.

+1001 Move 1001 steps in the plus direction.

W 100 Wait 100 milliseconds.

- 1000 Move 1000 steps in the minus direction.

W 100 Wait 100 milliseconds.

Z 0

 

Display step position.

 

 

G 0 0

Go to location 0 and run stored program.

 

 

P

 

Exit program mode.

 

 

 

 

 

 

 

 

 

 

Command

Function

 

Type

 

NV Bytes

-

Index in Minus Direction

 

Immediate, Program

4

 

 

 

 

 

 

Mnemonic

Data 1

Data 2

Result

 

 

(Name) – (n)

Steps (0-16,777,215)

None

None

- (Index in Minus Direction)

Same as “+” command only in the opposite direction.

5 5

Page 61
Image 61
AMS DCB-274 manual + Index in Plus Direction, Index in Minus Direction