584,837 active members*
5,381 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > Mach Software (ArtSoft software) > a problem with slaved A-axis moving properly relative to Y-axis
Page 1 of 2 12
Results 1 to 20 of 35
  1. #1
    Join Date
    Apr 2007
    Posts
    663

    a problem with slaved A-axis moving properly relative to Y-axis

    Having a problem with slaved A-axis moving properly relative to Y-axis and direction of movement.

    Using MACH3 Ver R3.042.040. PC with WinXP [all updated] set up just for MACH; MACH drivers installed properly. Initial test without steppers hooked to machine showed no problems. Have graphics card. Very short parallel port cable.

    Machine is a Shop Droid with Y-axis as master and A-axis as slave.
    Y-axis is 7-feet, X-axis is 3-feet.

    CNC Zone build thread: http://www.cnczone.com/forums/cnc_wo..._sized%5D.html

    Rockcliff controller board, Rockcliff stepper motors, and Rockcliff power supply. It was a package. Board is configured as indicated in Rockcliff instructions. Cabling is shielded and is color coded and matched to wires from steppers. A+, A-, B+, B- on controller board are all matched with cable/stepper motor wiring.

    Home [0,0] is in far left corner.

    X-axis functions properly after stepper was installed on machine and tested.

    Here is the problem:

    When Y/A-axis moves in positive direction [away from home], Y and A steppers both move together.

    When Y/A-axis move in negative direction [toward home], Y-axis moves toward home [negative direction], but A-axis continues to move AWAY from home [positive direction].

    I have double check the following, as well as rebooting PC along the way.

    Config> Slaved Axis: Y-Axis shows A-axis slaved. PC was rebooted.

    Config> General Logic Configuration: Angular Properties: A-axis is Angular is UNCHECKED.

    Config> General Logic Configuration: General Configuration: Home Slave with Master Axis is UNCHECKED. [Home and limited switches have not been installed yet.]

    Port and Pins are as follows:
    X enabled Step 2 Dir 3 DirLowActive not enabled StepPort 1 DirPort 1
    Y enabled Step 4 Dir 5 DirLowActive not enabled StepPort 1 DirPort 1
    Z enabled Step 6 Dir 7 DirLowActive not enabled StepPort 1 DirPort 1
    A enabled Step 8 Dir 9 DirLowActive ENABLED StepPort 1 DirPort 1
    [Note: A-axis was also tested with DirLowActive not enabled]

    Motor Tuning on Y and A is as follow:
    Steps Per: 848.5669081 Veloc: 199.98 Acc: 4 Step Pulse: 5 Dir: 0

    XML file is attached.

    Any insight and direction would be appreciate.

    In my bones I know that somebody is going to see a real simple fix ..

  2. #2
    Join Date
    Mar 2003
    Posts
    35538
    A enabled Step 8 Dir 9 DirLowActive ENABLED StepPort 1 DirPort 1
    [Note: A-axis was also tested with DirLowActive not enabled]
    That should reverse the direction of the A, which would make it hard to test?

    Try setting it the same as Y, and reversing the A in Config >Homing/Limits. (check the Reverse column)

    My guess, though, is that the direction signal on your parallel port may be too weak for the A axis pin. Jog back and forth, and measure the voltage on pin 9, both at the parallel port, and at the drive.
    It should be 0V in one direction, and 5V in the other direction.

    It could also be a loose connection on that pin as well.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  3. #3
    Join Date
    Apr 2007
    Posts
    663
    Ger21 stated: "My guess, though, is that the direction signal on your parallel port may be too weak for the A axis pin. Jog back and forth, and measure the voltage on pin 9, both at the parallel port, and at the drive.
    It should be 0V in one direction, and 5V in the other direction.

    It could also be a loose connection on that pin as well."


    I found the following:

    Pins 3, 5, 7 = 3.3 volts

    Pin 9 = 0 volts both ways..

    Good call ...

    Now to get MACH to see the add-on PCI card LPT port that was installed.

    BIOS does not see it, IRQs do, drivers are same for add-on PCI card as for LPT port on motherboard.

    In hardware the LPT ports are identified as different types.

    Checking into BIOS update so the add-on can be changed.

    Thank you for your insights and help.

    Z.

  4. #4
    Join Date
    Mar 2003
    Posts
    35538
    Does Windows see it?
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  5. #5
    Join Date
    Apr 2007
    Posts
    663
    Yes, windows does see LPT2 .

  6. #6
    Join Date
    Mar 2003
    Posts
    35538
    Then just enter the address from device manager.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  7. #7
    Join Date
    Apr 2007
    Posts
    663
    I've done that, and to no avail.

    And the port address is correct vis-a-via windows and port 2 is enabled and the port was changed from 1 to 2 in ports and pins when I tried after finding no voltage out of pin 9.

  8. #8
    Join Date
    Mar 2003
    Posts
    35538
    You want to set it up as Port1, not Port 2. Unless you're trying to use both.
    What do you have for the Port address?
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  9. #9
    Join Date
    Apr 2007
    Posts
    663
    Need two ports as will be adding a rotary axis and then a B/C head.

    Plan is to add two PCI parallel port cards and not use motherboard parallel port. Both are same Intek boards. Seems this is a precaution.

    Parallel port address on motherboard is 0x378, the address of the card is something like 0xddf04 .. left notes and manual at studio ... this matches up with what is shown in Start>Control Panel>System Properties>Device Manager>Ports. I just checked it a few hours ago and wrote the address down and check against what is shown in MACH3 as second port. I write everything down as my memory has the retention functionality of a sieve with large holes.

    Cannot upgrade BIOS on the Dell being used for the Droid, so have to get this straightened out, or try a different computer.

    Seems as though this is a constant problem with MACH3 not seeing a second or third card. Odd it has continued unabated for so long.

  10. #10
    Join Date
    Mar 2003
    Posts
    35538
    You don't put the full address in the box in Mach3. Watch the setup video at ArtSoft USA - Home of Mach3 and LazyCam and it'll show you what needs to be entered.

    Seems as though this is a constant problem with MACH3 not seeing a second or third card. Odd it has continued unabated for so long.
    It's not a Mach3 problem. It's windows or the card manufacturer not reporting the address correctly. I just helped someone with this the other day. They were entering the wrong address.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  11. #11
    Join Date
    Apr 2007
    Posts
    663
    A Windows problem...GASP .. How can that be true??!!

    I will watch the video and try again ....

    Thank you again.

  12. #12
    Join Date
    Apr 2007
    Posts
    663
    Have watched video mention before, but watched again .. couple of times.
    Read more instructions on various web sites too.

    On the INTEK PCI parallel port card this is what happened: Pins 2-9 [inclusive] show 4.95 volts on the multimeter no matter what button is pushed on the jog screen [X+,X-,Y+,Y-,Z+,Z-]; i.e., nothing goes to zero and there is no negative sign.


    Here is info on parallel ports from computer:

    Name LPT1
    PNP Device ID MF\PCI#VEN_14DB&DEV_2120&SUBSYS_212014DB&REV_00\5&4252834&0&20F0#CHILD0000
    I/O Port 0x0000DDF8-0x0000DDFF
    I/O Port 0x0000DDF4-0x0000DDF7
    Driver c:\windows\system32\drivers\parport.sys (5.1.2600.5512 (xpsp.080413-2108), 78.25 KB (80,128 bytes), 8/28/2002 9:27 PM)

    Name LPT2
    PNP Device ID ACPI\PNP0401\4&11876118&0
    I/O Port 0x00000378-0x0000037F
    I/O Port 0x00000778-0x0000077F
    Driver c:\windows\system32\drivers\parport.sys (5.1.2600.5512 (xpsp.080413-2108), 78.25 KB (80,128 bytes), 8/28/2002 9:27 PM)

    Here is what MACH3 put in Port #1 [which is checked as "Port Enabled]address box: 0xdf8. This was entered as DF8.



    What now?

  13. #13
    Join Date
    Mar 2003
    Posts
    35538
    Try entering DDF8
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  14. #14
    Join Date
    Apr 2007
    Posts
    663
    GER21:

    We have lift off .....

    On the chance there was something wrong with the first PCI parallel port card, another was installed, this an INTEK model 9805 with a Net MOS chip.

    In Start>Control Panel>System>Device Manager>Ports>PCI Parallel Port (LPT3)>Properties>Resources the address is listed as DDC8-DDCF.

    So using your suggestion DDC8 was entered into MACH3 Port #1.

    It worked; voltage changes from 4.98 VDC to 0 VDC on pins 3,5,7 and 9 when direction arrows are press on X, Y, and Z.

    Do not know if first card was bad, but with one working can now calibrate Droid and make some $$$$$$$$$$$$.

    I will set some of the $$$$$$$$$$ so I can buy you a beer when I get to Plymouth, and then head up North, later this summer.

    Thank you once more,
    Z.

  15. #15
    Join Date
    Apr 2007
    Posts
    663
    Reinstalled first PCI parallel port card, though in different slot.

    It showed up as LPT2 with address of DDC0 [Which is different from the address the first time for this card.].

    Put this is as Port #2 in MACH3.

    Set Port to 2 in Ports and Pins and checked voltages; 0 vdc one way, 4.97 vdc the other, on all four pins.

    This whole thing has been a big mystery to me.

    Now I can stick with designing and CAD programs, as well as CNC Tool Kit, easy stuff.

    Thanks again Ger21!

    Z.

  16. #16
    Join Date
    Mar 2003
    Posts
    35538
    I haven't watched it in a long time, but I'm pretty sure that video tells you to use the first 4 digits of the address, which you weren't doing.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  17. #17
    Join Date
    Apr 2007
    Posts
    663
    Still have same problem.

    Tired numerous combination in Config, nothing works.

  18. #18
    Join Date
    Apr 2007
    Posts
    663
    Quote Originally Posted by ger21 View Post
    I haven't watched it in a long time, but I'm pretty sure that video tells you to use the first 4 digits of the address, which you weren't doing.
    Only shows first three digits.

  19. #19
    Join Date
    Mar 2003
    Posts
    35538
    Quote Originally Posted by zool View Post
    Still have same problem.

    Tired numerous combination in Config, nothing works.
    What happened? Wasn't it working yesterday??

    Or are you talking about the original problem? If so, can you post your Mach3 .xml file?
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  20. #20
    Join Date
    Apr 2007
    Posts
    663
    Quote Originally Posted by ger21 View Post
    What happened? Wasn't it working yesterday??

    The PARALLEL PORTS were working.....


    Or are you talking about the original problem? If so, can you post your Mach3 .xml file?
    XML file attached

    Remember, the home position is going to be in the far left corner relative to the front. This is because at the front is a vertical table where wood can be clamped vertically in order to cut traditional dovetail and box joints.

Page 1 of 2 12

Similar Threads

  1. any issue with slaved axis?
    By multiplex in forum Viper Servo drives
    Replies: 5
    Last Post: 01-23-2010, 04:06 AM
  2. A axis (slaved to Y) startup delay
    By Dean448 in forum Mach Software (ArtSoft software)
    Replies: 4
    Last Post: 01-18-2010, 03:11 AM
  3. G540 not homing a slaved axis
    By bcourson in forum Gecko Drives
    Replies: 2
    Last Post: 12-04-2009, 03:59 PM
  4. 4th Axis (Rotary) moves relative not absolute
    By Vogavt in forum Mach Software (ArtSoft software)
    Replies: 2
    Last Post: 07-19-2009, 04:20 PM
  5. Adding a slaved X axis
    By t140nick in forum Mach Software (ArtSoft software)
    Replies: 4
    Last Post: 02-05-2009, 09:05 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •