AMS DCB-274 manual Selective Termination, Name Axis

Page 63

ADVANCED MICRO SYSTEMS, INC.

SMC-27X2 SOFTWARE

Command

Function

 

Type

NV Bytes

Terminate Program

 

Immediate

2

 

 

 

 

 

Mnemonic

Data 1

 

Data 2

Result

 

 

 

 

Status

(Name)

 

 

 

Byte

(Selective Termination)

This command (pipend: vertical dash key-Shift \) can be placed at a point to terminate (equivalent to ABORT) the program that was started via the "G" command or hardware GO input. The Terminate command may be used to individually "ABORT" a single axis in multiple axis systems, when the global "ESC" command is not appropriate.

Program Example

 

 

P 0

 

 

0 O

 

Set Origin To Zero

1 I

400

Initial SPS

4 T

1000 128

Set a Trip

9 M

5000

Start Motion

12 I

1000

Change Initial SPS

15 V

1000

Slew

18 G

18

Wait

21 P

0

End Program Flag

P 128

 

Trip Routine Start

128

+2000

Decelerate and Index

133 W

0

Wait

136 Z

 

Show Position

138 (axis name)

Abort Program (where “axis name” is the selected axis to

 

 

terminate)

140 P

0

End Program Flag

S

 

Save Code at 128

Issue "GO": The sequence will complete and show the position that the number of extra steps is due to (decelerate) ramp plus a few steps of overhead. The overstep difference is repeatable.

Command

Function

 

Type

 

NV Bytes

^N

Name Controller

 

None

 

N/A

 

 

 

 

 

Mnemonic

Data 1

Data 2

Result

 

^N

None

None

None

^N (Name Axis)

Response to the single character “Ctrl N“ (14 decimal, 0E hex) is immediate.

This command must be executed with one axis attached, otherwise a bus conflict will occur and all axes may receive the same name. On entry of the “Ctrl N” the controller responds with “name?” Type the desired name, the character will be stored in NV memory and the DCB-274 is ready to enter party line mode.

5 7

Image 63
Contents Nashua, NH Page Revision Date 07/05/06 Page Advanced Micro SYSTEMS, INC Addenum Limitations or Exceptions for the DCB-274 IntroductionProduct Overview FeaturesSIN-8 Required Hardware for OperationOut of the Box Quick Start After Sign-on Connect the MotorDual Ammeter Circuit Serial Interface J2, J3 Connections J1, J4 Advanced Micro SYSTEMS, INC HardwarePLC Mode- Sourcing Inputs Pin 7 VIO Reference InputInput Ports Standard Mode- Sinking InputsOutput Ports Typical User Input CircuitEncoder Input Option J1 PortTypical Output Circuit Power Supply and Motor Connection J5 Step and Direction Inputs J1Encoder Inputs J1 Baud Rate Jumpers B1, B2 Typical Wiring Diagrams for Step MotorsPhysical SpecificationsElectrical EnvironmentalPhysical Dimensions RS-422 OverviewRS-232 Hardware RS-232RS-232 Daisy Chain connection Single axis, RS-232 connection using AMS SIN-7 adapterRS-422 Party Line Cable SpecificationsRS-422 Party Line Hardware Party Line ConnectSIN-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 Software Party Line ModeDaisy Chain Mode not recommended for more than 1 axis Serial Communications OverviewSign-On Serial Interface Using EasiBaud Rate Easi SoftwareExamine 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 Party Line Startup Command ExampleAnatomy of Instruction Execution Command Cycle Examples Interrupt CommandsAdvanced Micro SYSTEMS, INC Serial Interface Advanced Micro SYSTEMS, INC Serial Interface Memory Map Non-Volatile Memory DetailsTurbo Ram Default TableCommand Format Description ESC Global Abort@ Soft Stop Outputs ResetPort Read/Write InputsProgramming Example Lower case B Fast and Slow Decay Set Jog SpeedsDivide Speeds Clear and Restore NV MemoryNormally Open Home Switch Normally Closed Home SwitchFind Home Special case Go Initial Velocity Step ResolutionLower 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 Moving Output Flag PLC Mode FlagLimit Polarity Flag Make Step and Direction Outputs FlagMove at a Constant Velocity Port 4 Input FlagGentle Limit Flag Set Origin Program ModeIndex Relative to Origin Trip Point SaveSet Slew Speed Lower case W Pre-energize WaitHold and Run Current ExamineRead Position Read Limits, Hardware Read NV MemoryIndex in Minus Direction + Index in Plus Direction\ Write to NV Memory Read Moving StatusName Axis Selective TerminationAMS SIN-11 Serial Adapter Party Line ModeAdvanced Micro SYSTEMS, INC Addendum Command SummaryCtrl Char Dec Hex Code Ascii Character CodeAbout Step Motor Current Step Motor CharacteristicsDetermining the Current Value Motor ChoiceBasic 8 Wire Motor Amps and Wire Count and PowerWire Motor Decay Control Application Notes V1.10 Double Speed CharacteristicsSerial Adapter Summary