background image

August 2012

L010796

25

Add Tab Sheets - Motion Commands

Accel/Decel

Set program acceleration & deceleration parameter. (step/sec

2

)

Base Speed

Set program base (start) speed rate. (step/sec)

Max Speed

Set program maximum (running) speed rate. (step/sec)

Set Jog Speed

Set program jogging speed rate. (step/sec)

Set Position

Set motor position.

Direction CW (CCW)

Set direction to clockwise or counter-clockwise.

Motor Current ON (OFF)

Set the current in the motor on or off.

Wait__Milliseconds

This command allows the user to enter a delay in milliseconds.

Move__Steps

Relative move command will allow motor to move the defined number of steps entered.

Move to Position

Absolute move command will move motor to the position specified.

Set Position

Allows user to change the position register in the controller.

Finish Move

Command will allow any motion command to be completed before continuing to the 

next line of code.  This command should be used after every motion command.

Repeat Last Move

Command will repeat the previous index move.  Do not use with encoder auto correct 

enabled.

Home to Soft, Home Limits

Command will begin motion in the direction last entered, seeking the soft input first to 

slow the motor down to base speed, then to stop when the home limit is triggered.

Home to Home Limit

Command will begin motion seeking the home limit which will slow the motor down to 

base speed, reverse the direction and stop when the home limit is no longer triggered.

Slew (move continuously)

Command will ramp motor up to max speed and keep moving until triggered to stop.

Stop Soft

Ramp motor down to base speed and stop.

Stop Hard

Stop any motor motion immediately.

End of Program

This command is required as the last command in the program code.

July 2018

Summary of Contents for DPE25611

Page 1: ...E25611 Programmable Driver Pack User s Guide 4985 E Landon Drive Anaheim CA 92807 e mail info anaheimautomation com 714 992 6990 fax 714 992 0471 website www anaheimautomation com A N A H E I M A U T...

Page 2: ...e Step Motor 9 Section 3 Controller Functions 10 Methods of Communication 10 Baud Rate 10 RS232 Protocol Controller SW1 in RS232 Position 10 RS485 Protocol Controller SW1 in RS485 Position 10 Axis Sel...

Page 3: ...motor driver that can drive motors rated from 0 5 to 2 5 amps phase It can handle 4 6 and 8 lead motors in a bipolar fashion The DPE25611 s driver features motor current ON OFF capabilities and a Redu...

Page 4: ...lyback voltage spikes Ordering Information The table below lists a variety of products available from Anaheim Automation Inc These prod ucts include those covered by this manual analog with supporting...

Page 5: ...August 2012 L010796 5 Dimensions Wiring Diagrams July 2018...

Page 6: ...return for encoder Position Description Limit Switch Inputs 1 Home Limit 2 Jog 3 Jog 4 Fast Jog 5 Hard Limit 6 Hard Limit 7 Soft Limit 8 Soft Limit 9 Ground Position Description Motor Connection 1 Inp...

Page 7: ...eim Automation offers a comprehensive line of step motors in 14 17 23 34 and 42 frame sizes Contact the factory to verify motor compatibility with the DPE25611 Section 2 Driver Functions Step Motor Cu...

Page 8: ...ves The specified motor current which is the unipolar value is multiplied by a factor of 1 0 1 4 or 2 0 depending on the motor configuration series half coil or parallel Step Motor Configurations Step...

Page 9: ...meter value Note After the current has been determined according to the motor connections above use Table 3 to choose the proper setting for the current setting potentiometer Connecting the Step Motor...

Page 10: ...second Very often the parity bit is included as an information or data bit The DPE25611 accepts a baud rate of 38400 only Axis Selection Each DPE25611 is addressed using a programmable register allow...

Page 11: ...ese limits are directional NOTE Whenever a soft limit switch is activated the motor will decelerate and run at base speed during an indexing move or stop during a slewing move Be sure to come back pas...

Page 12: ...read an analog voltage to either set the absolute position of the motor or to set the maximum speed of the motor To Set the Position When told via the goto analog position command the input will read...

Page 13: ...specified number of mil liseconds Range 1 to 65535 If Then Statements The if then statements are conditional based on the values preset in the program The user can either test each individual input o...

Page 14: ...on Deceleration The acceleration and deceleration are the same value The acceleration is entered directly as steps sec2 and controls the time that the motor will take to move from base speed to max sp...

Page 15: ...er D setup and click OK use the appropriate drive letter i e D or E Option 2 1 Open Windows Explorer 2 Open CD Drive Folder D or E 3 Double Click the setup Icon Getting Started 1 Double click on the S...

Page 16: ...xis Set axis selection and stored axis of the controller Select Axis Sets the axis select parameter in the SMC60WIN software 1 99 Define Axis Sets the programmable address in the controller 1 99 New P...

Page 17: ...top Program Stop the execution of the program in the controller memory View Program View the program stored in the controller memory Clear Program Memory Clear the program memory in the controller Aut...

Page 18: ...format anaheimautomation com Opens up the Anaheim Automation Website About Displays the version of the SMC60WIN and contact information The Unit is Connected The Unit is Not Connected On the right of...

Page 19: ...top the program and all motion from running Connect Establish communication with the controller Tab Sheets Real Time Motion Monitor and control motion of the controller Encoder Options and Registratio...

