Need Help! UC100 and C10 Bob

Results 1 to 6 of 6

Thread: UC100 and C10 Bob

  1. #1
    Member
    Join Date
    Nov 2008
    Location
    US
    Posts
    13
    Downloads
    2
    Uploads
    0

    Default UC100 and C10 Bob

    Hello all,

    I'm putting together a CNC Mill using the CNCDrive, UC100 and CNC4PC C10 Bob. The firmwware on the UC100 is for UCCNC and it's the latest version.

    The issue I'm having is when the UC100 is unplugged or the PC is sleeping the outputs on the c10 are floating at around 2.7 volts. This is bad as it causes my stepper drivers to step at about 0.5ipm, and it's just not a single axis doing this it all three at the same time. I can't think of a way around the problem, I can't use the enable pin on the C10 because the outputs are disabled. I also can't pul anything up or down because the buffers seem to be in this tri-state of 2.7v.

    The machine performs perfectly when the PC is awake.

    Any ideas would be great.


    Edit: I just noticed that if I set pins 5 or 7 high on the UC100 the bob powers up if the machine isn't providing the C10 5v..

    Similar Threads:
    Last edited by kingofl337; 06-19-2019 at 09:18 PM.


  2. #2
    Member
    Join Date
    Oct 2004
    Location
    United States
    Posts
    244
    Downloads
    0
    Uploads
    0

    Default Re: UC100 and C10 Bob

    How are you powering the C10? From the USB port?

    I would say that if you are running a machine, you should disable the power saving features for the USB port and probably the rest of the system.

    Arturo Duncan
    https://cnc4pc.com



  3. #3
    Member
    Join Date
    Nov 2008
    Location
    US
    Posts
    13
    Downloads
    2
    Uploads
    0

    Default Re: UC100 and C10 Bob

    No,

    I'm powering the C10 with a dedicated 5V supply. I would encourage you take a set of devices from stock and see if the issue is repeatable.

    1. Provide 5V to the C10 and jumper the enable.
    2. Connect a UC100 to a pc running the latest version of UCCNC, update the firmware.
    3. Connect the UC100 to the C10.
    4. Then unplug the UC100 from the computer (edit: or shutdown the pc) , leaving the 5v supply connected.
    5. Measure the Ports 2-9 configured as outputs, in reference to ground.

    Last edited by kingofl337; 06-20-2019 at 10:15 AM.


  4. #4
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    34533
    Downloads
    0
    Uploads
    0

    Default Re: UC100 and C10 Bob

    The machine should not have power applied unless the PC is in control of it.

    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

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


  5. #5
    Member
    Join Date
    Nov 2008
    Location
    US
    Posts
    13
    Downloads
    2
    Uploads
    0

    Default Re: UC100 and C10 Bob

    Quote Originally Posted by ger21 View Post
    The machine should not have power applied unless the PC is in control of it.
    That should not be a requirement, the machine should be disabled if the computer is powered off or the USB cable is unplugged.

    The BOB should not have the outputs floating, they should be at ground or at 5v. There is some kind of interaction with the C10 and UC100.that is causing this issue on my C10.

    The issue goes away if the UC100 is not connected to the DB25.



  6. #6
    Member
    Join Date
    Oct 2004
    Location
    United States
    Posts
    244
    Downloads
    0
    Uploads
    0

    Default Re: UC100 and C10 Bob

    Yesterday I took some boards on the bench and tried to replicate what you are seeing and was not able to. In all cases the outputs of the C10 gave a solid high or low, never an “in the middle voltage”.

    My thoughts with regards to what you are seeing:

    - Please keep in mind we have been making breakout boards for over 15 years and have been dealing with all kind signals from parallel ports and motion controllers. Long time ago we decided to aby by IEEE1284. Now days most motion controllers out there do not really comply with this standard, including the UC100. The problem in cases like this, is that IEEE1284 calls for pull-ups on the signals, that can cause a problem with pins going high when in the air.

    - My initial thinking in your case, is that your PC is sending residual voltage to the UC100, which may be sending frequency or making the output signals of the UC100 oscillate. It would be great if you could scope those signals.

    - While I agree with Gerry’s comment about the machine not having power while the PC is not in control, I would like to clarify or expand his comment to not just the PC, but all other control hardware/software. The power side is what should be off until the user/software/hardware are OK. This principle really applies to all systems, but it is implemented in different ways on each system. It is not the same to deal with a desktop machine than to deal with a system with dangerous DC servos (remember the old DC servos that could run away if they lost feedback form the resolver). What we recommend and implement in our breakout boards is:
    o All our breakout boards have an EN or External Enable input. The idea is that e-stop or other enable line of the system to be tied to this input. In simpler system like yours, you could just tie e-stop in parallel to this terminal on the C10 to hardware disable the outputs while e-stop is open.
    o Use a Safety Charge Pump, so it is not just the user (or other devices) allowing the system to activate, but the SCHP can make sure the software controlling the machine is indeed alive and well.
    o Use the output of the SCHP on the breakout board (which is already dependent on the enable line of the system) to drive power to the machine, or control to the main contactor, or power to the main power supply, etc…

    - Some additional Safety Features our boards have are:
    o Cable Disconnect Detection: The boards will disable the outputs if the breakout board loses connection to the ground on the DB25. This will disable the outputs if the cable is disconnected from the PC.
    o They have a green LED that will light when the when the outputs are enabled.

    In your case, I suggest you consider implementing this wiring for e-stop: http://cnc4pc.com/Tech_Docs/4_C10R10.pdf

    Let me know if you have any questions.

    Arturo Duncan
    https://cnc4pc.com



Tags for this Thread

Posting Permissions

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


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

UC100 and C10 Bob

UC100 and C10 Bob

UC100 and C10 Bob