AMS DCB-274 manual Examine Command

Page 28

ADVANCED MICRO SYSTEMS, INC.

SERIAL INTERFACE

3.Strike the SPACE BAR key. The controller should sign on with the software version number Vx.xx. If not, enter a (^C) (Reset) and strike the SPACE BAR key again. The “reset” message is generated by easi.exe, not the axis output.

If sign-on does not occur:

a. Verify all connections.

b. Insure that the SIN-8 or SIN-10 is in the “single” mode.

c.Check your comport set-up.

. .

4.Striking the ENTER <CR> key should result in an echo of “# “ characters, further indicating communication is established.

In single mode, you can do a number of useful things:

Assign “name” character (not necessary if using daisy chain)

Tweaking speed and acceleration parameters

Experimenting with commands

Development of program sequences

Storing motion sequences for non-hosted applications

Note: Single axis mode should never be used in a computer or PLC hosted applications. If the design has a single axis then the daisy chain method can be used with either RS-232 or RS422. Single axis functions are suited for programming using the keyboard with visual screen “feedback.”

Examine Command

The Examine command (X)<CR> will display a set of parameter values that were last stored into non-volatile memory. These parameters may be modified using the appropriate commands, then stored in non-volatile memory as the new “defaults.”

X K= 5/5, I= 802, V= 10370, D= 1, b=30, s, ¼, n=A

Where:

K= Ramp up/ramp down

I= Initial velocity

V= Slew velocity

D= Divide factor

b = Decay Threshold

s= Slow decay (now)

¼ = Step Resolution

n= Axis name

The values shown assume there are no input connections or special modes such as inverted limit switches.

Some Rules

1.The command line may be edited using backspace as characters are typed.

2.The line may be canceled using <ESC>.

3.The command line is limited to 15 characters.

4.Only one command may be entered per line.

5.A space is optional between the command and first number.

6.A space or comma must be used to separate two parameter commands.

Although not necessary, it is desirable to have a motor connected to the driver. This provides gratifying feedback. Reference “Hardware Section” for specific motor connections.

The motor characteristics should match the drive capability. If the motor refuses to move in response to an index like “+1000” steps, the control parameters may not be correct. This stalling manifests itself in partial movements of the motor shaft and audible sounds. Insure that the load is not too heavy. Tweaking parameters like motor current, velocities (I and V) and ramp slope (K) can usually coax the motor to action.

2 2

Image 28
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, J4Pin 7 VIO Reference Input Input PortsStandard Mode- Sinking Inputs 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, 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 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 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 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 Reset Port Read/WriteInputs 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 PLC Mode Flag Limit Polarity FlagMake Step and Direction Outputs 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