AMS DCB-274 manual Interrupt Commands, Command Cycle Examples

Page 34

ADVANCED MICRO SYSTEMS, INC.

SERIAL INTERFACE

Interrupt Commands

Interrupt commands are single character commands that will interrupt the operation in process as follows:

Abort

Any action command may be terminated using the ESCape character.

Process

Resulting Action

 

 

Command line input

Clear input buffer.

Program mode

Exit without inserting “END”.

Action command

Terminate all motion (HARD STOP).

Program execution

Terminate execution, Hard Stop.

If more then one process is active then ALL are aborted.

Abort is Global – all axis halt.

Soft Stop “@”

The Soft Stop “@” can be either a command (Immediate mode), or a single character interrupt (Program mode). The Soft Stop operates only when motion resulting from action commands or instructions is taking place.

Soft Stop Interrupt

After velocity deceleration, the process is terminated.

Process

Resulting Action

 

 

Pending period

Decelerate and cancel pending instruction.

Program execute

Decelerate then terminate execution.

During PENDING PERIODS that are a result of multiple Constant Velocity commands (inter-speed ramping), deceleration will be delayed until the previous ramp -to-speed has been completed.

Jog Speeds, Homing

Jog input and home speed is a special case of the constant velocity command. Inter-speed ramping is used if the programmed jog speeds are above the initial velocity. Homing does NOT employ a deceleration ramp on reaching the home sensor.

Note: In any mode, jogging and command reception are mutually exclusive. That is, a command canNOT be loaded while jogging and jogging canNOT be performed until the last command is complete. A command starts with the reception of the first command character.

Command Cycle Examples

Index Cycle Resulting From +, -, R Commands

2 8

Image 34
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 Commands Some 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 DecayClear 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