Results 1 to 12 of 12

Thread: Need Help Config M3-M5 Camands

  1. #1
    Registered
    Join Date
    Apr 2008
    Location
    USA
    Posts
    33
    Downloads
    0
    Uploads
    0

    Need Help Config M3-M5 Camands

    I am trying to set up my spindle start stop relay and have been unsuccessful in getting an output from Mach. I have the output #1 enabled on port #1 with pin number 14 assigned, under the Output Signals Tab. Under the Spindle Setup tab I have output #1 assigned to the M3, clockwise comand. What am I missing? I am getting no signal out of the computer. I have assigned different pins and nothing seems to help.


  2. #2
    Registered
    Join Date
    Jul 2005
    Location
    USA
    Posts
    1,952
    Downloads
    0
    Uploads
    0
    What is tied to pin 14 ? You setup sounds right but what are you measuring to see the output? Scope, meter, something else? If output1 flashes on the Diagnostics screen when you do an M03 at the MDI window then everything is mapped at least to the proper output BUT you have to get that output to the right port and pin. Parallel port direct won't drive spit and may need a pullup from the outside to use it for low going outputs.

    TOM Caudle
    www.CandCNC.com


  3. #3
    Registered
    Join Date
    Apr 2008
    Location
    USA
    Posts
    33
    Downloads
    0
    Uploads
    0

    Lost in Mach3

    I am feeding a breakout board (cnc4pc) with the parallel cable. This breakout board feeds through, and I have volt meter hooked up to 14 and one of the commons on the exit plug. Output on breakout board is connected to a relay board. Also, I think I should be able to see pin 14 light up on the Diagnostics screen when output one comes on? I've also tried the simple commands like turning on the coolant and mist, and am also unable to get anything to the pins. The only thing left that I can come up with on this problem is to uninstall Mach3 and re-install? Possibly something was messed up in the download or install?
    Last edited by woody8750; 08-20-2009 at 09:34 AM.


  4. #4
    Registered
    Join Date
    Jul 2005
    Location
    USA
    Posts
    1,952
    Downloads
    0
    Uploads
    0
    HUH? Serial? Pin 14 is a parallel cable. Unless there is custom software (plug-in's) involved you can't make an output remap through a serial port to something else.

    You can reload MACH as many times as will make you happy but it won't fix this issue.

    You need to get deeper into the CNC4PC docs and figure out what is supposed to be connected to what. In most BOB's that have outputs you connect them to Port 1 parallel port and the ouputs are turned one with specific port- pin combinations. There are only 4 outputs open on a port that is used for motor S & D (port 1). Those are Pin 1, pin 14, pin 16 and pin 17. 17 is most often used for Charge Pump. That leaves three. You BOB documentaion should tell you which of the above pins are connected where on the BOB. The board should have status LED's to show you what is turning on/off. If there are on-board relays they should have status LED's to show when they go active.

    Only inputs show up on the Diagnostics screen as INPUTS. The outputs show up as flashing red LEDS but it is not monitoring the actual port pin. Only the RAW PORT BITS show you the actual pin status and they are INPUTS ONLY.

    Perhaps this might progress faster if you tell us what exactly you are trying to do and what pieces you are using and how.

    TOM Caudle
    www.CandCNC.com


  • #5
    Registered neilw20's Avatar
    Join Date
    Jun 2007
    Location
    Australia
    Posts
    3,421
    Downloads
    0
    Uploads
    0

    Installing again won't help.

    1. You have to assign out put pins.
    2. You need to specify on the ports and pins - spindle that you you will use relay(s). Not PWM.
    It will work once you tick the right boxes, ands get the active high/lows right.

    M3 forward - Output 1. M4 Reverse - Output 2. M5 both off.
    F5 key should toggle on/off once all is well.
    Super X3. 3600rpm. Sheridan 6"x24" Lathe + more. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.


  • #6
    Registered
    Join Date
    Apr 2008
    Location
    USA
    Posts
    33
    Downloads
    0
    Uploads
    0
    I've attached two sceens that show the last tried settings that did not give me an output. I will try to get a picture of the breakout board and relay board along with some specifics later today. It stiil appears to me though the problem is in the Mach settings, since I get no voltage out on pin #14, and all of my drives are working. I did replace the parallel cable with a new cable and made no differance. I've also tried switching the active high/low and had no success.
    Attached Thumbnails Attached Thumbnails Need Help Config M3-M5 Camands-ports_pins.jpg   Need Help Config M3-M5 Camands-spindle_set-.jpg  


  • #7
    Registered neilw20's Avatar
    Join Date
    Jun 2007
    Location
    Australia
    Posts
    3,421
    Downloads
    0
    Uploads
    0

    Bios Settings.

    Have a look at the Bios Settings.
    I just did some fiddling, and found that the output pin was very slow to respond to Mach3, I think because BIOS setting for LPT is not correct.
    It would appear that you need a pullup on the output.
    It is acting like open collector. I did not try it with a resistor or load, but I'm fairly sure that is the problem.
    Could also be mucked up by having E-S enabled, but not correct input signal.
    Use the diagnostics screen and and spindle toggle button to make the output follow your button hits. Mine delayed by about 10 seconds like you would expect high impedance floating output.
    M3 and M5 should work from command line when all is well.
    Make sure some of your input switch lines work, to ensure that the driver is actually communicating with the (correct) port.
    Super X3. 3600rpm. Sheridan 6"x24" Lathe + more. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.


  • #8
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Twp, MI....USA
    Posts
    22,283
    Downloads
    0
    Uploads
    0
    Do the motors move, and just the outputs don't work?
    Gerry

    Mach3 2010 Screenset
    http://home.comcast.net/~cncwoodworker/2010.html

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


  • #9
    Registered
    Join Date
    Apr 2008
    Location
    USA
    Posts
    33
    Downloads
    0
    Uploads
    0
    Yes, the motors (4) all move and function properly as do my travel limit inputs. I just cant seem to get an output signal. When I use the diagnostics screen and spindle toggle button to make #1 output turn on it does respond and function on the screen as I think it should. However I don't get an output on pin 14 using a volt meter nor does it show up on the diagnostics screen pin indicators.


  • #10
    Registered neilw20's Avatar
    Join Date
    Jun 2007
    Location
    Australia
    Posts
    3,421
    Downloads
    0
    Uploads
    0

    Try ohms

    Try using the multimeter on resistance range -- say about 10K
    Black to ground, red to pin 14.
    If it is open collector type problem, you should see a change.
    The diagnostics screen indicator should toggle as you turn spindle control on/off.

    Maybe try a different pin, say 17, in case you have a dud output.
    Super X3. 3600rpm. Sheridan 6"x24" Lathe + more. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.


  • #11
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Twp, MI....USA
    Posts
    22,283
    Downloads
    0
    Uploads
    0
    Check the cable, too.
    Gerry

    Mach3 2010 Screenset
    http://home.comcast.net/~cncwoodworker/2010.html

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


  • #12
    Registered
    Join Date
    Apr 2008
    Location
    USA
    Posts
    33
    Downloads
    0
    Uploads
    0

    Unhappy

    I've disconnected the breakout board from the system and found that I now have a good signal coming out of Mach3 to the parallel port. I have now been trying to work with the breakout board manufacturer to resolve the issues with their board.


  • Similar Threads

    1. rs-232 pinout config
      By Michael82 in forum Fanuc
      Replies: 5
      Last Post: 02-04-2012, 08:08 PM
    2. Need Help!- CONFIG ISSUES
      By CNC_BOB in forum Mastercam
      Replies: 2
      Last Post: 10-30-2008, 02:05 PM
    3. How do you backup your config.
      By CATCH22 in forum Mach Mill
      Replies: 5
      Last Post: 12-20-2007, 10:13 PM
    4. Config Mastercam X
      By Capt Crunch in forum Mastercam
      Replies: 16
      Last Post: 01-21-2007, 09:58 AM
    5. Mach 3 config?? HELP
      By ty1295 in forum Servo Drives
      Replies: 3
      Last Post: 02-20-2006, 01:20 PM

    Tags for this Thread

    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.