Churchill Computurn 290 retrofit (again)

  1. Hood

    Hood If it walks like a duck....

    Messages:
    11,396
    Location:
    Carnoustie, Scotland
    This control has M41-M44 to choose the gear and you also have to call the M3.
    Not tested to see what will happen if I call a speed higher than the allowable speed in the gear range. Whether the control will throw a warning then stop or just limit the speed I don't know. I will have a go when I get home and see.
     
  2. Hood

    Hood If it walks like a duck....

    Messages:
    11,396
    Location:
    Carnoustie, Scotland
    Got the ladder done the right way round and added more I/O. Most of this is just straight through as basically it is just a means of converting the I/O to suit the sourcing or sinking nature of the respective inputs or outputs of the controller and the drives.
    I have a spare PLC here so I will, at some point soon, load it into the PLC and hook it up and see if things look ok.

    ScreenHunter_2430 Feb. 13 19.49.jpg


    I also tested out the spindle outputs by commanding a speed greater than the gear and there are no warnings or faults, it just puts out the 10v and as I change up the gears without changing the called speed it starts to drop the voltage when it is in a gear that suits the called rpm. So it looks like it should be fine, especially as lathe programming is done in feed per rev and the control does seem to be constantly checking the spindle encoder and thus even if I call 1000rpm but I am only in a gear that max's out at 500 then it should still feed at the correct rate.
     
  3. Hood

    Hood If it walks like a duck....

    Messages:
    11,396
    Location:
    Carnoustie, Scotland
    It has been over 5 years since I did any real ladder logic on the PLC so it has taken me a while to get back into the swing of it even for something simple like this.
    I have now loaded the ladder to the PLC, connected the M5 and S01-S04 outputs from the control to the PLC's inputs and ran some MDI code with the 4 gear changes and then the M5 (spindle stop) at the end and it is working just as it should.

     
  4. awemawson Forum Supporter

    The ladder monitoring facility is very handy isn't it !

    Having unravelled the Siemens PLC built into the Siemens 820T control in my Beaver using an ancient copy of 'STEP5' (*) I can now monitor things in real time, and it is a huge help in fault finding.


    (* STEP5 only runs under Win XP and earlier !!)

    :sheep::sheep::sheep:
     
  5. HughF

    HughF Member

    Messages:
    5,698
    Location:
    Work: Dorchester, Workshop: Corfe Castle, Wife's place: Frome
    I really should start playing with PLCs, not sure why, but I'm sure I could find a use for them. I'd normally just do-it at the MCU level with an arduino or similar, but the £20 fake mitsubishi PLCs from AliExpress look tempting.
     
    indy4x and WorkshopChris like this.
  6. Hood

    Hood If it walks like a duck....

    Messages:
    11,396
    Location:
    Carnoustie, Scotland
    Yes, very handy, just a shame you can't get a monitor that is the normal width but 10 monitors deep :D I kind of did that when I was doing the ladder for the Chirons Toolchange as I was working half blind and trying to work out how all the valves worked, I used two flat screens one above the other so I could see the full section of each toolchange in the ladder, helped quite a bit, it helped me find out why some of the tools weren't working correctly, someone previously had linked together tool arm wiring, not sure why.

    I remember Mark McGrath always on about the Step software but don't think he could ever get it working for some reason.
     
  7. Hood

    Hood If it walks like a duck....

    Messages:
    11,396
    Location:
    Carnoustie, Scotland
    I know nothing about Arduino and just slightly more about PLCs but from the little I know it is amazing what you can do, timers, latching etc etc and I have only scraped the very surface as I only learn what I need to get it doing what I want.
     
  8. awemawson Forum Supporter

    Mark had loads of Siemens stuff as I recall including the Beaver lathe that your friend had. STEP5 is very arcane, but once you get your head round it it's not too bad. Amazingly Siemens couldn't source a copy for me, but gave me a copy of the later STEP7 which turned out not to be backwards compatible. I ended up sourcing it from a dodgy Russian site wearing thick rubber gloves and boiling it thoroughly before loading :clapping:

    :sheep::sheep::sheep:
     
  9. Hood

    Hood If it walks like a duck....

    Messages:
    11,396
    Location:
    Carnoustie, Scotland
    Ah, maybe that was the problem, he never wore gloves :D
     
  10. HughF

    HughF Member

    Messages:
    5,698
    Location:
    Work: Dorchester, Workshop: Corfe Castle, Wife's place: Frome
  11. Hood

    Hood If it walks like a duck....

    Messages:
    11,396
    Location:
    Carnoustie, Scotland
  12. MattH

    MattH Member

    Messages:
    3,836
    Location:
    Bristol
    I’ve got a small Mitsubishi PLC I had off Delayd (I think). Going to use it to control the ATC on my next router build. You’ll have to come and help me with the toolchange Marco and ladder logic. FYI I have the Mitsubishi software.
     
    daleyd likes this.
  13. Hood

    Hood If it walks like a duck....

    Messages:
    11,396
    Location:
    Carnoustie, Scotland
    Now that I am using the PLC I can do the External/Internal chucking switching without having to use stand alone double pole relay.
    Here is all I need in the ladder.
    ScreenHunter_2431 Feb. 14 21.36.jpg
    Because the control will only allow the spindle to start if the chuck has clamped inwards (M10) then I had planned on using relays to invert the signals if I pressed a button on the panel and that way the chuck would move outwards to grip but the control would think it was gripping internally. My chuck only needs a momentary signal in either direction for chucking but I have extended the time in the parameters so that it is easier picked up in the video.

     
    HughF likes this.
  14. HughF

    HughF Member

    Messages:
    5,698
    Location:
    Work: Dorchester, Workshop: Corfe Castle, Wife's place: Frome
    Yep, it's a complete fake Mitsubishi...
     
  15. Hood

    Hood If it walks like a duck....

    Messages:
    11,396
    Location:
    Carnoustie, Scotland
    Could be quite good for a retrofit such as the one I am doing as they are cheaper than a single finder style relay and can be configured to do much more. I have never looked at how to programme them but if the software is available it might be worth getting one to try out,
     
  16. daleyd

    daleyd Member

    Messages:
    6,654
    Location:
    Wrexham, North Wales
    Yeah that was me :waving: I can help out with Mitsubishi software (an older version so no good for their later models) if anyone needs it.
     
    galooph and MattH like this.
  17. Hood

    Hood If it walks like a duck....

    Messages:
    11,396
    Location:
    Carnoustie, Scotland
    I seemed to have an issue with the spindle signal (M3) being switched off momentarily whilst changing gears. There is a setting in the controls parameters to keep the spindle switched on but it doesn't seem to be working correctly.
    The solution was fairly simple now that I am using the PLC for some of the I/O, I just set a 1/2 second delay off timer into the PLC for the M3 output and the spindle seems to be doing as I want.
    In the video you can see the M3 Input (X16) switch off when the gears change but the M3 Output (Y16) stays on until the end when it should switch off.

     
    daleyd likes this.
  18. Hood

    Hood If it walks like a duck....

    Messages:
    11,396
    Location:
    Carnoustie, Scotland
    Would it work for the ones that @HughF linked to ?
     
  19. daleyd

    daleyd Member

    Messages:
    6,654
    Location:
    Wrexham, North Wales
    Not sure, I’ll have a look over the weekend and let you know :thumbup:
     
  20. Hood

    Hood If it walks like a duck....

    Messages:
    11,396
    Location:
    Carnoustie, Scotland
    Thanks.
     
Advertisements