AMS DCB-274 manual Step Resolution, Initial Velocity

Page 46

ADVANCED MICRO SYSTEMS, INC.

 

SMC-27X2 SOFTWARE

 

 

 

 

 

 

Command

Function

 

Type

NV Bytes

H

Set Step Size Resolution

 

Default, Immediate, Program

2

 

 

 

 

 

Mnemonic

Data 1

 

Data 2

Result

 

 

 

(Name) H (n)

0-5

 

None

None

H (Step Resolution)

This command selects step size resolution. The SMC-27X2 has an internal lookup table of up to 32 bytes corresponding to 1/8 step. This specifies which table is to be used. Each time this command is executed the values are reset to “step 1” and the armature is repositioned to the start phase. Initial and final velocities may require appropriate changes.

The H command sets the phase switching sequence:

 

 

 

 

Steps per rev.

 

 

 

 

 

 

 

Sequence

 

H Command

(1.8 deg) Motor)

 

 

 

Remark

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1/8 Micro

 

H 0

1600

 

Highest resolution smoothest

 

 

 

1/4 Micro

 

H 1

800

 

Resonance reduced or higher resolution

 

 

 

Half

 

H 2

400

 

High torque - 1 phase on/2 phase on

 

 

 

Full

 

H 3

200

 

Highest torque - 2 phase on

 

 

 

1/2 Micro

 

H 4

400

 

Low torque - half step

 

 

 

Wave

 

H 5

200

 

One phase on - full step

 

 

 

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.

 

 

 

 

 

 

H 1

 

Change the resolution to ¼ step.

 

 

 

 

 

 

P

 

Exit program mode.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Command

Function

 

 

 

 

Type

 

NV Bytes

 

I

Set Initial Velocity

 

Default, Immediate, Program

3

 

 

 

 

 

 

 

 

 

 

 

 

 

Mnemonic

 

Data 1

 

 

Data 2

Result

 

 

 

 

 

 

 

(Name) I (n)

 

SPS (40-36,000)

None

None

I (Initial Velocity)

This parameter sets the initial velocity in steps per second. This is the first speed used at the beginning of acceleration. It must be slow enough that the motor can start without loosing steps (stalling).

As with all velocity parameters, the initial velocity is divided by the divide factor (D). Using the examine (X) command displays updated velocities. The initial velocity applies to:

1.All index commands (+, -, R).

2.First execute in constant velocity.

3.Decelerate to 0 in constant velocity or soft stop.

4.Final phase in home command if home speed is above initial velocity.

See “Default Table” in the beginning of this section.

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.

I 100

Change the initial velocity to 100 SPS.

P

Exit program mode.

4 0

Image 46
Contents Nashua, NH Page Revision Date 07/05/06 Page Advanced Micro SYSTEMS, INC Addenum Introduction Limitations or Exceptions for the DCB-274Features Product OverviewRequired Hardware for Operation SIN-8Out of the Box Quick Start Connect the Motor After Sign-onDual Ammeter Circuit Serial Interface J2, J3 Advanced Micro SYSTEMS, INC Hardware Connections J1, J4Standard Mode- Sinking Inputs Pin 7 VIO Reference InputInput Ports PLC Mode- Sourcing InputsTypical User Input Circuit Output PortsPort Encoder Input Option J1Typical Output Circuit Step and Direction Inputs J1 Power Supply and Motor Connection J5Encoder Inputs J1 Typical Wiring Diagrams for Step Motors Baud Rate Jumpers B1, B2Environmental SpecificationsElectrical PhysicalPhysical Dimensions RS-232 OverviewRS-232 Hardware RS-422Single axis, RS-232 connection using AMS SIN-7 adapter RS-232 Daisy Chain connectionParty Line Connect Cable SpecificationsRS-422 Party Line Hardware RS-422 Party LineRS-422/485 BUS-drop SIN-8 Serial AdapterSIN-8, RS-232 to RS-422 converter SIN-10 Intelligent Serial Adapter Other Party Line SignalsSIN-10, intelligent serial line converter Serial Communications Overview Party Line ModeDaisy Chain Mode not recommended for more than 1 axis Serial Communications SoftwareEasi Software Serial Interface Using EasiBaud Rate Sign-OnExamine Command Daisy Chain Start-Up Simple Command ExamplesAxis Name Assignment Verify the Program NV Memory ProgrammingExecute the Program Edit Program Party Line and Daisy Chain Line CommandsSome Rules Command Example Party Line StartupAnatomy of Instruction Execution Interrupt Commands Command Cycle ExamplesAdvanced Micro SYSTEMS, INC Serial Interface Advanced Micro SYSTEMS, INC Serial Interface Non-Volatile Memory Details Memory MapDefault Table Turbo RamESC Global Abort Command Format Description@ Soft Stop Inputs ResetPort Read/Write OutputsProgramming Example Set Jog Speeds Lower case B Fast and Slow Decay Clear and Restore NV Memory Divide SpeedsNormally Closed Home Switch Normally Open Home SwitchFind Home Special case Go Step Resolution Initial VelocityJump to Address a, n+1 times Lower case I Restart Special TripRamp Slope Lower case K Trip Output Value Advanced Micro SYSTEMS, INC SMC-27X2 Software Lower case L Option Flags Loop on PortFlags and Numbers Make Step and Direction Outputs Flag PLC Mode FlagLimit Polarity Flag Moving Output FlagPort 4 Input Flag Move at a Constant VelocityGentle Limit Flag Program Mode Set OriginIndex Relative to Origin Save Trip PointSet Slew Speed Wait Lower case W Pre-energizeExamine Hold and Run CurrentRead Position Read NV Memory Read Limits, Hardware+ Index in Plus Direction Index in Minus DirectionRead Moving Status \ Write to NV MemorySelective Termination Name AxisParty Line Mode AMS SIN-11 Serial AdapterCommand Summary Advanced Micro SYSTEMS, INC AddendumAscii Character Code Ctrl Char Dec Hex CodeStep Motor Characteristics About Step Motor CurrentMotor Choice Determining the Current ValueAmps and Wire Count and Power Basic 8 Wire MotorWire Motor Application Notes V1.10 Double Speed Characteristics Decay ControlSerial Adapter Summary