Page 2 of 2 FirstFirst 12
Results 13 to 20 of 20

Thread: 3 AXIS PIC STEP

  1. #13
    Registered
    Join Date
    Dec 2004
    Location
    USA
    Posts
    43
    Downloads
    0
    Uploads
    0
    When I tried to verify the programming it came up with a code error. I haven't programmed one in a while so I don't remember the error # but the pic would not verify. I will try to program one this afternoon and write down the error.

    Thanks Bruce
    www.wtxrcdog.com
    http://wtxrcdog.blogspot.com/


  2. #14
    Registered
    Join Date
    Aug 2004
    Location
    Australia
    Posts
    26
    Downloads
    0
    Uploads
    0
    So you haven't tried running one of the chips yet?
    I don't know what programming software you are using but try and see if there is an option of writing calibration value and disable that, then see if it will verify ok.

    That said.... I have being disassembly of the hex and I do believe that there are bugs in the program.

    Output seems to be for the four full steps in this sequence

    STEP--PHASE--=--GPIO---HEX-----BINARY
    step 1 - 2b ------- gpio = 0x01----00000001
    step 2 - 2a ------- gpio = 0x02----00000010
    step 3 - 1b & 2a ---gpio = 0x22----00100010
    step 4 - 1b & 2b ---gpio = 0x21----00100001
    step 1 - 2b --------gpio = 0x01----00000001

    This will cause erratic movement as the sequence is wrong for full step mode.


    Correct GPIO value in binary:-
    Phase 1a = 00010000
    Phase 1b = 00100000
    Phase 2a = 00000010
    Phase 2b = 00000001

    Can anyone who has used this hex confirm that it steps correctly?


  3. #15
    Registered
    Join Date
    Dec 2004
    Location
    USA
    Posts
    43
    Downloads
    0
    Uploads
    0
    I tried running one chip. it had holding torque but no movement.

    Bruce
    www.wtxrcdog.com
    http://wtxrcdog.blogspot.com/


  4. #16
    Registered
    Join Date
    Aug 2004
    Location
    Australia
    Posts
    26
    Downloads
    0
    Uploads
    0
    I would hold off trying to program anymore 12c508 till someone confirms that the hex code "as is" works.

    If you are getting some kind of output from the pic I would say that the chips are programmed ok, its just that the hex is buggy.

    As I haven't actually built the drivers & current limiter, I can't really tell you what the faulty step sequence will do but very little movement with atleast one phase powered on at any time will hold stepper in position.
    Using a multimeter probe the outputs of the pic, only one phase should be high at any given step. If more than one phase is high at the same time the hex is definetly buggy.


  • #17
    Registered
    Join Date
    Dec 2004
    Location
    USA
    Posts
    43
    Downloads
    0
    Uploads
    0
    Other people say that that they have the drivers running. Maybe I picked a project that is not to good for a new guy to undertake.

    Bruce
    www.wtxrcdog.com
    http://wtxrcdog.blogspot.com/


  • #18
    Registered
    Join Date
    Dec 2004
    Location
    USA
    Posts
    43
    Downloads
    0
    Uploads
    0

    3 axis pic step

    Hello sorry for the delay. Work you know.
    I get the error when I program the pic. it will not run on the board. I do get holding torque but no movement. I will try to program another pic with the chip speed set in the code and see if that works.


    Thanks Bruce
    www.wtxrcdog.com
    http://wtxrcdog.blogspot.com/


  • #19
    Registered
    Join Date
    Nov 2008
    Location
    Spain
    Posts
    1
    Downloads
    0
    Uploads
    0
    The pic works, I've just tested one channel, the issue I see is the output pattern seems to be just the opposite as I expected :

    "1110"
    "0111"
    "1011"
    "1101"
    .....

    Instead of the expected

    "0001"
    "1000"
    "0100"
    "0010"

    So instead a MOS FET I'm using a 754410 to drive a small stepper

    I've done the test with the TURBOCNC soft.

    Regards,


  • #20
    Registered
    Join Date
    Jan 2007
    Location
    US
    Posts
    100
    Downloads
    0
    Uploads
    0
    i already build this controller.
    but it never worked.the reason is to reprogram the chip u need spl.type of programmer.some UV based.
    i came to know it after wasting lot of time.so guys do some search on this 12c chip.u'll know.


  • Page 2 of 2 FirstFirst 12

    Similar Threads

    1. A Axis and Step and Direction Spindle Setup
      By mklb in forum Mach Software (ArtSoft software)
      Replies: 6
      Last Post: 11-27-2009, 08:19 AM
    2. Selected Axis, Step Size LED indicators
      By mikkojay in forum Mach Mill
      Replies: 2
      Last Post: 01-11-2008, 02:10 PM
    3. EMC Pluto-Step Z / Y axis interference (bug)??
      By Paragon36 in forum LinuxCNC (formerly EMC2)
      Replies: 0
      Last Post: 10-15-2007, 08:25 AM
    4. How to code a step motor axis move?
      By Niggo in forum OpenSource Software
      Replies: 3
      Last Post: 08-13-2007, 11:40 PM
    5. Z-axis (ballscrew) step down ratio
      By dowling177 in forum Servo Motors and Drives
      Replies: 1
      Last Post: 03-03-2005, 11:58 AM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.