ADVANCED MICRO SYSTEMS, INC.

SMC-27X2 SOFTWARE

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.

Command

Function

 

Type

 

NV Bytes

Z

Read and Display Current Position

Immediate

 

1

 

 

 

 

 

Mnemonic

Data 1

 

Data 2

Result

 

 

 

(Name) Z

Readout Mode (0-1)

None

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.

5 3

Page 59
Image 59
AMS DCB-274 manual Read Position