AMS DCB-274 manual Set Jog Speeds, Lower case B Fast and Slow Decay

Page 42

ADVANCED MICRO SYSTEMS, INC.

 

SMC-27X2 SOFTWARE

 

 

 

 

 

 

Command

Function

 

Type

 

NV Bytes

B

Set Jog Speeds

 

Default, Immediate, Program

3

 

 

 

 

 

Mnemonic

Data 1

 

Data 2

Result

 

 

 

(Name) B (n1, n2)

Slow Speed (0-255)

High Speed (0-255)

None

B (Set Jog Speeds)

These two numbers represent the speeds to use for jog inputs. The first is usually a lower speed. The second number is used when the high-speed jog (pin J1-9) is held low. The values are multiplied by 30 to determine the actual step rate in FULL steps per second. The controller automatically scales the step rates to maintain a constant shaft RPM when the microstep resolution is changed.

Setting values of 0 will disable the jog. Speeds are divided by the “D” value. 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

Enters program mode.

 

 

 

B 0 0

Disable jog switches.

 

 

 

+ 100000

Move 100000 in the plus direction.

 

 

 

W 0

Wait until move is complete.

 

 

 

B 30 100

Re-enable jog switches.

 

 

 

P

Exit program mode.

 

 

 

 

 

 

 

 

 

Command

 

Function

 

Type

 

NV Bytes

b

 

Set Slow or Fast Decay

 

Default, Immediate, Program

2

 

 

 

 

 

 

 

 

Mnemonic

Data 1

Data 2

Result

 

 

 

 

(Name) b (0, 255)

Speed Threshold

 

None

b (lower case B; Fast and Slow Decay)

The DCB-274 has been designed to add both Slow and Fast decay. When there is no motion (stopped), the decay will always be slow. The threshold defines a motor speed where slow decay changes to fast decay during acceleration and switches back to slow decay during deceleration. The threshold will occur at an RPM where step resolution is taken into account.

Threshold

 

 

Value

½ SPS

1/8 SPS

 

 

 

0

Fast

Fast

25

650

2400

50

1300

4800

100

2400

9600

150

3700

14000

200

5000

19200

255

Slow

 

Because the step rate is actually measured, the decay detection functions for external step pulse input. Slow decay provides smooth operation with reduced resonance’s at slow to medium speeds. Fast decay will generally enhance high-speed operation at speeds above 200-300 RPM. The actual settings usually must be determined empirically (see Addendum: “About Step Motor Current”) and tailored to the specific design.

3 6

Image 42
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 After Sign-on Connect the MotorDual 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 PortsEncoder Input Option J1 PortTypical Output Circuit Power Supply and Motor Connection J5 Step and Direction Inputs J1Encoder 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 LineSIN-8 Serial Adapter RS-422/485 BUS-dropSIN-8, RS-232 to RS-422 converter Other Party Line Signals SIN-10 Intelligent Serial AdapterSIN-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 Simple Command Examples Daisy Chain Start-UpAxis Name Assignment NV Memory Programming Verify the ProgramExecute the Program Party Line and Daisy Chain Line Commands Edit ProgramSome 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 RamCommand Format Description ESC Global Abort@ Soft Stop Inputs ResetPort Read/Write OutputsProgramming Example Set Jog Speeds Lower case B Fast and Slow DecayClear and Restore NV Memory Divide SpeedsNormally Open Home Switch Normally Closed Home SwitchFind Home Special case Go Step Resolution Initial VelocityLower case I Restart Special Trip Jump to Address a, n+1 timesRamp Slope Lower case K Trip Output Value Advanced Micro SYSTEMS, INC SMC-27X2 Software Loop on Port Lower case L Option FlagsFlags and Numbers Make Step and Direction Outputs Flag PLC Mode FlagLimit Polarity Flag Moving Output FlagMove at a Constant Velocity Port 4 Input FlagGentle 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