. .
Page 1 of 2 12 LastLast

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Hello guys, I have got to the stage of setting Mach 3 ports and pins and I have hit a brick wall with what to try next, I am not seeing any led status at all on the diagnostic page I have checked the wiring drawing against my wiring.
    i have only wired up the x axis so not to cause too much magic smoke! I can hear the motor buzz when I run auto configure but that doesn't mean that it's right, but I reckon it is good.
    i have dir- pin14, dir+ pin1, pul- pin15, pul+ pin2 on the steps/direction outputs on the csmio/ips
    i am using leadshine em806 drivers, for info only.
    i am struggling to understand the "port" selection but I do believe it's only setting that is stopping me, if anyone can let me have any amount of info that would help greatly,
    chris.

  2. #2
    Chaz's Avatar
    Lives in Ickenham, West London, United Kingdom. Last Activity: 2 Weeks Ago Has been a member for 9-10 years. Has a total post count of 1,600. Received thanks 110 times, giving thanks to others 69 times.
    I found the CS Labs documentation good. Have you followed it?

  3. #3
    Yes I keep going over the info to make sure I didn't miss or misinterpret anything I just don't get the port numbers, they mention a few times that the pin is output/ input number and not the PIN number on the 25 pin D connector which I think I understand, but I don't see where the port numbers get chosen or decided.
    on the special settings I see that x is 0, y is 1...... But the "port" settings don't reflect this on examples on the internet this is why I question my settings.
    every time I alter anything I try the axis just by chance I have altered the right thing but this takes time,

  4. #4
    Ok here what you need to do and the pins. They way the Cslabs unit treats Axis is different to mach standard way of doing things so don't take any notice of Mach manual or things you see on internet unless for the Cslabs units.

    IP-S plugin uses Channels and by default X axis is channel 0 which translates to pins Dir(+)=1,Dir(-)=14, Step(+)=2,Step(-)=15
    So if you want to change X axis to Y axis then you change X to Channel 1. This will now use pins 3,4,16,17 for X axis.
    All this is done in the Plug-in Config.

    Now where things differ completely from Mach3 standard way is that in the Motor outputs section in ports n pins the ONLY thing you need to do is ENABLE each axis.
    None of the other settings matter ie: ports etc with the exception of Step Active low which 99% of time you don't need to touch.
    Only time you will change this is if the Step pulse edge on your drives is set to wrong side the Control is expecting. The way to test this is to run some A to B moves and check the axis comes back to the same place. If it's set wrong you'll lose one step for every direction change and it won't return to same place.
    In which case you have 2 options.! #1 change the Pulse edge in the drive settings #2 Toggle the Step active low.

    Now regards Inputs and Outputs if they are not working it's most likely because you haven't set the Port setting to port10.
    After this then all you have to remember is that Inputs start at #0 so pin1 = Input(0) (+) so in Mach Inputs for instance say setting E-stop and using pin1 on the terminal connecter means your actually using Input(0) so in Pin option set to (0) not pin 1.

    With Outputs then it works slightly different to how you do Inputs. They are arranged in Banks of 4 with each having 24V & 0V pins and Outputs starting at 0 -3. Ie Output (0) = Pin2
    Each bank has 24v & 0V pins then there respective outputs will have there own output number which is different to the actual pin number on the terminal block.

    In Mach again you use the Output Number not the Pin number.

    Hope this helps.
    Last edited by JAZZCNC; 04-01-2016 at 12:31 AM.

  5. #5
    Hi jazz thanks for the input, I get the channel per axis gives a set of fixed pins for that axis,
    why do I only need to enable the axis does system then "find" the pins used and alter the settings or do the boxes remain at 0??
    in motor outputs x is enabled and step port and dir port are set to 10 and there is sod all from the motor but Mach readout thinks it's moving,
    so I alter the x axis channel to 1 (which auto disables y axis) and then move my wires (cat 6 I using 2 pairs info only) to the set of fixed pins for the y axis and still nothing.

    i also have 24v to terminal 1 on digital inputs and terminal 5 goes to the ALM+ terminal on the drive,
    then I have 24v to terminal 1 on digital outputs and terminal 2 goes to ENA+ on the drive.
    i checked the voltage is good but there is no led on the csmio or the diagnostic screen on Mach, should there be a led lit showing me it's connected??

    is it a possibility that I have fried summat on the input 0 to 15 side if there is no visual indication??

    on the inputs I tried setting #1 to #4 to enable and the ports to 10, with no difference.

    and I been doing the same on the outputs but only altering 2 at a time and watching the diagnostic page for changes,and testing the axis with the Mach screen MPG,
    sorry for the long reply but if I don't give you all the info it's more difficult to understand.
    chris w.

  6. #6
    Chris let take a step or two back to get this working. Then start putting things back into play.

    Lets get you moving first.

    The reason you only need to set enable in Motor outputs and nothing else is because the Controller software takes over the dutys of dealing with Axis setup from Mach3.
    The Controller software by default use's Channel 0 =X 1=Y etc and each Channel has dedicated Pins on the Terminal strip.
    So the Ports n Pins settings Don't matter because Mach3 has nothing to do with this anymore. Just set all to (0)

    Now Input's and Outputs are jointly handled between Controller and Mach3 so mach does need to know the port# and Pin#'s so it knows where to look or respond too.

    So to get you moving just remove the Enable wires from drives. Provided you haven't change the default drive setting this will enable the drives.
    Also remove the Fault Signals. These won't be the problem unless the drives are flashing a fault but lets just with start basic setup to get movement.

    So now if you have the Axis Enabled in Motor outputs and the Motor Signal wires going to correct Pins you will have movement.

    Try this and let me know.
    Last edited by JAZZCNC; 04-01-2016 at 11:58 PM.

  7. #7
    Not a wait in the homing sequence but a wait during program if the a is programmed to move 180 degs and takes 6 seconds to move and clamp how will the z know when the move is complete?
    Sorry for not being clear,

  8. #8
    Ok well in that case then you'll need to create a custom Macro with the commands to wait for the A axis to signal it's finished then turn on any outputs to clamp before passing control back to the main program. You insert the Macro code into your G-code at the point needed.

    Works Exactly like tool change does.
    Last edited by JAZZCNC; 11-01-2016 at 05:54 PM.

  9. #9
    I have a problem with motor direction. All motors turns forward/backwards but not responding for Dir LowActive.
    I use keyboard, my machine layout is:
    X (left-,right+)
    Y (back+, forward-)
    Z (up+, down-)
    Orgin in bottom left corner - how I see it

    Only Z works like I wanted
    YX moved opposite and DRO reads negative value.
    I checked all cables all connected like in manual and this thread.
    For X:
    pin1: DIR+
    pin14: DIR-
    pin2: STEP+
    pin15: STEP-

    Step Port: 0
    Dir Port: 0

    Have tried different output pins in Mach 'Motor Outputs'
    I do not want swap the cables over, can't find proper guide how to set the pins either.
    Any help appreciated.
    Thanks

  10. #10
    Tom Cslabs doesn't recongnise Dir Low active for changing motor direction. None of the port/Pin are used either so set to Zero. If want to swap axis the you do it in the Cslabs Plug-in and re-assign channels. By default X = Ch0 Y=ch1 Z=ch2. So if want to swap X & Y then just set X=ch1 Y=ch0. No wire swapping required.
    You would do this if view machine from front so X runs across gantry and Y along the length. This will make it display correctly or make sense inside mach.

    Go to Config/Homes/limits and change the Reversed option. You may have to change Home negative as well so goes right way when homing.

    If keys don't do what you want then go into system hot keys and change the jogging keys.

    Also if setup Softlimts and you change axis channels you'll need to change these as well.
    Last edited by JAZZCNC; 04-04-2017 at 05:50 PM.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Parallel ports problems
    By Cnc many in forum Computer Hardware
    Replies: 28
    Last Post: 16-12-2015, 01:59 AM
  2. circle cutting mach 3 problems help please
    By millmateuk in forum Artsoft Mach (3 & 4)
    Replies: 1
    Last Post: 13-06-2013, 07:04 AM
  3. problems with mach or windows
    By johngoodrich in forum Computer Software
    Replies: 2
    Last Post: 02-03-2012, 07:23 PM
  4. ports and pins for system4
    By Dan Brown in forum Motor Drivers & Controllers
    Replies: 2
    Last Post: 18-01-2010, 06:37 PM
  5. Ports and pins help ? mach 3
    By xchipx in forum Artsoft Mach (3 & 4)
    Replies: 0
    Last Post: 19-04-2009, 12:45 PM

Bookmarks

Posting Permissions

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