584,830 active members*
5,686 visitors online*
Register for free
Login
IndustryArena Forum > WoodWorking Machines > Commercial CNC Wood Routers > Chinese Machines > 3040-T ROUTER MAKING SPINDLE TURN ON /OFF WITH PROGRAM
Page 4 of 7 23456
Results 61 to 80 of 128
  1. #61
    Join Date
    Nov 2007
    Posts
    361

    Re: 3040-T ROUTER MAKING SPINDLE TURN ON /OFF WITH PROGRAM

    Quote Originally Posted by john-100 View Post
    I've had odd results with windows either not seeing new hardware or loading drivers correctly first time the PC boots



    Do you have a multimeter to check the 5V supply to the rotory encoder ?

    once you confirm the 5V supply is correct


    measure the voltage between the common 0V and A output

    depending on its position when stopped you will either have 0V or +5V


    while your rotating the knob the output will switch between 0 & 5V (50% of the time at 0V and 50% at 5V)


    ( see the Quadrature outputs here :-

    https://en.wikipedia.org/wiki/Incremental_encoder )



    your meter will read the average 2.5V

    you should see the same measuring between 0V and the B output

    John
    Hey john do you by chance know what the bios settings should be for the 2nd printer port pci card ? there are choices ecp/epp and another one I dont know off hand? what should the 2nd priner port card be set to in this setting? I ask because I think there is a problem with either windows and the drivers or the card it self and the reason is I set all my settings and the selector switch works but when I turn off the computer and turn it back on it does not work I have to go back and forth resetting the settings and I think it is the computer resetting itself do you have nay ideas?

  2. #62
    Join Date
    Mar 2007
    Posts
    2083

    Re: 3040-T ROUTER MAKING SPINDLE TURN ON /OFF WITH PROGRAM

    set to EPP

    what do you see in device manager ?

    any thing like this windows 10 PC I use to connect to the internet


    Click image for larger version. 

Name:	printerport device manager.jpg 
Views:	1 
Size:	59.4 KB 
ID:	433106


    John

  3. #63
    Join Date
    Nov 2007
    Posts
    361
    Quote Originally Posted by john-100 View Post
    set to EPP

    what do you see in device manager ?

    any thing like this windows 10 PC I use to connect to the internet


    Click image for larger version. 

Name:	printerport device manager.jpg 
Views:	1 
Size:	59.4 KB 
ID:	433106


    John
    John I checked with a multimeter on the inside of the mpg on the red and black wire 5v and 0v I only have 3 on my meter??

  4. #64
    Join Date
    Mar 2007
    Posts
    2083

    Re: 3040-T ROUTER MAKING SPINDLE TURN ON /OFF WITH PROGRAM

    where did you take the 5V supply from ?

  5. #65
    Join Date
    Nov 2007
    Posts
    361
    Quote Originally Posted by john-100 View Post
    where did you take the 5V supply from ?
    The usb from the back of the pc

  6. #66
    Join Date
    Mar 2007
    Posts
    2083

    Re: 3040-T ROUTER MAKING SPINDLE TURN ON /OFF WITH PROGRAM

    One possibility is they have used the wires in an unusual way and not made
    the black wire 0V and red wire +5V

    In a ready made cable all that matters is the wires connect the correct terminals at each end and not the colour of the wires

    Attachment 433144
    the red & black wire should go to the outer two terminals

    Another possibility is the USB port is limiting the available current wit no connection to the data terminals - if I remember correctly phone charger cables have a 100 ohm resistor connecting the data terminals

    I would expect the encoder to take enough current to be a problem
    but I'll have a look for some data sheets to see what the typical current they take

    john

  7. #67
    Join Date
    Nov 2007
    Posts
    361
    Quote Originally Posted by john-100 View Post
    One possibility is they have used the wires in an unusual way and not made
    the black wire 0V and red wire +5V

    In a ready made cable all that matters is the wires connect the correct terminals at each end and not the colour of the wires

    Attachment 433144
    the red & black wire should go to the outer two terminals

    Another possibility is the USB port is limiting the available current wit no connection to the data terminals - if I remember correctly phone charger cables have a 100 ohm resistor connecting the data terminals

    I would expect the encoder to take enough current to be a problem
    but I'll have a look for some data sheets to see what the typical current they take

    john
    I have tried 2 different usb cables 1 was from a usb plug that went from the usb plug to a phone usb plug ,I cut the phone end off and spliced into that ...plugging the other end into the back of the pc...the 2nd cable was a wall phone charger that plugs into a typical wall plug ,I cut the phone charging port off the end and spliced into that and plugged the other end into the wall (120 plug) . Both ways in the end only have me 3 volts . I battled with the printer port card parameters last night and I'm not having much luck there either , I set mach3 to the right settings and no response from the mpg then I change the hex address to the printer port 2 ( because it has 3 different addresses) to a different address until 1 of the 3 listed works . I got to that point last night before I gave up for the night , so i think I'm gonna buy a different pci card other than star tech it is a standard pci parallel port card but maybe a different brand ...do you think changing the slot the card is plugged into would change anything for the better

  8. #68
    Join Date
    Mar 2007
    Posts
    2083

    Re: 3040-T ROUTER MAKING SPINDLE TURN ON /OFF WITH PROGRAM

    After reading various posts about problems with printer port cards
    from what I can tell the results depend on the chip set used


    a few chipsets referred to in adverts

    MCS9901CV Chipset
    MCS9865 Moschip Chipset
    Netmos 9865 Chipset
    WCH382

    unfortunately I don't have a definitive answer as to which adaptor works


    I have just plugged a USB cable into the PC I'm using and measure 5.1V with no load

    as its 1:23 AM I'll log off and try in the morning with a 1/2A and 1 amp load

    John

  9. #69
    Join Date
    Nov 2007
    Posts
    361
    Quote Originally Posted by john-100 View Post
    After reading various posts about problems with printer port cards
    from what I can tell the results depend on the chip set used


    a few chipsets referred to in adverts

    MCS9901CV Chipset
    MCS9865 Moschip Chipset
    Netmos 9865 Chipset
    WCH382

    unfortunately I don't have a definitive answer as to which adaptor works


    I have just plugged a USB cable into the PC I'm using and measure 5.1V with no load

    as its 1:23 AM I'll log off and try in the morning with a 1/2A and 1 amp load

    John
    Thanks john do u think my meter might not be able to read that

  10. #70
    Join Date
    Mar 2007
    Posts
    2083

    Re: 3040-T ROUTER MAKING SPINDLE TURN ON /OFF WITH PROGRAM

    At best on the the 300DC range the reading will be plus or minus 1V , possibly plus or minus 2V

    so its not going to be easy to read the 5V supply with any certainty

    On the other hand your meter is ideal for working on the mains electrical supply

    no current range you can short circuit the mains supply with the test probes

    you just need to remember not to have it on a resistance range on a live circuit


    For your low voltage test like the USB supply a multimeter like this would be better

    Attachment 433226

    on the 20V range you measure to 2 decimal places

    off load I would expect you to measure 5.1V

    and a minimum of 4.75 V with a half amp load on a USB port

    John

  11. #71
    Join Date
    Nov 2007
    Posts
    361
    Quote Originally Posted by john-100 View Post
    At best on the the 300DC range the reading will be plus or minus 1V , possibly plus or minus 2V

    so its not going to be easy to read the 5V supply with any certainty

    On the other hand your meter is ideal for working on the mains electrical supply

    no current range you can short circuit the mains supply with the test probes

    you just need to remember not to have it on a resistance range on a live circuit


    For your low voltage test like the USB supply a multimeter like this would be better

    Attachment 433226

    on the 20V range you measure to 2 decimal places

    off load I would expect you to measure 5.1V

    and a minimum of 4.75 V with a half amp load on a USB port

    John
    I see ok so I will get a meter like that one in the picture ...so could this be the reason y I dont see 5 volts and only see 3 ??

  12. #72
    Join Date
    Mar 2007
    Posts
    2083

    Re: 3040-T ROUTER MAKING SPINDLE TURN ON /OFF WITH PROGRAM

    A meter with only a 300V DC range can certainly explain reading 4V
    as 4.99V will read 4V on the 300V range

    add a plus or minus one digit tolerance and the 5V can easily be displayed as 3V on the 300V range

    on a meter with a 20.0 or 30.0V range you will see the 4.99V as 4.9V
    probably alternating between 5.0 and 4.9 as its so close to 5V

    John

  13. #73
    Join Date
    Nov 2007
    Posts
    361
    Quote Originally Posted by john-100 View Post
    A meter with only a 300V DC range can certainly explain reading 4V
    as 4.99V will read 4V on the 300V range

    add a plus or minus one digit tolerance and the 5V can easily be displayed as 3V on the 300V range

    on a meter with a 20.0 or 30.0V range you will see the 4.99V as 4.9V
    probably alternating between 5.0 and 4.9 as its so close to 5V

    John
    Hey john I just got the volt meter in and I do have 5.01 volts on the red and black wire , so I checked the 0v and A signal and got the same reading and as I turned the rotary dial on the encoder the volts stay the same . see photos

  14. #74
    Join Date
    Mar 2007
    Posts
    2083

    Re: 3040-T ROUTER MAKING SPINDLE TURN ON /OFF WITH PROGRAM

    OK
    powering a new rotary encoder from 4.94V

    when the outputs are not connected to any load


    stationary I have

    0.11V between 0V and A
    0.12V between 0V and B

    3.7V between 0V and A-
    3.7V between 0V and B-

    while rotating

    approx 2.2V between 0V and A
    approx 2.2V between 0V and B

    approx 1.6V between 0V and A-
    approx 1.6V between 0V and B-


    John


    PS

    the current taken from the 5V supply by the rotary encoder is 0.1A with no load on the outputs

  15. #75
    Join Date
    Nov 2007
    Posts
    361
    Quote Originally Posted by john-100 View Post
    OK
    powering a new rotary encoder from 4.94V

    when the outputs are not connected to any load


    stationary I have

    0.11V between 0V and A
    0.12V between 0V and B

    3.7V between 0V and A-
    3.7V between 0V and B-

    while rotating

    approx 2.2V between 0V and A
    approx 2.2V between 0V and B

    approx 1.6V between 0V and A-
    approx 1.6V between 0V and B-


    John
    So since I have 4.98 volts rotating or not it would be safe to say the encoder is bad?? And the selector switches dont work either

  16. #76
    Join Date
    Mar 2007
    Posts
    2083

    Re: 3040-T ROUTER MAKING SPINDLE TURN ON /OFF WITH PROGRAM

    It does look like your encoder is not working

    what current does your encoder take from the 5V supply ?

    John


    PS

    looking for a datasheet for a rotary encoder

    I found this -
    https://rhonmac-cnc.co.uk/rotary_encoder_data_sheet.htm

    PPS

    what do you measure between 0V and A- or 0V and B- ?

  17. #77
    Join Date
    Nov 2007
    Posts
    361
    Quote Originally Posted by john-100 View Post
    It does look like your encoder is not working

    what current does your encoder take from the 5V supply ?

    John


    PS

    looking for a datasheet for a rotary encoder

    I found this -
    https://rhonmac-cnc.co.uk/rotary_encoder_data_sheet.htm

    PPS

    what do you measure between 0V and A- or 0V and B- ?
    Between 0v and A- I get .01 and the same with 0v and B-

    When I rotate the encoder it does not change the 5 volts

  18. #78
    Join Date
    Nov 2007
    Posts
    361
    Quote Originally Posted by john-100 View Post
    It does look like your encoder is not working

    what current does your encoder take from the 5V supply ?

    John


    PS

    looking for a datasheet for a rotary encoder

    I found this -
    https://rhonmac-cnc.co.uk/rotary_encoder_data_sheet.htm

    PPS

    what do you measure between 0V and A- or 0V and B- ?
    What do you think about trying to run the 5v and the A and B signal wire to that ol tonsen bob or would that work?

  19. #79
    Join Date
    Mar 2007
    Posts
    2083

    Re: 3040-T ROUTER MAKING SPINDLE TURN ON /OFF WITH PROGRAM

    the 5V from two USB ports can power the rotary encoder and second BOB in post 23

    you can only connect the A & B outputs to 2 of the 5 inputs ( pins 10 to 13 + 15)

    Attachment 433324


    To connect the rotary encoder to the tonsen bob

    Attachment 433326

    power the encoder from 5V from the USB port and the tonsen BOB from 24V -
    its onboard regulators will drop the 24V supply down to 5V - don't see an easy way to take 5V from the BOB

    you can only connect the A & B outputs to 2 of the 5 inputs ( pins 10 to 13 + 15)


    ( a C10 BOB has the option to set pins 2 to 9 as inputs as an alternative
    to the C22 pendant interface )


    John

  20. #80
    Join Date
    Nov 2007
    Posts
    361
    Quote Originally Posted by john-100 View Post
    the 5V from two USB ports can power the rotary encoder and second BOB in post 23

    you can only connect the A & B outputs to 2 of the 5 inputs ( pins 10 to 13 + 15)

    Attachment 433324


    To connect the rotary encoder to the tonsen bob

    Attachment 433326

    power the encoder from 5V from the USB port and the tonsen BOB from 24V -
    its onboard regulators will drop the 24V supply down to 5V - don't see an easy way to take 5V from the BOB

    you can only connect the A & B outputs to 2 of the 5 inputs ( pins 10 to 13 + 15)


    ( a C10 BOB has the option to set pins 2 to 9 as inputs as an alternative
    to the C22 pendant interface )


    John
    I have a c22 board...but I guess that wont help

Page 4 of 7 23456

Similar Threads

  1. 8 spindle rotary Cnc router making craket bat
    By omnisales6 in forum Videos
    Replies: 0
    Last Post: 06-29-2016, 04:02 AM
  2. Replies: 3
    Last Post: 12-20-2012, 07:09 PM
  3. Replies: 9
    Last Post: 07-05-2012, 08:57 AM
  4. Router Won't Turn On At Beginning of Program
    By notselrach in forum DNC Problems and Solutions
    Replies: 1
    Last Post: 02-06-2009, 10:08 PM
  5. G-Code to turn on and off router, non-spindle
    By Sam A in forum G-Code Programing
    Replies: 6
    Last Post: 10-25-2008, 02:02 AM

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
  •