Anaheim Stepper MBC25P11 Users Guide
Have a look at the manual Anaheim Stepper MBC25P11 Users Guide online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 523 Anaheim manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.
11 #L010128June 2002 8 Lead Motors Series Connection: When configuring the motor windings in series, use the per phase (or unipolar) current rating to determine the current setting potentiometer value. Parallel Connection: When configuring the motor windings in parallel, multiply the per phase (or unipolar) current rating by 2.0 to determine the current setting potentiometer value. Note: After the current has been determined, according to the motor connections above, use the potenti- ometer setting table to choose the proper setting for the current setting potentiometer. Connecting the Step Motor The MBC25P11 is designed to accept either one or two motors. For wiring of the motor refer to the pages containg the connector descriptions and hookup diagrams. Note: The physical direction of the motor with respect to the direction input will depend on the connection of the motor windings. To reverse the direction of the motor with respect to the direction input, switch the wires on phase 1 and phase 3. With the operation of 2 motors, they will run in the opposite direction when wired the same. WARNING: Do not connect or disconnect motor wires while power is applied! Circuit Protection This driver is equipped with short circuit, over temperature and cross over current protection. Note: When drive experiences a fault condition, it will seize to function. Power down, inspect wiring, motors, etc. and allow for a 30 second pause to resume functioning. If driver is too hot, additional ventilation and airflow should be added to prevent temperature to exceed recommended temperature limit.
12 #L010128June 2002 Functions Soft Limit Switches: These switches cause the pulse generator to ramp down to the base speed before encountering a hard limit switch. Hard Limit Switches: When a hard limit switch is encountered, the pulses will stop. Hard limits are intended as an emergency stop for your system. Profile Inputs: These inputs are used to select the specified speed profile. These inputs are used in conjuction with the Run input. If no profile inputs are selected then profile 1 will be used. Only 1 input should be activated at a time. Run: Triggering this input will cause the pulse generator to start. The pulse generator will use the given speed profile and start at base speed and ramp up to max speed. The motor will run at max speed until a soft limit, hard limit, or the stop run is released. If the pulse generator is running at max speed when the stop/run input is released then it will either stop hard or ramp down to base and stop depending on the setting of the ramp down profile. Speed Profiles: The pulse generator will accept up to four different speed profiles. Each profile has it own programmable Accel/Decel, Base speed, and Max speed. Theses values are stored in EEProm for standalone use and must be programmed before the pulse generator can run. Max Speed: The max speed is the top speed the user wants the pulses to run at. This speed must always be equal or greater than the base speed. It is entered directly as the number of steps/second. The differ- ent max profiles are stored in EEprom for standalone use. (Range: 77 to 15000) Acceleration/Deceleration: The acceleration and deceleration are by default the same value. This func- tion controls the time that the motor will take to move from base speed to max speed. The higher the value, the slower the motor will accelerate. The same principal applies for the deceleration which is con- trolling the time it takes to go from maximum speed to base speed. The higher the value, the slower the pulses will decelerate.The different accel/decel profiles are stored in EEprom for standalone use. (Range: 1 to 255) Base Speed: The base speed is the speed at which motion starts and stops. It is entered directly as the number of steps per second. This speed must always be less than the max speed. The different base profiles are stored in EEprom for standalone use. (Range: 77 to 3500) Ramp Down Option: When this option is off the pulse generator will stop hard when the Run input is released. If this option is on, then the pulse generator will ramp down to base speed and stop when the Run input is released. Direction Input: If this input is open then the unit will be running in the clockwise direction. If this input is active then the unit will be running in the counterclockwise direction. This pin can be overridden by the programmable software direction. It will activate the direction output when the pin is changed. Busy Output: This output will be pulled low when the pulse generator is operating. It is an open drain output so when the pulse generator is not running the pin is open.
13 #L010128June 2002 Installation Software The SMPG10WIN is supplied on a CD, containing the setup program and the SMPG10WIN software SMPG10WIN is compatible with all versions of Windows including Windows 2000 and Windows XP Windows 3.x Installation 1) Insert the CD into the drive 2) From the Program Manager select File | Run 3) Enter D:\setup and click OK - use the appropriate drive letter (i.e. D or E) Windows 95/98/NT/ME/2000/XP Installation Option 1 1) Insert the CD into the drive 2) On the Windows Taskbar select Start | Run 3) Enter 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 SMPG10WIN icon to run the SMPG10WIN software. 2) Apply power to the pulse generator unit. 3) Set the appropriate communication setting by selecting Setup | Communication Setting from the menu bar. 4) Establish communications with the pulse generator by clicking on the Connect Icon, or select Setup | Connect. If the unit is connected properly, the program will notify you when communica- tions has been established. SMPG10WIN Software The SMPG10WIN software is a handy utility that supports Anaheim Automation’s programmable pulse generator. Connecting your PC to the MBC25P11, via a serial cable, the SMPG10WIN software can easily perform the following tasks: Exercise and monitor the MBC25P11 Directly communicate with the MBC25P11
14 #L010128June 2002 “The Unit is Connected” / “The Unit is NOT Connected” On the right of the Toolbar, the user will find the communication status of the pulse generator. If commu- nications is not established, please refer to the troubleshooting section. File Menu Setup Menu Ext ier a w t f o s N I W 0 1 G P M S e h t t i x E Ct c e n n o. r e l l o r t n o c e h t h t i w s n o i t a c i n u m m o c h s i l b a t s E n o i t a c i n u m m o CS. . . s g n i t t e) 4 r o 3 , 2 , 1 s t r o P ( n o i t c e l e S t r o p M O C Toolbar t i x E. e r a w t f o s N I W 0 1 G P M S e h t t i x E t c e n n o C. r e l l o r t n o c e h t h t i w n o i t a c i n u m m o c h s i l b a t s E
15 #L010128June 2002 Program Window e l i f o r P d e e p S. 4 - 1 s e l i f o r p d e e p s t c e l e S d n e S l e c e D / l e c c A) t s e w o l s = 5 5 2 , t s e t s a f = 1 ( . r o t a r e n e g e s l u p e h t o t r e t e m a r a p n o i t a r e l e c e d & n o i t a r e l e c c a d n e S e s a B d n e S d e e p S) c e s / p e t s ( . r o t a r e n e g e s l u p e h t o t r e t e m a r a p d e e p s e s a b d n e S d e e p S x a M d n e S) c e s / p e t s ( . r o t a r e n e g e s l u p e h t o t r e t e m a r a p d e e p s m u m i x a m d n e S n o i t o M n i g e B. d e r e g g i r t s i h c t i w s t i m i l a l i t n u g n i v o m p e e k d n a d e e p s m u m i x a m o t p u p m a r l l i w r o t o M t i m i L t f o S. g n i n n u r e u n i t n o c d n a d e e p s e s a b o t n w o d p m a r l l i w r o t o M t i m i L d r a H. n o i t o m r o t o m y n a p o t S n o i t c e r i D. e s i w k c o l c - r e t n u o c r o e s i w k c o l c o t n o i t c e r i d t e S t n e r r u C d e c u d e R. f f o r o n o t n e r r u c d e c u d e r t e S p e t s o r c i M n o i t u l o s e R. 8 r o , 4 , 2 , 1 y b e d i v i d o t n o i t u l o s e r p e t s o r c i m t e S n w o D p m a R. o n r o s e y o t n o i t p o n w o d p m a r t e S y f i r e V s r e t e m a r a P. s e d o c r o r r e e h t s t e s e r d n a s r e t e m a r a p s r e l l o r t n o c s y a l p s i d d n a s e t a d p U
16 #L010128June 2002 Direct mode is used to directly control the motion for real time movements through serial communication. The pulse generator has 14 commands which are easy to remember for direct movement of a step motor. COM Port Settings Baud Rate:9600 Parity:None Data Bits:8 Stop Bits:1 Flow Control:Xon/Xoff Unit Selection In order to select a unit the @ command followed by 0 (address of the unit) must be sent. NOTE: There should be no spaces between the @ and the 0. How to select the unit: @0 (Unit is selected) How to get a response from the unit: @0$ (Carriage Return) After the $ command, the pulse generator will return a SMPG10 + the current version number. Note: In direct talk mode each command is followed by a carriage return. The unit communicates in half duplex mode, therefore proper setup of hyper terminal is necessary to view characters, if characters are to be echoed back to the screen. Direct Talk Mode Instructions All instructions require that no spaces be sent between the command and the parameter followed by a carriage return. The commands are also case sensitive and are all sent as capitals. Command Summary: A - Acceleration/Deceleration B - Base Speed C - Current Reduction D - Ramp Down G - Go (Run) H - Hard Limit M - Max SpeedR - Microstep Resolution S - Soft Limit V - Verify + - Clockwise Direction - - Counterclockwise Direction $ - Version Number Register ! - Error Codes Register
17 #L010128June 2002 A - Acceleration/Deceleration Format: A#_[value] - where # is the speed profile number 1 thru 4 Sample: A1_255 Accel of profile 1 equals 255 Description: This command sets the acceleration profile which can be an integer value be- tween 1 and 255. The lower the value the faster the pulse acceleration, so a 1 is the fastest profile and 255 is the slowest. These values are saved in the EEProm for standalone use. Range: 1 - 255 B - Base Speed Format: B#_[value] - where # is the speed profile number 1 thru 4 Sample: B3_100 Base Speed of profile 3 equals 100 Description: This command sets the base (start) speed for motion. This value must be set be- fore motion begins and be less then the maximum speed. The pulses will ramp down to this speed after a soft limit is triggered and run at this speed until a hard limit is triggered. These values are saved in the EEProm for standalone use. Range: 77 - 3500 $ - Version Number Register Format : $ Description: This command requests the pulse generator to return the version number. ! - Error Codes Register Format : ! Description: This command requests the pulse generator to get the current error code and print it to the screen. C - Current Reduce Option Format: C# - where # is 0 or 1 Description: This command enables the driver to reduce current after pulses are done being sent. A 1 will enable current reduction, and a 0 will disable current reduction. This value is saved in the EEProm for standalone use. +/- - Direction Format: + or - Description: This command sets the direction output. A “+” sets the output to clockwise, and a “-” set the output to counterclockwise. This must be done when the pulses are not running. This value is saved in the EEProm for standalone use.
18 #L010128June 2002 G - Go Slew (Run) Format : G# - where # is the speed profile number 1 thru 4 Description: This command will send clocks out to the pulse generator. The only command that can stop the clocks is H (stop motion). The S(soft limit) command will make the pulses go from max speed to base speed. Motion can also be stopped by using the limit switch inputs. The ramp profile is specified by the B (base speed), M (max speed), and A (acceleration/deceleration) commands. H - Hard Limit or Stop Motion Format: H Description: This command will stop all motion. It can only be used when pulses are running M - Max Speed Format: M#_[value] - where # is the speed profile number 1 thru 4 Sample: M2_10000 Max Speed of profile 2 equals 10000 Description: This command sets the maximum (running) speed for motion. This value must be set before motion begins and be equal or greater than the base speed. The motor will run at this speed until a soft limit or a hard limit is triggered. These values are saved in the EEProm for standalone use. Range: 77 - 15000 R - Microstepping Resolution Format: R# - where # is 1, 2, 4, or 8 Description: This command enables the user to select the desired resolution for the microstepping driver. Divisions for the driver are Full step (1), Half step (2), Quarter step (4), and Eighth step (8). This value is saved in the EEProm for standalone use. S - Soft Limit Format: S Description: This command will cause the pulse generator to ramp down to base speed and run until a hard limit is activated. It can only be used when pulses are running. D - Decceleration Option Format: D# - where # is 0 or 1 Description: This command enables the pulse generator to ramp down to base speed before stopping when using the external Run/Stop input. A 1 will enable the pulses to ramp down to base speed and stop, and a 0 will disable ramp down causing the pulse generator to hard stop at maximum speed. This value is saved in the EEProm for standalone use.
19 #L010128June 2002 V - Verify Description: This command can be used with most commands to verify the register contents. This is a read only command. Valid Commands are: A, B, C, D, M, R, and +. Format: V[command] This format is good for C, D, R, and +. C - If a 1 is sent back then the driver is in reduced current mode. If a 0 is sent back then the driver is not in reduced current mode. D - If a 1 is sent back then the pulse generator will ramp down to stop when the Run/ Stop input is released. If a 0 is sent back then the pulse generator will stop hard when the Run/Stop input is released. R - If a 1 is sent back then the driver is in Full step mode. If a 2 is sent back then the driver is in Half step mode. If a 4 is sent back then the driver is in Quarter step If mode. If an 8 is sent back then the driver is in Eighth step mode. + - If a 1 is sent back then the direction is clockwise. If a 0 is sent back then the direction is counterclockwise. Sample: VD Verification of Direction is prompted. Format: V[command]# - where # is the speed profile number 1 thru 4 This format is good for A, B, and M. A# - Verify Acceleration/Decceleration for given speed profile. B# - Verify Base speed for given speed profile. M# - Verify Max speed for given speed profile. Sample: VB3 Verification of Base Speed in Profile 3 is prompted.
20 #L010128June 2002 Troubleshooting Problem: Can not establish communications with the pulse generator. Possible Solutions: 1) Make sure the pulse generator has power. Is the Green LED on. 2) Check RS232 connections. 3) Check for loose cable connection either on the pulse generator or COM Port. 4) Was the software installed successfully? 5) Go to Setup | Communication Settings and verify COM port and baud rate settings. 6) Click on Connect icon to communicate with the pulse generator. 9) If problems still exist, contact Anaheim Automation Tech Support. Problem: There is no power to the pulse generator. Possible Solutions: 1) Is the pulse generator connected to the appropriate power supply? 2) Check for any blown fuses in line with the pulse generator. 3) If problems still exist, contact Anaheim Automation at 714-992-6990. Problem: The pulse generator has a fault condition. Possible Solutions: 1) To clear an error usie either the SMCPGWIN software or the direct mode command. 2) The SMPG10WIN can clear an error in the motion tab section by clicking on the Verify Parameters button. 3) The direct mode command “!” can clear an error by prompting pulse generator to serially send the error code back to the user. Example: @0! (carriage return) Description: Address the unit by typing @ followed by a 0 (address number) an ! (Error Codes Register) and a carriage return. Note: The error code is returned in binary coded decimal format. If two errors were received t their binary values would be added together.