Home > Anaheim > Stepper > Anaheim Stepper DPY50601 Users Guide

Anaheim Stepper DPY50601 Users Guide

    Download as PDF Print this page Share this page

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

    							September 2012 L01019541
    / - Thumbwheel Index Enabled
    Format:   /[0 or 1]
    Description:  This command will either enable or disable the ability to use the thumbwheel 
    switches for indexing.  If enable, SW2 must be in the TWS position for the thumbwheel to 
    be connected to the processor.
    : - Analog Position Enabled
    Format:   :[0 or 1]
    Description: This command will either enable or disable input 1 to be used to set the analog 
    position.  To enable the function, use a 1.  To disable the function use a 0.  This command 
    is used in conjunction with the analog position lower limit “{“ and analog position upper limit 
    “}” commands.
    ; - Analog Speed Enabled
    Format:   ;[0 or 1]
    Description:  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 analog speed lower limit “[“ and analog speed upper limit “]” 
    commands.
    [ - Analog Speed Lower Limit
    Format:   [[value]
    Description:  This command sets the lower limit that is used during the calculation follow-
    ing an M command for the analog speed input.  This command is used in conjunction with 
    the analog speed enabled “;” and max speed “M” commands.
    Range:    1 - 50000
    ] - Analog Speed Upper Limit
    Format:   ][value]
    Description:  This command sets the upper limit that is used during the calculation follow-
    ing an M command for the analog speed input.  This command is used in conjunction with 
    the analog speed enabled “;” and max speed “M” commands.
    Range:    1 - 50000 
    						
    							September 2012 L01019542
    ^ - Number of Outputs During Output on the Fly
    Format:   ^[value]
    Description: This command sets the number of times output 1 will turn on during an output 
    on the fl y move.  This command is used in conjunction with the output on the fl y enabled “(“ 
    command.
    Range:    0 - 255
    { - Analog Position Lower Limit
    Format:   {[value]
    Description:  This command sets the lower limit that is used during the calculation follow-
    ing a P command for the analog 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 command sets the upper limit that is used during the calculation follow-
    ing a P command for the analog position input.  This command is used in conjunction with 
    the analog position enable “:” and absolute position “P” commands.
    Range:    0 - 65535
    ~ - Set Address Register
    Format:    ~[value]  (No address is needed before this function.  @ ~[value] will set
          the address)
    Description:  This command sets the address for communication inside the DPY50601.
    Range:    0 - 99 
    						
    							September 2012 L01019543
    Troubleshooting
    Problem:
    Can not establish communications with the DPY50601.
    Possible Solutions: 
    1.  Make sure the DPY50601 controller has power.  Is the controller’s Green LED on?
    2.  Check RS232/RS485 connections.
    3.  Check for loose cable connection either on the DPY50601 controller or COM Port.
    4.  Was the software installed successfully?
    5. Go to Setup│Com Port Settings and verify COM Port settings.
    6. Go to Setup│Axis and verify address settings are the same.
    7. Click on Setup │Connect icon to communicate with the DPY50601 controller.
    8.  If problems still exist, contact Anaheim Automation Tech Support.
    Problem:
    There is no power to the DPY50601 controller.
    Possible Solutions:
    1.  Is the DPY50601 controller connected to the appropriate power supply?
    2.  Check for any blown fuses in line with the DPY50601 controller.
    3.  If problems still exist, contact Anaheim Automation, Inc. Tech Support.
    Problem:
    My program won’t “Autostart”.
    Possible Solutions:
    1.  Verify that the Autostart Function has been enabled. 
    2. Go to Setup│ Autostart Program and Click on Enable.
    3.  If problems still exist, contact Anaheim Automation Tech Support.
    Section 6: Troubleshooting
    Anaheim Automation,  Inc. 
    Tech Support:
    910 East Orangefair Lane
    Anaheim, CA, 92801-1195
    Phone: (714) 992-6990
    Fax: (714) 992-0471
    www.anaheimautomation.com 
    						
    							September 2012 L01019544 Problem:
    The DPY50601 controller has a fault condition.
    Possible Solutions:
    1.  Verify your program for improper syntax that may cause an error code. 
    2.  Physically press the reset button on the DPY50601 to clear an error. 
    3.  Another way to clear an error is by using either the SMC60WIN software or the direct 
    mode command instructions set.
    4.  The SMC60WIN can clear an error in the real time motion tab section by clicking on 
    the verify parameters button.
    5.   The direct mode command “!” can clear an error by simply prompting the error code 
    register to return the value back to the PC or PLC.
    Note: Read the Error returned to the screen to better understand what can be causing 
    the fault condition.  The error is return in binary coded decimal format.  If two errors were 
    received, their binary values would be added together.
    Error Code Type Description
    1Receive Overfl ow 
    ErrorThe serial communications had a receiving error.  This is an internal 
    error caused by the computer.
    2 Encoder Error 1 The encoder needed to correct the index.
    4 Encoder Error 2 The encoder could not fi nish the index.  Output 8 is set with this error.
    8 Command ErrorA bad command was sent to the controller.  Please check to see that 
    the command being sent is valid.
    16 Motor ErrorMotor speed profi les are set incorrectly.  Please make sure that the 
    base speed is less than the max speed and that the speeds are within 
    their valid ranges.
    32 Range Overfl ow ErrorThe go to position has an overfl ow error.  This is caused by the P com-
    mand trying to fi nd a position that is out of its range.
    64 Range ErrorThere was an invalid number of commands and characters sent to the 
    controller.  Check to see if the parameters are invalid for the command 
    that was sent.
    128 Transmit ErrorTo many parameters sent back to the PC.  This is an internal error 
    caused by the EEProm.
    256 Mode ErrorController is in a wrong mode.  Some commands are good only in pro-
    gramming mode, while others are good only in direct mode.  Check the 
    direct mode section to see which commands are good in direct mode.
    512 Zero Parameters ErrorThere were no parameters sent to the controller.  A command was sent 
    to the controller that expected to see parameters after the command.
    1024 Busy ErrorThe controller is busy indexing.  The controller is sending out clocks to 
    the driver and can not execute the next instruction.
    2048 Memory Range ErrorThe specifi ed address is out of range.  This is caused by overfl owing 
    the program memory by having a program that is to large.
    4096Memory Command 
    ErrorThe command pulled from memory is invalid.  The command that was 
    stored into the EEProm was non-executable by the program.  This is 
    an internal error.
    8192Thumbwheel Read 
    ErrorThere was an error reading the thumbwheel or the thumbwheel is not 
    present.
    Error Codes 
    						
    							September 2012 L01019545
    Section 7: Sample Programs
    Sample Program 1:
    Sample Program 1 illustrates a typical application where a system moves to a specifi c  position 
    required.  The sample program shows how to use motion and go to instruction commands. 
    						
    							September 2012 L01019546
    Sample Program 2:
    Sample Program 2 illustrates a typical application where a system is fi rst 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 commands, loop routines and encoder routine. 
    						
    							September 2012 L01019547
    Sample Program 3:
    Sample Program 3 illustrates the setup and operation of the output on the fl y function, and the 
    use of the if/then statement.  The system is fi rst home using home type 0, waits for 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, output 
    1 is then turned on again for 1 mS and the unit is then sent back the 10,000 steps to position 
    0, but the output should not be turned on.  The unit then repeats waiting for input 1 to be 0 and 
    indexes again. 
    						
    							September 2012 L01019548
    Sample Program 4:
    Sample Program 4 illustrates the setup of the analog speed function and the use of “indexing-
    on-the-fl y.”  The system is fi rst homed using home type 1.  The next step is to wait for the input 
    register to read 110111 (input 2 must be high while input 3 is low, all other inputs are not 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 switched low, the unit will index 2500 more steps and ramp down to base speed and stop.  
    At the end of the index, output 1 will turn on for 100 mS.  After the output is turned off the unit will 
    be sent back to position 0.  The program then is sent back to repeat itself, waiting for the input 
    register to be 110111 again. 
    						
    							September 2012 L01019549
    Sample Program 5:
    Sample Program 5 illustrates a typical 3 axis application where one DPY50601 (Axis 0) is control-
    ling the other two axes (Axis 1 and Axis 2) by using the send text string commands.  The program 
    fi rst sets the accelerations, base speeds and maximum speeds for each axis.  It then is enabling 
    Axis 0 and Axis 1 to use the thumbwheel 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 time.  The program then waits for the motion to fi nish before 
    it tells Axis 2 to move.  Axis 2 fi rst moves in the negative direction waits for the index to fi nish, 
    and then moves back in the positive direction.  After Axis 2 is fi nished moving, Axis 0 and Axis 1 
    are both sent back to their zero positions at the same time.  The program is then repeated. 
    						
    							September 2012 L01019550
    Appendix 1: ASCII Table for Direct Mode
    ASCII Symbol Hex Value ASCII Symbol Hex Value ASCII Symbol Hex Value
    0 30 J 4A # 23
    1 31 K 4B $ 24
    2 32 L 4C % 25
    3 33 M 4D “ 27
    4 34 N 4E ( 28
    5 35 O 4F + 2B
    6 36 P 50 , 2C
    7 37 Q 51 - 2D
    8 38 R 52 . 2E
    9 39 S 53 : 3A
    A 41 T 54 ; 3B
    B 42 U 55 @ 40
    C 43 V 56 [ 5B
    D 44 W 57 ] 5D
    E 45 X 58 ^ 5E
    F 46 Y 59 { 7B
    G 47 Z 5A } 7D
    H 48 Carriage Return 0D ~ 7E
    I49!21
    Appendix 2: Firmware Revisions
    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 - Added capability for the Encoder Ration to have 2 decimal points.  Also when
    the encoder retries fails, Output 8 is set.  This version of fi rmware also 
    requires an upgrade to the SMC60WIN version 2.00.
    Version 2.10 - Fixes the update of the Analog Input when the pot was not changed after a  
    manual update of the Max Speed, or Goto Position registers.  Added the ca-
    pability to verify the Hard and Soft Limit inputs.         
    						
    All Anaheim manuals Comments (0)

    Related Manuals for Anaheim Stepper DPY50601 Users Guide