Anaheim Stepper MBC25P22 Users Guide
Have a look at the manual Anaheim Stepper MBC25P22 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 #L010142October 2003 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 MBC25P22 is designed to accept either one or two motors. For wiring of the motor refer to the pages containing 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 #L010142October 2003 Functions Max1/Max2 Input: This inputs is used to select the specified speed profile. These inputs are used in conjunction with the Run input. Max1 selects profile 1 and Max2 selects profile 2. Run: Triggering this input will cause the pulse generator to start. The pulse generator will use the selected speed profile and start at base speed and ramp up to max speed. The motor will run at max speed until 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. 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. Reduce Current Option: When this option is on the motor will receive 70% of its set current when the pulses stop. When this option is off the motor will receive 100% of its set current when the pulses stop. Microstep Resolution: These options will set the divisor for both drivers. The options are 1 (200 steps/ rev), 2 (400 steps/rev), 4 (800 steps/rev) or 8 (1600 steps/rev) Analog Speed Option: When this option is on the pulse generator will calculate the max speed to use when motion is started. The maximum speed will be calculated based upon the percentage of the poten- tiometer input and the percentage between the upper and lower inputs 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. (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: 152 to 5000) 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: 152 to 50000) Lower Analog Limit: The lower analog limit is the speed at which the max speed will calculate when the potentiometer is at its lower position (0VDC). Upper Analog Limit: The upper analog limit is the speed at which the max speed will calculate when the potentiometer is at its upper position (5VDC). 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. 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 #L010142October 2003 Installation Software • The SMPG20WIN is supplied on a CD, containing the setup program for the SMPG20WIN software and this user’s guide. • SMPG20WIN is compatible with all versions of Windows including Windows 2000 and Windows XP 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) Apply power to the pulse generator unit. 2) Double click on the SMPG20WIN icon to run the SMPG20WIN software. 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 have been established. SMPG20WIN Software The SMPG20WIN software is a handy utility that supports Anaheim Automation’s programmable pulse generator. Connecting your PC to the MBC25P22, via a serial cable, the SMPG20WIN software can easily perform the following tasks: • Exercise and monitor the MBC25P22 • Directly communicate with the MBC25P22
14 #L010142October 2003 “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 are not established, please refer to the troubleshooting section. File Menu Setup Menu Ex tier a w t f o s N I W 0 2 G P M S e h t t i x E Ctc 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 2 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 #L010142October 2003 Program Window e l i f o r P d e e p St u p n I 2 x a M / 1 x a M e h t h t i w n o i t c n u j n o c n i d e s u e b o t 2 r o 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 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 ) t s e w o l s = 5 5 2 e s a B d n e S d e e p S) c e s / 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 x a M d n e S d e e p S) c e s / 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 r e w o L d n e S d e e p S g o l a n A) c e s / s p e t s ( . r o t a r e n e g e s l u p e h t o t t i m i l d e e p s g o l a n a r e p p u d n e S r e p p U d n e S d e e p S g o l a n A) c e s / s p e t s ( . r o t a r e n e g e s l u p e h t o t t i m i l d e e p s g o l a n a r e w o l 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.p o t s 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 d e e p S g o l a n A.f f o r o n o o t d e e p s g o l a n a 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 #L010142October 2003 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:38400 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 SMPG20 and the current revision number. Note: In direct talk mode each command is followed by a carriage return (enter command). 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 E - Analog Speed G - Go (Run) H - Hard Limit L - Lower Speed LimitM - Max Speed R - Microstep Resolution S - Soft Limit U - Upper Speed Limit V - Verify $ - Version Number Register ! - Error Codes Register
17 #L010142October 2003 $ - 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. A - Acceleration/Deceleration Format: A#_[value] - where # is the speed profile number 1 or 2 Sample: @0A1_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 or 2 Sample: @0B2_200 Base Speed of profile 2 equals 200 Description: This command sets the base (start) speed for motion. This value must be set be- fore motion begins and be less than 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: 152 - 5,000 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.
18 #L010142October 2003 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. E - Analog Input Option Format: E# - where # is 0 or 1 Description: This command enables the pulse generator to calculate the maximum speed based upon the potentiometer settings. A 1 will enable the analog speed and a 0 will disable the analog speed and use the entered maximum speed. This value is saved in the EEProm for standalone use. G - Go Slew (Run) Format : G# - where # is the speed profile number 1 or 2 Description: This command will send clocks out to the pulse generator. The only commands that can stop the clocks are H (stop motion) and the S(soft limit) command. H - Hard Limit or Stop Motion Format: H Description: This command will stop all motion. It can only be used when pulses are running. L - Lower Analog Speed Limit Format: L#_[value] - where # is the speed profile number 1 or 2 Sample: @0L2_25000 Lower Analog Speed of profile 2 equals 25000 Description: This command sets the lower analog speed limit speed for motion. This value must be set before motion begins and be equal or greater than the base speed and less than or equal to the upper analog speed limit. This value is used as the lower threshold when calculating the analog maximum speed. These values are saved in the EEProm for standalone use. Range: 152 - 50,000
19 #L010142October 2003 M - Max Speed Format: M#_[value] - where # is the speed profile number 1 or 2 Sample: @0M2_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. This speed is used when the analog inputs is disabled. These values are saved in the EEProm for standalone use. Range: 152 - 50,000 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 microstep ping 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 stop. It can only be used when pulses are running. U -Upper Analog Speed Limit Format: U#_[value] - where # is the speed profile number 1 or 2 Sample: @0U1_5000 Upper Analog Speed of profile 1 equals 5000 Description: This command sets the upper analog speed limit speed for motion. This value must be set before motion begins and be equal or greater than the base speed and the lower analog speed input. This value is used as the upper threshold when calculat ing the analog maximum speed. These values are saved in the EEProm for standalone use. Range: 152 - 50,000
20 #L010142October 2003 V - Verify Description: This command can be used with the listed commands to verify the register contents. Valid Commands are: A, B, C, D, E, L, M, R, and U. Format: V[command] This format is used for C, D, E, and R. 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. E - If a 1 is sent back then the analog voltage input is active. If a 0 is sent back then the analog voltage is off and the entered max speed will be used. 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. Sample: @0VR Verification of Microstep Resolution is prompted. Format: V[command]# - where # is the speed profile number 1 or 2 This format is used for A, B, L, M and U. A# - Verify Acceleration/Decceleration for given speed profile. B# - Verify Base speed for given speed profile. L# - Verify Lower Analog speed limit for given speed profile. M# - Verify Max speed for given speed profile. If the analog speed option is enabled then the calculated value will be sent back. If the analog speed is disabled then the entered max speed will be sent back. U# - Verify Upper Analog speed limit for given speed profile. Sample: @0VB1 Verification of Base Speed in Profile 1 is prompted.