586,024 active members*
4,212 visitors online*
Register for free
Login
Page 1 of 2 12
Results 1 to 20 of 34
  1. #1
    Join Date
    Oct 2004
    Posts
    198

    Camsoft Installation help needed...

    Hi guys, I like the forum, good variety.
    I'm attempting to adapt the Camsoft software/controller onto a Walter tool and cutter grinder, I've gotten the axis's to move (6 in total, but we will only use 5) there not moving the correct amount, I tried the gear/ratio but I think I messed it up, anyhoo's I don't really understand what counts to enter first (I put 4000) if I'm understanding this right any counts can be enter and after a bit of calculating you alter these until 1 inch on the display = 1 inch of movement?

    Also with the home/limit switches, am I meant to set the variables (still a bit blurry) in the CBK file?

    Other than these hiccups, which I expect many more, it is very easy to start using, little bit nerve racking when it first moved.

  2. #2
    Join Date
    Mar 2003
    Posts
    4826
    The counts per inch will be related to how many revolutions your encoders make while the screws turn enough times to cause an inch of table travel. If you have 1000 line encoders, the galil interprets those as being 4000 counts per revolution, since it can discern the leading and trailing edge of each positive and negative encoder pulse.

    So if your screws are 5 theads per inch, then the encoder pulses per inch would be 20,000. Any error in the calculation should be very noticable, as it will likely be something like 25% or 33% or 50% off.

    Your cbk file is a backup or storage file of all your settings. It is not actually used while the gui is running, because the cbk is a compilation of many files.

    The settings for your limit switches are in the card.ini file. I forget which directory that file is in, but you can look for it. However, I think before you edit that file directly, that you should be able to make all those settings while in setup mode, not actually running the controller.
    First you get good, then you get fast. Then grouchiness sets in.

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

  3. #3
    Join Date
    Oct 2004
    Posts
    198
    Hi Huflungdung,
    Thanks for the reply, I think one of the main things I'm confused with is that we have a Galil 2162 card and 2 ICM 2900 terminals, I don't understand how for example we tell where parameter #3 (e.g only) is wired to e.g FLSW?
    It's probably a dumb question.
    We understand that on our first ICM 2900 X=X, Y=Y, Z=Z, W=A and on the second X=B, Y=C and Z will be our spindle (I think).

  4. #4
    Join Date
    Mar 2003
    Posts
    4826
    Camsoft should be able to help you out with these details. I believe you can go into the diagnostics screen and get an interactive sort of screen of all the i/o points. If you have the limits wired up, simply actuating them should cause a square to light up or else go "off". The location of the input can then be determined.
    First you get good, then you get fast. Then grouchiness sets in.

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

  5. #5
    Join Date
    Mar 2004
    Posts
    36
    Darc,

    Please don't worry about if its a Dumb question, All question need an answer !

    Looks like you are getting some pretty good help from HuFlung here. I have read HuFlung's comments in the past that have help me as well. I installed a CamSoft system and am very pleased with it. The installation went easy with their new manuals. HuFlung is correct about the Diagnostics screens and CamSoft will be able to help you out further if need be I am sure, their good people. CamSoft also released a new Installation Guide that explains pretty well about the I/O on the ICM's for limits, homes and others, have you read this section in the manaul yet?

    Your description on the axis designation is correct, the spindle will be connected to the last axis in the coordinated system, so if the 6th axis is your last coordinated axis then the 7th axis will be the spindle if it is a +-10V variable drive spindle. However I am a bit confused as I think a Galil 2162 is a 6-axis card and you are descibing a 7-axis system ???. Are X,Y,Z,A,B and C axis all servo controled ??? What type of spindle do you have ???

    Also if as you described parameter #3 is the forward limit switch on the 4th axis then you would connect it to FLSW on the ICM. Again check the Installation Guide for details on the limit switch designations as it describes two ICM's.

    intrusion

  6. #6
    Join Date
    Apr 2003
    Posts
    6
    Thanks Guys,
    I've gotta agree Camsoft seems really good, everytime I email them they email back the same day, I certainly can't complain with there service.
    Also we are running stepper motors, so we've got the the ICM wired to the Amplifiers, there is only a couple of wires each, I just thought it would be harder.
    Also I thought if I press F1 SPINDLE START the motor light comes on and one of the OUT outputs on the ICM would have a +5v signal and obviously when you turn it off the signal would stop.

    I had all axis moving together last night :banana: , oohhhh scary, as I said I've yet to get the counts right, the motors growl when changing direction, I assume that's what's causing it.

  7. #7
    Join Date
    Oct 2004
    Posts
    198
    Thanks guys, I'm slowly getting there.
    I got home and went to reply to the post , I forgot I'd already registered a while ago as Tarak, so I hope I didn't confuse you all.
    We managed to work out the limits, they work in the diagnostic screen but for some reason the limit indicator lights aren't lighting up, I had a look at the formula but I couldn't see what was wrong, it's weird because the limit warning is popping up , but this is obviously a small problem I can sort out anytime.
    Also when an I change one of the stepper motors to suit degrees, it automatically enters 11.111111 into the counts, when I try to run it it won't, is this because I need to figure out the gear ratio and enter it in the ratio?
    Kinda hard to explain what I mean....
    After I thought about it on the weekend, the rotary axis work with it set as mm/Inch even though it needs to be degrees and the counts set to about 5102 work close for the linear slides, so I thought the only difference is the gear boxes, the linear slides don't have any...............I think.

    I hope you guys don't mind me picking your brains.

  8. #8
    Join Date
    Mar 2003
    Posts
    4826
    When I hooked up my limit switches, I had to invert the limit logic in the Galil card. I like to have current flowing through the switches until such time as they become activated by table overrun. The Galil default is just the opposite..I think they call it "active High", but there is a 50% chance that its the other way. Anyways, the command to do this inversion in galil-speak is CN -1. I put this in the Camsoft startup.fil as:
    COMMAND CN -1

    Whether this is what you need, I don't really know. I assume you've got them hooked up correctly. Of course, you must also write logic to turn on the appropiate limit light when the input is triggered.

    What kind of gearing are you running your rotary axis through? How many counts does this stepper require per revolution of its own shaft? Are you saying you cannot alter the number entered, or it does a conversion for you?
    First you get good, then you get fast. Then grouchiness sets in.

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

  9. #9
    Join Date
    Mar 2003
    Posts
    4826
    Here is an example of what I use for logic. I use a couple of camsoft "lights" to show that a limit has been hit. I also have a message written in one of the displays (properly called a label) about what has happened. This message is easier to see (and notice) than the teeny little "led" of the camsoft light.

    ~@~LIMITS.FIL
    IF#6=1THENSTOP :LIGHT 9;ON;12 :LABEL2 Z- LIMIT HIT;12 :SLEEP 1 :LABEL2 Z-LIMIT HIT;14 :SLEEP 1 :LABEL2 Z-LIMIT HIT;12 :ESTOP :EXIT
    IF#7=1THENSTOP :LIGHT 10;ON;12 :LABEL2 X+ LIMIT HIT;12 :SLEEP 1:LABEL2 X+LIMIT HIT;14 :SLEEP 1 :LABEL2 X+LIMIT HIT;12 :ESTOP :EXIT
    IF#11=1THENSTOP :LIGHT 9;ON;12 :LABEL2 Z+ LIMIT HIT;12 :SLEEP 1 :LABEL2 Z+LIMIT HIT;14 :SLEEP 1 :LABEL2 Z+LIMIT HIT;12 :ESTOP :EXIT
    IF#12=1THENSTOP :LIGHT 10;ON;12 :LABEL2 X- LIMIT HIT;12 :SLEEP 1 :LABEL2 X-LIMIT HIT;14 :SLEEP 1 :LABEL2 X-LIMIT HIT;12 :ESTOP :EXIT
    IF#6=0THENIF#11=0THENLIGHT 9;OFF
    IF#7=0THENIF#12=0THENLIGHT 10;OFF
    IF#6=0THENIF#7=0THENIF#11=0THENIF#12=0THEN LABEL2 LIMITS CLEARED :SLEEP 1 :LABEL2 ;11
    First you get good, then you get fast. Then grouchiness sets in.

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

  10. #10
    Join Date
    Oct 2004
    Posts
    198
    Sorry I didn't explain myself very well, the limits are fine, we are/were having trouble with the outputs 1-8 and 8-16 (2 x ICM 2900), I think we have figured it out, we had it all ass about face. :banana:
    I gotta say it's quite satisfying when it's starting to fall into place.
    Also with your limit code I understand most of it, the main part I'm unsure of is the 12.
    I think I'll get there, hopefully with a bit of help from you guys.

    ~@~LIMITS.FIL
    IF#6=1THENSTOP :LIGHT 9;ON;12 :LABEL2 Z- LIMIT HIT;12 :SLEEP 1 :LABEL2 Z-LIMIT HIT;14 :SLEEP 1 :LABEL2 Z-LIMIT HIT;12 :ESTOP :EXIT


    Thanks again......What do you do for a living HuFlungDung?

  11. #11
    Join Date
    Mar 2003
    Posts
    4826
    The 12 is the color parameter for that command.
    First you get good, then you get fast. Then grouchiness sets in.

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

  12. #12
    Join Date
    Oct 2004
    Posts
    198
    So when I set an axis to degrees it automatically puts 11.111111 in the RATIO and sets the TOOL/DEGREE to 2, how can I easily work out the ratio of the gear box without pulling it apart?
    I haven't worked out how to say move A90.00 and it will move 90°, I assume it is the gearbox throwing it out.

  13. #13
    Join Date
    Mar 2004
    Posts
    36
    Darc,

    This seems pretty easy. I did a key word search on DEGREES through CamSofts Search for Solution on the CNC SETUP screen and found the following question that explains how this is set.

    QUESTION:
    If we have a rotary table, how do I convert degrees into encoder counts?

    For example, if one revolution of the table was 2000 encoder counts, then use the following formula to set the RATIO parameter in the CNCSETUP.EXE program for that axis: one degree=encoder counts/360. Be sure to set this axis to degrees under the Motion Settings in the CNCSETUP.EXE program.

    So if you are getting 11.111111 then you must have had the original RATIO setting at 4000 counts, which would have worked out to be your number if you divided it by 360 degrees

    4000/360 = 11.111111

    Basically you need to figure how many counts or steps it takes to move your rotary axis one full revolution. I am sure you can do this without dismatling the gear box. You should use the Diagnostics Screens "Select Axis for Motion for Test" and select your rotary axis to move in the test, make the test move and try to measure how far your axis moved or at least went all the way around then adjust the RATIO until you move the distance you entered or it moved all the way around. This seems to work pretty well and is strait forward. After this I think you can perform the calculation then enter in the new RATIO for 1 degree and then perform angular test moves through the MDI screen

    Hope this helps

    intrusion.

  14. #14
    Join Date
    Oct 2004
    Posts
    198
    Thanks for the example of your limit file HuFlungDung it helped heaps................
    I noticed the lights were not working because of the apostrophe at the start (').
    I got rid of it and voilla.

  15. #15
    Join Date
    Mar 2003
    Posts
    4826
    Quote Originally Posted by Darc
    Thanks again......What do you do for a living HuFlungDung?
    I run a small machine shop. Started very small like most hobbyists do, and liked it so much, I made it my occupation. That's what I had to do if I wanted to keep "just buying one more little tool to do this or that"
    First you get good, then you get fast. Then grouchiness sets in.

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

  16. #16
    Join Date
    Oct 2004
    Posts
    198
    I gotta say it is a bit easier than I thought it would be, mind you I haven't done any of the cool programming yet.
    Just want to make sure I understand this correct.
    If I have a spindle that is not variable, it only needsto be connected to one of the outputs doesn't it, I think I confused myself with the part where you need to make the spindle the last axis e.g 5 axis machine, Spindle No.6.
    Why do you need to tell the software this, I'm sure there is a logical reason.
    Also I've noticed when my outputs are green the devices turn off, but when the are blank the devices turn on, what is the easiest way to change this?
    And lastly, have I annoyed you guys enough yet????

  17. #17
    Join Date
    Sep 2003
    Posts
    17
    I even know this.

    To reverse the I/O polarity enter a negative I/O card number type in CNCSETUP. If the spindle is only on/off and not variable theres no need to tell it there is a spindle, just use an I/O to turn it on or off.

    Jim

  18. #18
    Join Date
    Mar 2003
    Posts
    4826
    If you need to monitor spindle rpm, you'll need an encoder connected to the axis number your Camsoft is using. Then you can get rpm out of it, and into your GUI.
    First you get good, then you get fast. Then grouchiness sets in.

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

  19. #19
    Join Date
    Apr 2003
    Posts
    6
    Thanks guys, for confirming my thoughts.
    I'm really starting to enjoy playing around with it.
    Next I've got to work out how to set up the home position for all axis, any suggestions for an easy way to do this?

  20. #20
    Join Date
    Sep 2003
    Posts
    17
    Tarak,

    Copy one of the home routine macros provided in the Macro.Fil or Macro.Mac files. There are several pre-written different types there for 2 axes through 8 including homing for gantry style routers and plasmas. Some find the index marker and others hit, back off and reverse to hit again slower. You'll find notes in each if the macros that will show how to fine tune the distances, directions and speeds of homing each axis.

    Jim C.

Page 1 of 2 12

Similar Threads

  1. Camsoft and Galil WSDK/Terminal
    By squarewave in forum CamSoft Products
    Replies: 7
    Last Post: 03-29-2012, 01:25 AM
  2. Using Camsoft on a Pratt & Whitney Tapemate C
    By jevs in forum CamSoft Products
    Replies: 22
    Last Post: 03-19-2007, 12:11 PM
  3. Camsoft and OneCNC
    By CRAZYRICH in forum CamSoft Products
    Replies: 1
    Last Post: 01-25-2005, 04:25 PM
  4. Using Gauges in CamSoft
    By Steve Etter in forum CamSoft Products
    Replies: 6
    Last Post: 11-12-2003, 08:58 PM

Posting Permissions

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