Anaheim Stepper 23MDSI Series Stepper MotorDriverController Users Guide
Here you can view all the pages of manual Anaheim Stepper 23MDSI Series Stepper MotorDriverController Users Guide. The Anaheim manuals for Stepper are available online for free. You can easily download all the documents as PDF.
Page 11
11 Program Window Motion ProfileSelect motion profiles 1 or 2. Send Accel/DecelSend the acceleration & deceleration parameter to the indexer. (steps/sec2) Send Base SpeedSend the base speed parameter to the indexer. (steps/sec) Send Max SpeedSend the maximum speed parameter to the indexer. (steps/sec) Send Index NumberSend the index number parameter to the indexer. (steps) Send Complete TimeSend the complete time parameter to the indexer. (useconds) Begin IndexMotor will ramp up to maximum speed and keep...
Page 12
12 Direct Talk Mode Direct mode is used to directly control the motion for real time movemen\ ts through serial communication. This mode is used mainly to program the parameters and for checking the movement of the motor. The 23MDSI Series has 16 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...
Page 13
13 $ - Version Number Register Format : $ Description: This command requests the 23MDSI to return the version number. ! - Error Codes Register Format : ! Description: This command requests the 23MDSI to get the current error code and print it to the screen. +/- - Direction Format: + or - Description: This command sets the direction output. A “+” sets the output to clockwise, and a “-” sets the output to counterclockwise. This must be done when the indexer is not busy. This...
Page 14
14 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 motion profile number 1 or 2 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...
Page 15
15 T - Complete Time Format: T#_[value] - where # is the motion profile number 1 or 2 Sample: T2_100 Complete time of profile 2 equals 100 uSeconds Description: This command sets the time for an active complete siganal after the unit has finished indexing for the motion profile. The number is enterd as microsecond. This value must be set before motion begins. These values are saved in the EEProm for standalone use. Range: 0 - 1000 V - Verify Description: This...
Page 16
16 Visual Basic Direct Mode Programming Examples Example 1: This Example is for Axis=0, and Profile=1 DimConst DefaultTimeout As Single = 0.5 frmMain.MSComm1.Output = “@0A1_100000” & Chr$(13) ‘Set Acceleration Pause DefaultTimeout frmMain.MSComm1.Output = “@0B1_1000” & Chr$(13) ‘Set Base Speed Pause DefaultTimeout frmMain.MSComm1.Output = “@0M1_4000” & Chr$(13) ‘Set Maximum Speed Pause DefaultTimeout frmMain.MSComm1.Output = “@0N1_500” & Chr$(13) ‘Set Index Number Pause DefaultTimeout...
Page 17
17 Troubleshooting Problem: Can not establish communications with the indexer. Possible Solutions: 1) Make sure the indexer has power. Is the Green LED on. 2) Check RS232 connections. 3) Check for loose cable connection either on the pulse generator or CO\ M Port. 4) Was the software installed successfully? 5) Go to Setup | Communication Settings and verify COM port settings. 6) Click on Connect icon to communicate with the indexer. 9) If problems still exist, contact Anaheim Automation Tech...
Page 18
18 Error CodeTypeDescription 1Recieve Overflow ErrorThe serial communications had a recieving error. This is an internal error caused by the computer. 2Range ErrorThere was an invalid number of characters sent to the pulse generator. Check to see if the parameters are invalid for the command that was sent. 4Command ErrorA bad command was sent to the pulse generator. Please check to see that the com- mand being sent is valid, or that the pulse generator is not running. 8Transmitt ErrorTo many parameters...
Page 19
19 Multiple Axes Setup for 23MDSI Series 1. Power up the 1st unit ONLY and connect the RS485 connection to the 1st unit. 2. Click the “Define Axis” button and enter 0. 3. Click the “Select Axis” button and enter 0. 4. Under Setup menu click “Connect”. 5. Text appears on top of the SMPG-SMSI Software “The Unit is Connected” and the version of the firmware is displayed as well. This text should turn blue when connected. 6. Under Setup menu click “Disconnect”. 7. Text appears on top of the SMPG-SMSI...
Page 20
20 Copyright Copyright 2005 by Anaheim Automation. All rights reserved. No part of this publication may be reproduced, trans- mitted, transcribed, stored in a retrieval system, or translated into any language, in any form or by any means, electronic, mechanical, magnetic, optical, chemical, manual, or otherwise, without the prior wri\ tten permission of Anaheim Automation, 910 East Orangefair Lane, CA, 92801. The only exception to this would be use of the program examples in this manual. Disclaimer...