Home > Anaheim > Discounted Package > Anaheim Discounted Package PKG342DPNPSCBL User Manual

Anaheim Discounted Package PKG342DPNPSCBL User Manual

    Download as PDF Print this page Share this page

    Have a look at the manual Anaheim Discounted Package PKG342DPNPSCBL User Manual 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
    RS232 to RS485 for multiple units or cables longer than 50ft
    The DPN10601 can be connected to your PC serial port via a RS485 converter (model number: 485SD9TB 
    sold separately ). This converter will convert the RS232 voltage signals to the compatible RS485 differential 
    signals. Only one converter box is needed per serial port. Contact the factory or use the website www.
    anaheimautomation.com for RS485 converter information and sales.
    Terminating Resistor
    To eliminate noise on the transmission lines or  when using a 4000 ft. or longer cable, a terminating resistor 
    is suggested. If used, the termination resistor need only be added to the last (furthest from the converter 
    box) DPN10601 in the network between pins A(-) and B(+) on the RS485 Terminal Block. The value of 
    this resistor should be 120 ohms.
    Axis Selection
    Each  DPN10601  is  addressed  using  a  programmable  register  allowing  the  PC  to  address  up  to  99 
    DPN10601’s from one port. The Default axis is “0”. To change the axis, use the SMC60WIN software or 
    the “~” command. To verify or check the axis, use the SMC60WIN software or the “%” command. The axis 
    designation is nonvolatile and will remain the same until changed by the user .
    Controller Status LED
    When powered and operated properly, the status LED will be green.  When an error occurs, the LED will 
    change  to  RED,  and  an  error  code  will  be  generated  in  the  error  code  register.    To  read  and  clear  the 
    error with the software, click on the “Verify Parameters” button located in the “Motion Tab”. To read and 
    clear the error while in “Direct Mode”, use the error code “!” command. Once the error has been read and 
    cleared, the LED will return to green and the error code register will be cleared to 0. Refer to the table on 
    page 39 for a complete list of the error codes.
    Technical Support
    Everyone needs assistance on occasion. If you have problems using any of the equipment covered by this 
    manual, please read the manual to see if it will answer your  questions. Be sure to look in the Troubleshoot-
    ing Section located near the back of this manual. If you need assistance beyond what this manual can 
    provide, you may call the factory direct for application assistance. If possible, have this manual in hand. 
    It is often helpful to have the controller connected to a computer with the software installed. 
    						
    							12
    Move Number of Steps: This  command causes the motion to start in the direction last specified.  This 
    command will move the motor the number of steps given. (Range: 1 to 8388607)
    Move to Position:  The move to position command specifies the next absolute position to go to. The 
    DPN10601 controller automatically sets the direction and number of steps needed to go to that position. 
    (Range: -8388607 to +8388607)
    Slew: The slew command will accelerate the motor up to maximum speed and continue to run at that 
    speed until reaching a registration mark, hard limit switch, soft limit switch, receiving a “.” (stop hard) or 
    “,” (stop soft) command.
    Set Position:  The set position command sets the position register to a designated value. The number 
    will be the new absolute position of the motor. The default value is 0. (Range: -8388607 to +8388607)
    Limit Switch Inputs:  The limit switch inputs are internally pulled up by a resistor making them normally 
    +5 volts. To activate the input, the pin must be grounded to (0VDC). All limit switch inputs are internally 
    clamped to +5V, thus allowing voltages of upto +24VDC to be used.
    Hard Limit Inputs:  When a hard limit switch is encountered, the motion will stop immediately . The posi-
    tion counter will also cease counting.  Hard limits are intended as an emergency stop for your system. It 
    should not be used to do any positioning type functions . These limits are directional.
    Soft Limit Inputs:  These switches should be used exclusively for homing. Once positioned properly 
    with the appropriate parameters, it causes the motor to ramp down to the base speed before encoun -
    tering the home limit switch. However, the soft limit switch will work for any type of motion command. 
    These limits are directional. 
    NOTE: Whenever a soft limit switch is activated, the motor will decelerate and run at base speed during 
    an indexing move, or stop during a slewing move. Be sure to come back past the soft limit switch to set 
    any origins, otherwise the motor will decelerate as it goes past the soft limit switch during normal opera -
    tion.
    Home Limit Input:  This switch is used to establish a position designated “home” or datum position us -
    ing the following: home to  soft and home limit, or home to home limit . This limit is not directional.
    Home to Soft, Home Limit (2 Switch Operation):  This type of homing routine requires two grounding 
    type limit switches called home and soft. The first limit switch seen is the soft limit. This will deceler -
    ate the motor down to base speed. The motor will then continue to run at base speed until it contacts 
    the home limit switch input causing the motor to stop. The home limit switch activates as a hard limit 
    if a soft limit is not sensed. The soft limit is directional, meaning that it will work in only one direction 
    as specified. The soft limit switch will work for any type of motion command. The home limit switch will 
    work only for the two home motion commands.
    NOTE: There should be sufficient distance between the two limit switches, as to let the motor reach 
    base speed.
    Home to Home Limit (1 Switch Operation) : This type of homing differs in that only one limit switch 
    is needed. In this homing routine the motor moves toward the home limit switch. When the home limit 
    switch is contacted the motor will ramp down to base speed, reverse direction and continue at base 
    speed until the limit switch is released.  This is a good way to compensate for any backlash in a system. 
    It is also useful for minimizing the number of limit switches needed for homing.
    NOTE: The home switch needs to be low during the entire deceleration and reversing time. 
    						
    							13
    Jog Inputs: The jog switch inputs are internally pulled up by a resistor making them normally +5 volts. 
    To activate the input, the pin must be grounded to (0VDC). All jog switch inputs are internally clamped 
    to +5V, thus allowing voltages of upto +24VDC to be used. Jog is a manual function. The user can 
    select the direction and speed (fast or slow) by grounding the appropriate combinations of inputs.  To 
    jog a motor, it is necessary to ground the jog input  for the direction desired. For fast jog, both the fast 
    input and jog input for the appropriate direction must be low at the same time. By grounding one of the  
    jog inputs, the user causes the motor to run at base speed.  When the fast input is grounded, the motor 
    will then accelerate to the programmed jog speed. The position register will keep track of the number 
    of steps that are taken during jogging. Once a +jog or a -jog function has been performed, the direction 
    register will retain the last direction of movement; that is, a subsequent go command will be in the same 
    direction as the last jog command.
    Inputs:  All inputs (except input 1) are internally pulled up by a resistor making them normally +5 volts. 
    To activate the input, the pin must be grounded to (0VDC). All inputs are internally clamped to +5V, thus 
    allowing voltages of upto +24VDC to be used. Six inputs are provided per axis.   The inputs are TTL, 
    CMOS and 24V compatible. The inputs may be used to initiate a machine cycle, for inter-axis coordina -
    tion (in stored program mode), for operator intervention, for sensing a machine condition such as out of 
    stock or wait for temperature to be reached, etc. A grounded input will read a “0” and an open or high 
    input will read as a “1”. Input 1 is a special input that is capable of reading an analog voltage between 
    0 and +5VDC. Since this input does not have a pull-up resistor, biasing of this input is needed if it is not 
    used as an analog input. 
    Analog Input:  Input 1 can be configured to read an analog voltage to either set the absolute position of 
    the motor or to set the maximum speed of the motor. 
    To set the position , when told via the goto analog position  command, the input will read a voltage 
    between 0 and +5VDC and based on the” upper and lower” limits of the function, a move will occur to a 
    calculated position between the two limits. The motor must finish the move before it can be told to read 
    the input again for the next position. For example, if the lower limit is set to 0 and the upper limit is set 
    to 5000 and the analog position is set at +2.0VDC, then the motor will move to position 2000. Changing 
    the lower limit to 1000 and the voltage to +3.2VDC, the motor will move to position 3560. See examples 
    below for calculations of the analog inputs. (Range of limits: 0 to 65535 and the lower limit < upper limit)
    To set the max speed, when told via the set analog speed  command the input will read a voltage 
    between 0 and +5VDC, and based on the “upper and lower” limits of the function, a max speed can 
    be obtained based on a calculated frequency between the two points.  The speed however can not be 
    changed when the DPN10601 is busy (moving). See examples below for calculations of the analog 
    inputs. (Range of limits: 0 to 50000 and the lower limit < upper limit)
    Analog  calculations.  Example1:   Example2:
    (Upper-Lower) * (Voltage/5) = X  (5000 - 0) * (2 / 5) = 2000 (5000 - 1000) * (3.2 / 5) = 2560
    Lower + X = Position or Frequency  0 + 2000 = 2000   1000 + 2560 = 3560
    Outputs:  Eight outputs are provided per axis. Outputs may be used to operate relays, coolant valves, 
    air cylinders, or, with the correct interfacing, any electronically controlled device. The outputs can drive 
    all types of common peripheral power loads, including lamps, relays, solenoids, LED’ s, printer heads, 
    and heaters. For inductive loads, it will be necessary to connect a clamping diode (refer to specification 
    section) from the output to the power source in order to provide adequate fly-back protection.  The out-
    puts are current sinking, open collector darlingtons. They are capable of sinking up to 100mA per output 
    with voltages up to 40VDC. Turning an output on will pull the output pin to ground and turning an output 
    off will make the output pin open. Output 1 has a special function  (output on the fly) that will enable it to 
    be triggered at a certain absolute position during a move. Output 8 has a special function that will trig -
    ger when the encoder retries function fails. 
    						
    							14
    Output on the fly: This special function enables output 1 to turn on during a relative index or absolute 
    move. There are three critical portions of information needed to make this function work correctly. First, 
    output 1 will turn on (0VDC) for a preset delay of 50uS at a specific absolute position set by the  1st 
    output position  command. Second, the output can then repeat this after a preset amount of steps set 
    by the number of steps between outputs  command, and third a predetermined amount of times to set 
    the output is required by the  number of outputs command which determines the preset amount of times 
    to trigger the output. So if you start at position 0 and want to move to an absolute position of 10,000, 
    you can set output 1 to turn on at position 2000, and every 1000 steps after that 5 times. So at position 
    2000, 3000, 4000, 5000, and 6000 output 1 will turn on for 50uS.  To only have the output turn on at one 
    position set both the “number of steps between outputs ” and the “number of outputs” commands to 0. 
    This function must be enabled, and will only work during a relative index or absolute position move.  The 
    output will trigger while going in either direction. If you do not want the output to trigger in the negative 
    direction, the function must be turned off before the index move is started.
    Index on the Fly:  This special function uses Input 2 when a motor is slewing to move a predetermined 
    amount of steps, set with the registration index command, before stopping.  This function must be 
    enabled, and will only work during a slew move. The registration index must be set before movement 
    begins. (Range: 1 to 8388607) 
    End of Program:  The end of program command, used within a stored program, stops execution of the 
    program. This command must be used at the end of all programs.
    Wait: In stored program mode, the wait command pauses the program for the specified number of mil -
    liseconds. (Range: 1 to 65535)
    If/Then Statements: The if/then statements are conditional based on the values preset in the program. 
    The user can either test each individual input or all inputs at once. If the input or input register matches 
    the given value or values, then the program will execute the next line. If the input or input register does 
    not match the given value, the program will skip the next line and execute the following line.  An open 
    input is read as a 1, and a grounded input is read as a 0.
    Branching or Goto Statements:  The goto instruction will have the program jump to the given label. If 
    no label is in the program, it will error when trying to send.
    Return from Subroutine:  This function can be placed anywhere in the program as long as a goto 
    statement has been already executed. The program will jump back to the last goto statement encoun -
    tered and execute the next line in the program.
    Inner and Outer Loop:  The loop instructions allow the user to loop a program a variable number of 
    times. The program will loop to the designated label location of the program. However , the label must 
    always be at a lower line number than the loop instruction itself.  You can only nest inner loops inside an 
    outer loop. You may not nest an inner loop inside an inner loop, or an outer loop inside an outer loop. 
    Multiple nested inner loops are allowed in one outer loop.
    Finish Move:  When writing a program, the finish move command is used directly after every motion 
    command. When using this command, the DPN10601 internally generates a busy signal and will wait 
    until the move is complete before executing any further commands. Unless the finish move command is 
    used, the DPN10601 will continue to execute the program. If it encounters a command that cannot be 
    used when the motor is moving, the DPN10601 will error and stop the program prematurely .
    Repeat Last Move: This command will move the motor the number of steps given in the last indexing 
    move. This command will not work correctly if the encoder autocorrect function is enabled. 
    						
    							15
    Encoder Commands: The DPN10601 controller is capable of using a quadrature incremental encoder 
    with A and B channels.
    Encoder Auto Correct: This command will enable or disable the encoder feature of the DPN10601. 
    When enabled, the encoder function will compare the desired position with the actual encoder position. 
    If it is not in the correct position a correction move will be made.
    Encoder Delay: This sets the wait time, which is a specified number of milliseconds after a relative 
    index or absolute move is finished, prior to reading the encoder. This is used to remove the ringing that 
    might be associated with the mechanics of the system.  (Range: 0 to 65535)
    Encoder Motor Ratio:  This represents the ratio for the number of encoder pulses to one motor step. 
    This ratio must be a whole number. For example, given a 1000 line quadrature encoder and a 400 step/
    revolution motor, the motor ratio is (1000 * 4) / 400 = 10 (Range: 1 to 255 and must be a whole number)
    Encoder Retries: This is the number of times the DPN10601 will try to autocorrect the motor shaft po -
    sition before producing an error. Wen the error is produced, Output 8 is triggered.  (Range: 0 to 255)
    Encoder Window:  This is the allowable error in encoder pulses (either plus or minus) from the desired 
    position that is allowed before the motor autocorrects. (Range: 0 to 255)
    Thumbwheel Index:  This special function allows a thumbwheel with up to 7 decades to be used with 
    the DPN10601 to set a relative index.
    Acceleration/Deceleration:  The acceleration and deceleration are the same value. The acceleration is 
    entered directly as steps/sec
    2 and controls the time that the motor will take to move from base speed to 
    max speed, and from max speed to base speed. The higher the value, the faster the motor will acceler -
    ate. The same principal applies for the deceleration which is controlling the time it takes to go from the 
    max speed to base speed. (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  and jog speed. 
    (Range: 1 to 5000)
    Max Speed: The max speed is the top speed the user wants the motor to run. This speed must always 
    be greater than the base speed. It is entered directly as the number of steps per second.
    (Range: 1 to 50000)
    Jog Speed: The jog speed sets the fast jog rate. Jog (+/-) is used to run at base speed. The FJOG pin, 
    when grounded, will ramp the motor to the set jog speed. This speed must always be greater than the 
    base speed. It is entered directly as the number of steps per second. (Range: 1 to 50000)
    Motor Current: This command will control the on/off output which is designed to connect to the on/off 
    input of Anaheim Automation’s step motor drivers. To energize and allow current to flow through the coil 
    of the motor, set the value to on. To de-energize and turn the current off to the motor, set the value to 
    off. This is a dedicated output and not controlled with the output register.
    Verify: The verify command causes the DPN10601 controller to send data back to the PC or PLC. The 
    data is sent as an ASCII decimal string followed by a carriage return and a line feed. 
    						
    							16
    Section 4: SMC60WIN Software
    The SMC60WIN software is a handy utility that supports Anaheim Automation’s line of DPN10601’s step 
    motor controllers. Connecting your PC to the DPN10601, via a serial cable, the SMC60WIN software can 
    easily perform the following tasks:
     • Exercise and monitor the DPN10601 controller
     •  Write and edit stored programs for standalone operation
     •  Directly communicate with the DPN10601 controller
    Installation
     Software 
     Windows 2000/XP/Win 7 Installation
        1) Open Windows Explorer
        2) Navigate to the download location of smc60win201.zip
        3) Extract the files from the compressed file into a new folder
        4) Double click the Setup Icon in the created folder
    Getting Started
     1) Double click on the SMC60WIN icon to run the SMC60WIN software.
      2) Apply power to the DPN10601 controller.
      3) Set the appropriate com port setting by selecting  Setup | Com Port Settings from the menu    
          bar (Ctrl+M is a shortcut)
      4) Set the appropriate axis setting by selecting  Setup | Axis from the menu bar.
          (Ctrl+A is a shortcut)
      5) Establish communications with the DPN10601 by clicking on the Connect Icon, or select
           Setup | Connect from the menu bar. If the unit is connected properly, the program will notify    
           you when communications has been established. (Ctrl+C is a shortcut)The SMC60WIN can be downloaded from 
    http:/www.anaheimautomation.com/software/
    smc60win201.zip, containing the setup program for the SMC60WIN software, DPN10601 
    manual and sample programs. 
    SMC60WIN is compatible with all versions of Windows including Windows 2000, 
    Windows XP and Windows 7. 
    						
    							17
    New ProgramStart editing a new program.
    Open Program Open an existing program from disk.
    Save Program  As Save the current program to disk.
    Print...Print the current program.
    ExitExit the SMC60WIN software.
    File Menu
    Setup Menu
    Connect Establish communications with the controller.
    Disconnect Release the COM port for other devices to use.
    Com Port Settings Select COM port.
    AxisSet axis selection and stored axis of the controller.
    Setup - Axis Menu
    Select Axis Sets the axis select parameter in the SMC60WIN software. (1-99)
    Define Axis Sets the programmable address in the controller. (1-99) 
    						
    							18
    Start ProgramStart the execution of the program in the controller memory.
    Stop ProgramStop the execution of the program in the controller memory.
    View Program View the program stored in the controller memory.
    Clear Program Memory Clear the program memory in the controller.
    Autostart ProgramTurn the autostart function on or off.
    Program Menu
    DisableProgram will disable the execution of a stored program at power up.
    EnableProgram will start execution when controller is powered up.
    Program - Autostart Program Menu
    Add Adds a new line of code to the end of the progam.
    Change Edits the currently selected line of code.
    InsertInsert a new line of code before the currently selected line of code.
    Delete Deletes the currently selected line of code.
    Edit Menu 
    						
    							19
    “The Unit is Connected” / “The Unit is NOT Connected”
    On  the  right  of  the  Toolbar,  the  user  will  find  the  communication  status  of  the  DPN10601  controller.  If 
    communications are not established, please refer to the Troubleshooting Section.
    Help Menu
    Error Coder ReaderUtility to read the error code generated by the DPN10601 controller .
    PCL601 User’s GuideOpens up the User’s Guide in .pdf format.
    www.anaheimautomation.com Opens up the Anaheim Automation Website.
    AboutDisplays the version of the SMC60WIN and contact information. 
    						
    							20
    Toolbar
        Exit          New        Open       Save        Print   Calculator S\
    top All   Connect
    ExitExit the SMC60WIN software.
    New Start editing a new program.
    Open Open an existing program from disk or directory.
    Save Save the current program to disk or directory.
    Print Print the current program.
    Calculator Open the desktop calculator.
    Stop All Stop the program and all motion from running.
    Connect Establish communication with the controller.
    Tab Sheets
    Real Time Motion Monitor and control motion of the controller.
    Encoder Options and  Registration Inputs Monitor and change settings for encoder options, input on the fly and output on the fly
    .
    Analog Input and 
    Thumbwheel Options Monitor and change settings to Analog Inputs and the thumbwheel switches.
    Create and Edit Programs Write and edit DPN10601 stored programs. 
    						
    All Anaheim manuals Comments (0)

    Related Manuals for Anaheim Discounted Package PKG342DPNPSCBL User Manual