AMS DCB-274 manual Set Slew Speed

Page 56

ADVANCED MICRO SYSTEMS, INC.

SMC-27X2 SOFTWARE

2. Write program to location 100.

 

 

P100

 

Enter program mode at address 100.

 

100

A129

Read port states .

 

102

A0

Turn port 4 off.

 

104

P0

Exit program mode.

 

3. Set Trip Point.

In “dumb terminal” mode enter T1000 100. This tells the controller to run the program located at address 100 when the step position is 1000.

4. Run program.

Enter the “G” command. Port 4 will turn on and the motor will start moving. When the motor position is at 1000, the program will vector to address 100 and run that sequence. The number 8, signifying port 4, will appear on the screen.

Command

Function

 

Type

 

NV Bytes

V

Set Final (Slew) Velocity in SPS

Default, Immediate, Program

3

 

 

 

 

 

Mnemonic

Data 1

 

Data 2

Result

 

 

 

 

 

 

(Name) V (n)

SPS (40- >36,000)

None

None

V (Set Slew Speed)

This is the maximum speed to be used after acceleration from the initial velocity. The maximum speed will be limited by the motor capability and/or power driver circuitry.

The final output velocity is divided by the value of “D.” This value is independent of constant velocity (M), jog (B) or home (F) speeds and is used when indexing absolute or relative (+, -, R commands).

If full or half step mode is chosen, the acceleration time may become to fast for larger motors. This is due to the high speed SMC27X2 microprocessor. A “D 2” pre -scale divider may be required to provide smoother acceleration characteristics.

Example

Assume that the desired running speed is 12,000 full steps per second (3600 RPM). The speed (“V”) can be set to 24,000 SPS with D = 2.

Thus:

SPS (motor) = V/D or 24000/2 =12,000 SPS

With the “D 2” divider, the full output speed range is approximately 20 to 20,000 SPS.

See “Default Table.”

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.

V 10000

Change the slew velocity to 10000 SPS.

P

Exit program mode.

5 0

Image 56
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 Dual Ammeter Circuit After Sign-onConnect the Motor Serial Interface J2, J3 Advanced Micro SYSTEMS, INC Hardware Connections J1, J4Pin 7 VIO Reference Input Input PortsStandard Mode- Sinking Inputs PLC Mode- Sourcing InputsTypical User Input Circuit Output PortsTypical Output Circuit Encoder Input Option J1Port Encoder Inputs J1 Power Supply and Motor Connection J5Step and Direction Inputs J1 Typical Wiring Diagrams for Step Motors Baud Rate Jumpers B1, B2Specifications ElectricalEnvironmental PhysicalPhysical Dimensions Overview RS-232 HardwareRS-232 RS-422Single axis, RS-232 connection using AMS SIN-7 adapter RS-232 Daisy Chain connectionCable Specifications RS-422 Party Line HardwareParty Line Connect RS-422 Party LineSIN-8, RS-232 to RS-422 converter SIN-8 Serial AdapterRS-422/485 BUS-drop SIN-10, intelligent serial line converter Other Party Line SignalsSIN-10 Intelligent Serial Adapter Party Line Mode Daisy Chain Mode not recommended for more than 1 axisSerial Communications Overview Serial Communications SoftwareSerial Interface Using Easi Baud RateEasi Software Sign-OnExamine Command Axis Name Assignment Simple Command ExamplesDaisy Chain Start-Up Execute the Program NV Memory ProgrammingVerify the Program Some Rules Party Line and Daisy Chain Line CommandsEdit Program 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 Ram@ Soft Stop Command Format DescriptionESC Global Abort Reset Port Read/WriteInputs OutputsProgramming Example Set Jog Speeds Lower case B Fast and Slow DecayClear and Restore NV Memory Divide SpeedsFind Home Normally Open Home SwitchNormally Closed Home Switch Special case Go Step Resolution Initial VelocityRamp Slope Lower case I Restart Special TripJump to Address a, n+1 times Lower case K Trip Output Value Advanced Micro SYSTEMS, INC SMC-27X2 Software Flags and Numbers Loop on PortLower case L Option Flags PLC Mode Flag Limit Polarity FlagMake Step and Direction Outputs Flag Moving Output FlagGentle Limit Flag Move at a Constant VelocityPort 4 Input 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