Home > Anaheim > Stepper > Anaheim Stepper MBC10SI1 Users Guide

Anaheim Stepper MBC10SI1 Users Guide

    Download as PDF Print this page Share this page

    Have a look at the manual Anaheim Stepper MBC10SI1 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+.

    							August 2012 L01018511
    Functions
    Hard Limit Switches: When a hard limit switch is encountered, the pulses will stop.  Hard limits are in-
    tended as an emergency stop for your system.
    Soft Limit Switches: These switches cause the indexer to ramp down to the base speed and fi nish the 
    index, unless encountering a hard limit switch.
    Profi le Inputs: These inputs are used to select and begin the specifi ed motion profi le.  Only 1 input should 
    be activated at a time.
    Motion Profi les: The indexer will accept two different speed or motion profi les.  Each profi le has its own 
    programmable Accel/Decel, Base speed and distance value.  These values are stored in EEProm for 
    standalone use and must be programmed before the indexer is ran.
    Acceleration/Deceleration: The acceleration and deceleration are by default the same value.  This 
    function 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 principle applies for the deceleration which is 
    controlling 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 profi les are stored in EEprom for standalone use.  
    (Range: 100 to 9,999,999)
    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 
    profi les are stored in EEprom for standalone use.  (Range:1 to 5000)
    Max Speed: The max speed is the top speed the user wants the pulses to run at.  This speed must al-
    ways be equal or greater than the base speed.  It is entered directly as the number of steps/second.  The 
    different max profi les are stored in EEprom for standalone use. (Range:1 to 50,000)
    Index Number: The index number is the number of steps that the motor will take when the motion pro-
    fi le starts.  It is entered directly as the number of steps to take.  The different index profi les are stored in 
    EEprom for standalone use. (Range: 0 to 8,388,607)
    Complete Time: The complete time is the duration that the complete output is held after an index has 
    completed.  This number is entered in the number of milliseconds that the output is to be held low.
    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.  This 
    means, that if you start the profi le from the software, the unit will look at the software direction.  If you start 
    the indexer from the inputs, then the unit will look at the direction input.
    Busy Input: This output will be pulled low when the indexer is operating.  It is an open drain output so 
    when the indexer is not running the pin is open.
    Complete Output: This output will be pulled low after the indexer is done indexing for the duration given 
    in the complete time parameter.  It is an open drain output so when the output is not active the pin is open.  
    It is entered directly as the number of milliseconds the output will be active for.  The different complete 
    time profi les are stored in EEProm for standalone use.  (Range:1 to 1000) 
    						
    							August 2012 L01018512
    SMPG-SMSI Software
    The SMPG-SMSI software is a handy utility that supports Anaheim Automation’s programmable 
    pulse generators and simple indexers.  Connecting your PC to the MBC10SI1, via a serial cable, 
    the software can easily perform the following tasks:
    •  Exercise and monitor the MBC10SI1
    •  Directly communicate with the MBC10SI1
    Installation
    Software
    •  The SMPG-SMSI software is supplied on a CD, containing the setup program and the 
    software.
    •  SMPG-SMSI software is compatible with all versions of Windows including Windows 
    2000, Windows XP, Vista, and Windows 7
    Windows 3.x Installation
    1.  Insert the CD into the drive
    2.  From the Program Manage 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.  From the Program Manager 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 SMPG-SMSI icon to run the software.
    2.  Apply power to the MBC10SI1 unit.
    3.  Set the appropriate communication setting by selecting Setup │ Communication Set-
    ting from the menu bar.
    4.  Establish communications with the MBC10SI1 by clicking on the Connect Icon, or 
    select Setup│Connect.  If the unit is connected properly, the program will notify you 
    when communication has been established and the correct programming tab will be 
    enabled to let you work with the unit
     
    Changing the COM Port Number of the USB port
    1. From DeviceManager, select “View devices by type”, then “Ports (COM & LPT)”.  
    Select the USB serial port and click Properties. Select the “Port Settings” tab, then 
    click Advanced.
    2.  Choose the required COM port number from the list and click OK. 
    						
    							August 2012 L01018513
    File Menu
    Setup Menu
    Toolbar
    Exit Exit the SMPG10WIN Software
    Connect Establish communications with the controller.
    Disconnect Discontinue communications and release the comport for use by other devices.
    Communication Settings... COM port Selection (Ports 1, 2, 3, 4, 5, 6 or 7)
    Exit Exit the SMPG-SMSI Software
    Connect Establish communications with the controller.
    “The Unit is Connected” / “The Unit is Not Connected”
    On the right of the Toolbar, the user will fi nd the communication status of the indexer.  If com-
    munications is not established, please refer to the troubleshooting section. 
    						
    							August 2012 L01018514
    Program Window
    Motion Profi le Select motion profi les 1, or 2.
    Send Accel/Decel Send the acceleration & deceleration parameter to the indexer. (steps/sec
    2)
    Send Base Spend Send the base speed parameter to the indexer. (steps/sec)
    Send Max Speed Send the maximum speed parameter to the indexer. (steps/sec)
    Send Index Number Send the index number parameter to the indexer. (steps)
    Begin MotionMotor will ramp up to maximum speed and keep moving until a limit switch is 
    triggered or the index is complete.
    Soft LimitMotor will ramp down to base speed and continue running until the index is 
    complete.
    Hard Limit Stop any motor motion.
    Direction Set direction to clockwise or counter-clockwise. 
    Reduced Current Set reduced current on or off.
    Verify Parameters Updates and displays controllers parameters and resets the error codes. 
    						
    							August 2012 L01018515
    Direct Talk Mode
    Direct mode is used to directly control the motion for real time movements through serial com-
    munication.  The indexer has 14 commands which are easy to remember for direct movement 
    of a step motor.
    COM Port Settings
    Baud Rate: 115200
    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 SMSI20 + 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 neces-
    sary to view characters, 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.  The commands are also case sensitive and are all sent as capitals.
    Command Summary:
    A - Acceleration/Deceleration    S - Soft Limit
    B - Base Speed      T - Complete Time
    C - Current Reduction     V - Verify
    G - Go (Index)      + - Clockwise Direction
    H - Hard Limit      - - Counterclockwise Direction
    M - Max Speed      $ - Version Number Register
    N - Index Number      ! - Error Codes Register   
      
    						
    							August 2012 L01018516
    $ - Version Number Register
    Format:   $
    Description:  This command request 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 screen.
    +/- - 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 indexer is not 
    busy.  This value is saved in the EEprom for standalone use.
    A - Acceleration/Deceleration
    Format:   A#_[value] - where # is the motion profi le number 1 or 2
    Sample:   A1_10000  Accel of profi le 1 equals 10000
    Description:  This command sets the acceleration profi le which can be an integer value 
    between 100 and 9,999,999.  These values are saved in the EEProm for standalone use.
    Range:    100 - 9,999,999
    B - Base Speed
    Format:   B#_[value] - where # is the motion profi le number 1 or 2
    Sample:   B2_500  Base Speed of profi le 2 equals 500
    Description:  This command sets the base (start) speed for motion.  This value must be 
    set before 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 
    or the index has fi nished.  These values are saved in the EEProm for standalone use.
    Range:    1 - 5000 
    						
    							August 2012 L01018517
    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.
    G - Go Slew (Run)
    Format:   G# - where # is the speed profi le number 1 or 2
    Description:  This command will send clocks out to the indexer.  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 profi le is specifi ed 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 the unit is in-
    dexing.
    M - Max Speed
    Format:   M#_[value] - where # is the motion profi le number 1 or 2
    Sample:   M2_10000  Max Speed of profi le 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:    1 - 50,000
    N - Index Number
    Format:   N#_[value] - where # is the motion profi le number 1 or 2
    Sample:   N1_10000  Index number of profi le 1 equals 10000
    Description:  This command sets the number of pulses to index for the motion profi le.  
    This value must be set before motion begins.  These values are saved in the EEProm for 
    standalone use.
    Range:    0 - 8,388,607 
    						
    							August 2012 L01018518
    S - Stop Soft
    Format:   S
    Description:  This command will cause the indexer to ramp down to base speed and run 
    until the index is complete or a hard limit is activated.  It can only be used when pulses are 
    running.
    T - Complete Time
    Format:   T#_[value] - where # is the motion profi le number 1 or 2
    Sample:   T1_100  Complete Time of profi le 1 equals 100
    Description:  This command sets the time for an active complete signal after the unit has 
    fi nished indexing for the motion profi le.  The number is entered as milliseconds.  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 command can be used with most commands to verify the register con-
    tents.  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, 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.
        + -   If a 1 is sent back then the direction is clockwise.  If a 0 is sent back then the
           direction is counterclockwise.
    Sample:   V+  Verifi cation of Direction is prompted.
    Format:   V[command]# - Where # is the speed profi le number 1 thru 4
          This format is good for A, B, and M.
        A# -   Verify Acceleration/Deceleration for given speed profi le.
        B# -   Verify Base Speed for given speed profi le.
        M# -  Verify Max speed for given speed profi le.
        N# -  Verify Index number for given speed profi le.
        T# -  Verify Complete time for given speed profi le.
    Sample:   VB2  Verifi cation of Base Speed in Profi le 3 is prompted.
      
    						
    							August 2012 L01018519
    Visual Basic Direct Mode Programming Examples
    Example 1: This Example is for Axis=0, and Profi le=1
    DimConst DefaultTimeout As Single = 0.5
    frmMain.MSComm1.Output = “@0A1_100000” & Chr$(13)  ‘SetAcceleration
    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
    frmMain.MSComm1.Output = “@0T1_100” & Chr$(13)  ‘Set Complete Time
    Pause DefaultTimeout
    frmMain.MSComm1.Output = “@0+” & Chr$(13)    ‘Set Direction CW
    Pause DefaultTimeout
    frmMain.MSComm1.Output = “@0G1” & Chr$(13)    ‘Start the Index
    Pause DefaultTimeout
    Example 2: This Example receives the error code and Version Number from Axis3
    DimConst DefaultTimeout As Single = 0.5
    frmMain.MSComm1.Output = “@3!” & Chr$(13) 
    Pause ShortTimeOut
    MsgBox RecieveAscii()
    frmMain.MSComm1.Output = “@3$” & Chr$(13)
    Pause ShortTimeOut
    MsgBox RecieveAscii()
    Function ReceiveAscii() As String
    ‘wait for the incoming data to get to the buffer
    Dim BeginTime as Single
    Dim A As  Integer
    Dim B As Integer
    BeginTime = Timer
    While Main.MSComm1. InBufferCount = 0
     DoEvents
    If Timer - BeginTime > 0.1 Then GoTo ExitRoutine1
    Wend
    A = 0: B = Main.MSComm1.InBufferCount
    While A  B
      A = Main.MSComm1.InBufferCount
     Pause 0.02      ‘ Fixed time value
      B = Main.MSComm1.InBufferCount
    Wend
    ReceiveAscii = Main.MSComm1.Input
    Exit Function 
    						
    							August 2012 L01018520
    Troubleshooting
    Problem:
    Can not establish communications with the unit.
    Possible Solutions: 
    1.  Make sure the indexer has power.  Is the Green LED on.
    2.  Check USB 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 settings.
    6. Click on Connect icon to communicate with the unit.
    7.  If problems still exist, contact Anaheim Automation Tech Support.
    Problem:
    There is no power to the indexer.
    Possible Solutions:
    1.  Is the Indexer connected to the appropriate power supply?
    2.  Check for any blown fuses in line with the unit.
    3.  If problems still exist, contact Anaheim Automation at 714-992-6990.
    Problem:
    The indexer has a fault condition.
    Possible Solutions:
    1.  To Clear an error use either the SMPG-SMSI software or the direct mode command. 
    2.  The SMPG-SMSI software 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 indexer 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 
    their binary values would be added together. 
    						
    All Anaheim manuals Comments (0)

    Related Manuals for Anaheim Stepper MBC10SI1 Users Guide