AMS DCB-274 manual Read Position

Page 59

ADVANCED MICRO SYSTEMS, INC.

SMC-27X2 SOFTWARE

The following procedure is used to access the independently programmable "Hold" and "Run" current feature:

1.Issue the "Y" command to program the desired current values. Entering Y10 80 yields a 10% Hold current and 80% Run current.

2.Issue an "S" (Save) command. The values are now stored in non-volatile memory.

On receipt of an index or other motion command, the control circuits are incremented to the 80% boost, while moving is in process. On completion of motion (and settling time delay) the current is automatically reduced to the 10% Hold current level.

Quiet Mode

To access the "Current Disable" feature use the following current setup procedure:

Enter

Result

Y00 80

Initiates current program mode, sets Hold current at 0% and Run current at 80% of

 

maximum. The 4-amp drive would be set for 3.2 amps peak.

Note: Refer to “About Step Motor Current” in the Addendum for more detail on setting the proper motor current.

Command

Function

 

Type

 

NV Bytes

Z

Read and Display Current Position

Immediate

 

1

 

 

 

 

 

Mnemonic

Data 1

 

Data 2

Result

 

 

 

(Name) Z

Readout Mode (0-1)

None

Position

Z (Read Position)

During motor move commands the value will change depending on the direction of travel. The counter is programmable by the “O” command.

The SMC-27X2 has the option of continuous readout via the serial interface. The “Z 1” command enables this operation. Any change in position causes the position data to be sent to the serial output. The readout is terminated by a carriage return only.

The readout mode will be defaulted as “On” if a SAVE command is issued. This mode is only practical using single axis protocol.

The controller is factory set with the following program example:

P 0

Enter program mode.

+1001 Move 1001 steps in the plus direction.

W 100 Wait 100 milliseconds.

- 1000 Move 1000 steps in the minus direction.

W 100 Wait 100 milliseconds.

Z 0

Display step position.

G 0 0

Go to location 0 and run stored program.

P

Exit program mode.

5 3

Image 59
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 Dual Ammeter Circuit After Sign-onConnect the Motor 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 CircuitTypical Output Circuit Encoder Input Option J1Port Encoder Inputs J1 Power Supply and Motor Connection J5Step and Direction 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, 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 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 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 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 Table@ Soft Stop Command Format DescriptionESC Global Abort Outputs ResetPort Read/Write InputsProgramming Example Lower case B Fast and Slow Decay Set Jog SpeedsDivide Speeds Clear and Restore NV MemoryFind Home Normally Open Home SwitchNormally Closed Home Switch Special case Go Initial Velocity Step ResolutionRamp 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 Moving Output Flag PLC Mode FlagLimit Polarity Flag Make Step and Direction Outputs FlagGentle Limit Flag Move at a Constant VelocityPort 4 Input Flag Set Origin Program ModeIndex Relative to Origin Trip Point Save Set 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