AMS DCB-274 Computer Hardware User Manual


 
ADVANCED MICRO SYSTEMS, INC. SMC-27X2 SOFTWARE
53
The following procedure is used to access the independently programmable "Hold" and "Run" current
feature:
1. Issue the "Y" command to program the desired current values. Entering Y10 80 yields a 10% Hold
current and 80% Run current.
2. Issue an "S" (Save) command. The values are now stored in non-volatile memory.
On receipt of an index or other motion command, the control circuits are incremented to the 80% boost, while
moving is in process. On completion of motion (and settling time delay) the current is automatically reduced
to the 10% Hold current level.
Quiet Mode
To access the "Current Disable" feature use the following current setup procedure:
Enter Result
Y00 80 Initiates current program mode, sets Hold current at 0% and Run current at 80% of
maximum. The 4-amp drive would be set for 3.2 amps peak.
Note: Refer to “About Step Motor Current” in the Addendum for more detail on setting the proper motor
current.
Function Type NV Bytes
Read and Display Current Position Immediate 1
Command
Z
Mnemonic
(Name) Z
Data 1
Readout Mode (0-1)
Data 2
None
Result
Position
Z (Read Position)
During motor move commands the value will change depending on the direction of travel. The counter is
programmable by the “O” command.
The SMC-27X2 has the option of continuous readout via the serial interface. The “Z 1” command enables
this operation. Any change in position causes the position data to be sent to the serial output. The readout
is terminated by a carriage return only.
The readout mode will be defaulted as “On” if a SAVE command is issued. This mode is only practical using
single axis protocol.
The controller 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.