. .
Page 5 of 9 FirstFirst ... 34567 ... LastLast
  1. #41
    Quote Originally Posted by cropwell View Post
    Does Mach3 disable limits when homing, or is this an option? (post #25)
    It's an option. If you go into General config there's a setting called Home SW safety. Tick this and it will enable limits while homing. Obviously if sharing the same switch as limits this needs to be off.

  2. #42
    Quote Originally Posted by dazp1976 View Post
    Thanks. There's eperate connections for estop and each axis limits. 2 switches will be wired in series per axis.

    In regard to the controller in the u.k. I can easily get an ESS or a UC400eth but the 400 has limited ports.
    I've found a UC300eth-5lpt in Ireland and that's about it.

    I'll still end up using the cheap boards on them though but that shouldn't matter too much, should it.
    And do you think you'll need more than 10 inputs and 24 outputs.? I'm also not sure if some of those Outputs on the second port can be configured as inputs in software.? Only if you plan on having an ATC will you probably need more than 10 inputs.

    Regards the Cheap BOB then yes, of course, it will make a difference. It's like having 500HP engine and fitting bald tyres.? Pointless.!

    Any machines only as good as the weakest link so fitting a good card with a cheap BOB that probably can't keep up doesn't make sense to me. This whole thread proves this.
    I fit good electronics, which yes cost more, but I never have any of this shit to deal with and the extra cost is made back by the fact I'm not running around fixing machines or put another way the owner doesn't have any downtime which costs money.!! . . . . You get what you pay for.!

    If your going to use a cheap BOB then save your money don't buy ESS or ETH400 and use Linux CNC. You have half a chance of good machine and won't cost anything other than it's a steep learning curve.

  3. #43
    Quote Originally Posted by Doddy View Post
    The first time I attached a scope to my spindle encoder on the lathe my jaw hit the floor with the noise from the 3-phase motor, so I appreciate where you're coming from. I'm surprised you're seeing that behaviour on short cables though comms theory was never my strong point - I'll believe your experience over my memory any day. I still think using cheap (or expensive!) BoBs with opto-isolated inputs offers a lot of advantages, if only for the pathetic frequency response that will filter any amount of HF noise as well as providing much better noise immunity level than HC-series logic.
    What gobsmacked me the most was the amount of noise before I ever put mains on to the VFD. It's enabling the motors that introduces all the trouble. And the fact that the same noise is on the ground of the BOB. I thought the screening and earthing was quite reasonable but noooooo!

    One thing that all this does point out is how noise-resistant it is to use NC microswitches on the limits. Under normal operation all the limit inputs have a hard-wired, all metal connection short circuit on them. This is why I've never had any of this trouble before. Ironically I did briefly consider using miniature relays to act as the 12 or 24V to 5V interface but considered it unprofessional and was in fear of being laughed at by my forum fellows. Actually it would work a treat! I doubt if the variation in triggering delay would noticeably affect the accuracy of the homing and the low-pass filtering effect would be even better than your suggested opto-couplers!

    Re the 'experience', which isn't really as great as you so kindly implied: When I was a trainee at the BBC, back when Boris Johnson had a poster of Prime Minister Thatcher on his school dormitory wall, one of the trainers gave a demonstration of how there's no such thing as an earth connection at radio frequencies. This was at the Daventry short wave station which is now long gone. We went out into the antenna field and he took a coin out of his pocket and dragged it at head height down the side of a steel support post which carried one of the feeders to an antenna. This post was about 20cm or so in diameter and solidly concreted into the ground. There were distinct, bright sparks between the coin and the post!
    An optimist says the glass is half full, a pessimist says the glass is half empty, an engineer says you're using the wrong sized glass.

  4. #44
    Dean,
    For a commercial machine that has to earn it's keep I'm in complete agreement with you. I'd have gone bankrupt a long time ago if I were mad enough to try and use the machine I've built as part of a business. But for me it's just a toy I have in my shed and I can't justify spending large amounts of money on it for new parts I can probably do without if I apply some time and ingenuity to the problems that arise. With the $AUD currently worth no more than about 60 US cents, prices of most other board options are way too high.

    In practice this $20 BOB has done everything I need from it for several years now and the current noise problem is nothing to do with the board itself. I'm actually quite impressed that it worked so reliably before, with NC microswitches to hide the problem, and has proved quite robust as well, not complaining at all when I accidentally put 12V on one of the 5V limit inputs.

    Building and modifying the machine and learning from the problems that occur is part of the fun of making it for me, it's hobby in itself, though there is an ever-increasing list of other projects on hold that are waiting for it to be working properly again.
    An optimist says the glass is half full, a pessimist says the glass is half empty, an engineer says you're using the wrong sized glass.

  5. #45
    Quote Originally Posted by Kitwn View Post
    What gobsmacked me the most was the amount of noise before I ever put mains on to the VFD. It's enabling the motors that introduces all the trouble. And the fact that the same noise is on the ground of the BOB. I thought the screening and earthing was quite reasonable but noooooo!
    That doesn't really suprise me - I remember when I powered up my first PWM audio amplifier - which was switching roughly the same voltage and frequency as a decent microstepping drive - and the radio in the workshop promptly went off. Holding a 'scope probe 6" above the speaker leads gave a few volts of noise in thin air, I ended up using screened speaker cable :. Are the cables to your motors screened I wonder? As with the sensors when I extended my cables I cut them very short then extended with screened (2 pair) which might explain why I've not had any problems in a setup which seems somewhat similar to yours - I'm using basically the same type of sensor albeit in the M8 size. The motor cable screens I returned to the HT- pins on the drivers (always return your shit to where it's generated!) which then has a VERY SHORT ground lead down to the aluminium back plate of the enclosure which acts as a ground plane - being an RF man you'll appreciate the benefits of those.

  6. #46
    Voicecoil,
    I thought I'd been quite careful with the wiring: the BOB is in it's own aluminium box, the outputs to the drivers are 4 core screened, the cables from the drivers to the motors are screened, the PSU for the BOB (it's the original ATX supply in the PC case that is my control box) is a separate unit from the motor PSUs, the VFD is separately mounted on the wall, the spindle power cable is proper screened cable designed for the job.

    The weak point is the sensor wiring which was not all screened cable for the old microswitches and has not been totally replaced yet, but will be soon. All the grounding of every component in the control box will need to be looked at again as well. No going down to the pub this evening for me!
    An optimist says the glass is half full, a pessimist says the glass is half empty, an engineer says you're using the wrong sized glass.

  7. #47
    Quote Originally Posted by Cube3 View Post
    I had very similar problems until I did this.

    https://www.youtube.com/watch?v=DJfiOqaeFDg

    Simon
    Simon,
    Apologies for not getting back to you earlier, I got somewhat sidetracked away from the original reason for this thread.
    That's a very interesting video and I especially like the improvised current transformer for investigating noise, I hadn't seen that trick before but it will be useful in future. As I've discovered the VFD is not to blame (yet!), it's enabling the motors that generates the noise I'm investigating at the moment. Once that's been quietened down I can then see if the VFD adds any problems. It wasn't an issue when I had NC microswitches for limit sensors so my fingers are crossed on that one.
    An optimist says the glass is half full, a pessimist says the glass is half empty, an engineer says you're using the wrong sized glass.

  8. #48
    Quote Originally Posted by Kitwn View Post
    Voicecoil,
    I thought I'd been quite careful with the wiring: the BOB is in it's own aluminium box, the outputs to the drivers are 4 core screened, the cables from the drivers to the motors are screened, the PSU for the BOB (it's the original ATX supply in the PC case that is my control box) is a separate unit from the motor PSUs, the VFD is separately mounted on the wall, the spindle power cable is proper screened cable designed for the job.

    The weak point is the sensor wiring which was not all screened cable for the old microswitches and has not been totally replaced yet, but will be soon. All the grounding of every component in the control box will need to be looked at again as well. No going down to the pub this evening for me!
    Well, you've done a thorough job then, strange that you're seeing so much induced noise - unless it's induced pickup of magnetic field radiation?. It will be interesting to see what you come up with as a fix.

  9. #49
    Quote Originally Posted by Voicecoil View Post
    Well, you've done a thorough job then, strange that you're seeing so much induced noise - unless it's induced pickup of magnetic field radiation?. It will be interesting to see what you come up with as a fix.
    Hadn't considered magnetic induction, probably not the cause at such a high frequency, but I'm willing to be proved wrong. It wouldn't be the first time!

    I've still got some investigation I want to do. The controller is connected to the machine by screened multicore cables which have plugs on the end which fit into sockets on the machine itself. The two X axis sensors and the Z&Y sensors have one 8-way for each pair. I want to disconnect the cables and see if that makes a difference. This will help to decide if the noise is being picked up in the wiring within the machine itself where the Z and Y sensor cables run through the same drag chain as the motor wiring or whether the problem is within the controller itself. Both will be dealt with anyway but knowledge is never wasted. I'm also tempted to use the technique I learned from the video that Cube3 linked to to look at the noise on the motor cables with my laptop oscilloscope. But 6MHz???
    While I wait for RS to deliver the bits required I'm doing some necessary tidying up. There isn't much room in my workshop with the machine itself pulled off the wall to get at all the wiring (note for new builders: If you have to put your machine up against a wall, do NOT put the drag chains and all the gantry wiring on the 'wall' side of the machine in order to keep it conveniently out of the way). The only place to put the trolley with the PC on is in the doorway to the rest of the shed (sorry, that should be 'studio' if my wife is listening) if I want to leave it all connected so the picture below had to be taken through the window!

    Click image for larger version. 

Name:	Edited-1-2.jpg 
Views:	79 
Size:	301.5 KB 
ID:	27733
    Last edited by Kitwn; 05-04-2020 at 12:08 PM.
    An optimist says the glass is half full, a pessimist says the glass is half empty, an engineer says you're using the wrong sized glass.

  10. #50
    Quote Originally Posted by Kitwn View Post
    Hadn't considered magnetic induction, probably not the cause at such a high frequency, but I'm willing to be proved wrong. It wouldn't be the first time!
    The weirdest things can happen with EMC issues, at 6Mz a couple of bits of wire running parallel for a few m probably makes a half decent transformer

    Quote Originally Posted by Kitwn View Post
    Voicecoil,
    No going down to the pub this evening for me!
    No chance of that for me either - 'coz of the virus they've been shut here for over 2 weeks

Page 5 of 9 FirstFirst ... 34567 ... LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Limit switch problem
    By ECCO in forum General Electronics
    Replies: 7
    Last Post: 25-12-2015, 11:28 AM
  2. Which Type of Limit Switch
    By manofgresley in forum General Electronics
    Replies: 52
    Last Post: 29-07-2014, 03:43 PM
  3. Limit switch issues?!?
    By jonbabbz in forum General Electronics
    Replies: 10
    Last Post: 06-02-2014, 07:37 PM
  4. One limit switch per axis
    By EddyCurrent in forum General Electronics
    Replies: 17
    Last Post: 30-09-2013, 11:38 AM
  5. Limit switch Cable ...
    By Wobblybootie in forum General Electronics
    Replies: 3
    Last Post: 17-01-2011, 04:37 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
  •