Page 20: ...longer triggered One switch is required to stop anti backlash Home using Soft and Home Switches Motor will seek the home position by moving towards home switch but motor will slow down to base speed...

Page 21: ...t position to set the output to the controller Set of Steps Between Outputs Send of steps to take between activated outputs to the controller Set of Output Counts Send of output counts to the controll...

Page 22: ...Lower Limit Send the analog position lower limit to the controller Set Position Upper Limit Send the analog position upper limit to the controller Set Analog Position Motor will move to position based...

Page 23: ...ected line of code Insert Insert a new line of code before the currently selected line of code Delete Deletes the currently selected line of code Tab Sheets Create and Edit Program DPE25611 Memory Ava...

Page 24: ...I O routines Goto For Loop Encoder and Thumbwheel Commands Software section that allows user to manipulate branching and loop routines enter encoder parameters and control the thumbwheel switches Anal...

Page 25: ...ter in the controller Finish Move Command will allow any motion command to be completed before continuing to the next line of code This command should be used after every motion command Repeat Last Mo...

Page 26: ...iven value If the inputs do not match the next line is skipped If input matches then ex ecute the next line otherwise skip the next line This conditional command allows the user to execute the next li...

Page 27: ...he thumbwheel position for the thumbwheel to be enabled Move Thumbwheel Index Relative move command will allow motor to move the defined number of steps set by the thumbwheel switches Encoder Auto Cor...

Page 28: ...osition lower limit to the value specified Analog Position Upper Limit Sets the analog position upper limit to the value specified Output on the Fly On Off Sets the output on the fly feature on or off...

Page 29: ...tion per second RPS PPS Convert from revolution per second to pulses per second Steps Per Rev Enter the number of steps per revolution of the step motor The default is for a 200 step rev motor in half...

Page 30: ...haracters if characters are to be echoed back to the screen Instructions All instructions require that no spaces be sent between the command and the parameter followed by a carriage return 0 not 0 cor...

Page 31: ...set this value to 0 This command is used in conjunction with the output on the fly enabled command Range 0 65535 D 1st Output on the Fly Position Format D value Description This command sets the posi...

Page 32: ...e mo tor ratio is 1000 4 400 10 This command is used in conjunction with the encoder auto correct EA command Range 1 255 ER Encoder Retries Format ER value Description This is the number of times the...

Page 33: ...nge directions and run at base speed unit the release of the home limit input The ramp profile is specified by the B base speed M max speed andA acceleration deceleration commands I Read Inputs Format...

Page 34: ...d It is also used to set the registration index during and index on the fly move Motion is not activated by this command it only sets the index register Range 0 8388607 Format 2 N Description This com...

Page 35: ...g position the analog position lower limit and the analog position lower limit commands S Go Slew Format S Description This command will send clocks out to the DPE25611 The only commands that can stop...

Page 36: ...ption Command Description A Verify acceleration deceleration O Verify outputs B Verify base speed T Verify motor current 1 is on 0 is off C Verify Steps between outputs on the fly Z Verify position D...

Page 37: ...use a 0 This command is used in conjunction with the number of steps between outputs C 1st output position D and number of outputs commands Clockwise Format Description This command sets the direction...

Page 38: ...tion This command will either enable or disable input 1 to be used to set the ana log speed To enable the function use a 1 To disable the function use a 0 This command is used in conjunction with the...

Page 39: ...nalog position input This command is used in conjunction with the analog position enable and absolute position P commands Range 0 65535 Analog Position Upper Limit Format value Description This comman...

Page 40: ...er 8 If problems still exist contact Anaheim Automation Tech Support Problem There is no power to the DPE25611 controller Possible Solutions 1 Is the DPE25611 controller connected to the appropriate p...

Page 41: ...Please make sure that the base speed is less than the max speed and that the speeds are within their valid ranges 32 Range Overflow Error The go to position has an overflow error This is caused by the...

Page 42: ...ion 7 Sample Programs Sample Program 1 Sample Program 1 illustrates a typical application where a system moves to a specific position required The sample program shows how to use motion and go to inst...

Page 43: ...m 2 illustrates a typical application where a system is first sent home to a datum or 0 position This sample program shows how a motor will move to a 3 different positions utilizing some of the motion...

Page 44: ...r input 1 to be a value of 0 grounded and then is indexed 10 000 steps During this index output 1 needs to be turned on every 1000 steps 5 times starting at position 2000 At the end of the index outpu...

Page 45: ...t used and input 1 is masked high due to analog function being used The third step is to slew using the analog input as the maximum speed between 5000 and 10000 steps revolution When input 2 is switch...

Page 46: ...humbwheel switch that is connected to each unit for indexing The direction is then set for Axis 0 and Axis 1 and these two axes are then told to index the distance set in each thumbwheel at the same t...

Page 47: ...ns Versions 1 00 Initial Release Versions 1 10 Fixes lockup on RS485 Communication Added capability to stop the motor on an Encoder Error after the Encoder Retries number has been reached Version 2 00...

Page 48: ...support applications assumes all risks of such use and indemnifies Anaheim Automation against all damages LIMITED WARRANTY AllAnaheimAutomation products are warranted against defects in workmanship ma...

Reviews: