AMS DCB-274 manual Clear and Restore NV Memory, Divide Speeds

Models: DCB-274

1 72
Download 72 pages 34.52 Kb
Page 43
Image 43

ADVANCED MICRO SYSTEMS, INC.

SMC-27X2 SOFTWARE

Multiple variables that interact include:

Operating step speed range

Step resolution

Motor size and characteristics

Load inertia and load damping affects

Supply voltage

Motor current setting

Acceleration and deceleration rates

Once the optimal settings are determined, they will apply to future production, provided all remains constant.

Command

Function

 

Type

NV Bytes

C

Clear and Restore NV Memory

Immediate

N/A

 

 

 

 

 

Mnemonic

Data 1

 

Data 2

Result

 

 

 

 

 

 

(Name) C (n)

0-8

 

None

Version

C (Clear and Restore NV Memory)

Previously stored programs are erased. Using a 1 forces complete NV memory initialization with factory default values with erasure of all previously stored programs. This MUST be done when new NV memory is installed or existing memory is corrupted. Frequent use of this command should be avoided, as memory longevity may be affected. This command should not be used within the non-volatile program memory. The “C 0” command simply reads the last stored values into the working registers.

Command

Function

 

Type

 

NV Bytes

D

Divide Speeds

 

Immediate, Program

2

 

 

 

 

 

Mnemonic

Data 1

Data 2

Result

 

 

 

 

 

 

(Name) D (n)

Resolution (1-255)

None

None

D (Divide Speeds)

All speeds during ramping and slewing are divided by the specified number (n). The pre -scale number may range between 1 and 255. Speeds as low as 4 1/2 steps per minute may be obtained. As “n” is increased, other parameters (internal speeds) must be increased to obtain a given output step speed.

Using a value of 2 is usually necessary to produce smoother acceleration characteristics at Full and Half step modes. The specified SPS must be doubled to recover the motor shaft speed. D should not be changed while moving at speeds that require ramping. The power-up settings are stored in NV memory.

This command is generally implemented during the initial customer default parameter assignment. However,

it may be implemented and changed within a program. Following, is an example:

 

P 0

Enter program mode.

 

 

 

 

D 10

Change the divider to 10.

 

 

 

P

Exit program mode.

 

 

 

 

 

 

 

 

 

 

 

Command

 

Function

 

Type

NV Bytes

E

 

Unused

 

 

 

2

 

 

 

 

 

 

 

Mnemonic

Data 1

 

Data 2

Result

 

 

 

 

 

(Name) E (n)

 

 

None

None

Unused. See “Y” command.

 

 

 

 

3 7

Page 43
Image 43
AMS DCB-274 manual Clear and Restore NV Memory, Divide Speeds