AMS DCB-274 Computer Hardware User Manual


 
ADVANCED MICRO SYSTEMS, INC. SMC-27X2 SOFTWARE
37
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.
Function Type NV Bytes
Clear and Restore NV Memory Immediate N/A
Command
C
Mnemonic
(Name) C (n)
Data 1
0-8
Data 2
None
Result
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.
Function Type NV Bytes
Divide Speeds Immediate, Program 2
Command
D
Mnemonic
(Name) D (n)
Data 1
Resolution (1-255)
Data 2
None
Result
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.
Function Type NV Bytes
Unused 2
Command
E
Mnemonic
(Name) E (n)
Data 1
Data 2
None
Result
None
Unused. See “Y” command.