584,800 active members*
4,658 visitors online*
Register for free
Login
Results 1 to 15 of 15
  1. #1
    Join Date
    Jun 2017
    Posts
    3

    CNC 3040 Parallel port pinout

    Hi everyone,

    I bought a used 3040T cnc machine with parallel port.

    Now my goal is to control it via USB over a Arduino Nano or Duo with GRBL

    PC -> Arduino with GRBL -> Control Box

    Know anyone the pinout of the parallel port that I can connect X Step, Direction and everything?

    The control box is the black one.

  2. #2
    Join Date
    Mar 2007
    Posts
    2083

    Re: CNC 3040 Parallel port pinout

    As the various suppliers supply contolboxes with different electronic boards / modules depending on the stepper motors and spindle motor fitted.

    more information will be needed to make it possible for others to help

    for example
    this is one version of a control box for machines with a low power DC spindle motor

    found on the net
    Attachment 366116

    Attachment 366114

    stepper drive schematic pdf
    Click image for larger version. 

Name:	YOOCNC NT65-3X  stepper_controller_schematic.pdf 
Views:	33 
Size:	112.0 KB 
ID:	366118

    spindle control schematic pdf
    Click image for larger version. 

Name:	psu_and_spindle_schematic  for YOOCNC NT65-3X.pdf 
Views:	33 
Size:	40.2 KB 
ID:	366120

    printer port
    Attachment 366122

    you will need the manual for your control box to know the exact function of each pin

    John

  3. #3
    Join Date
    Jun 2017
    Posts
    3

    Re: CNC 3040 Parallel port pinout

    I got the control box with the letters "T-D"

  4. #4
    Join Date
    Mar 2007
    Posts
    2083

    Re: CNC 3040 Parallel port pinout

    a quick web search for 3040 T-D didn't find your manual
    for now you can try the pin out in this manual

    Click image for larger version. 

Name:	3020-3040 cnc router GUIDE.pdf 
Views:	22 
Size:	5.01 MB 
ID:	366128

    John

  5. #5
    Join Date
    May 2017
    Posts
    8

    Re: CNC 3040 Parallel port pinout

    Open the box and check the model of the control box. If it is JP-3163B ver 3.9, here are the pinouts

    JP-3163B ver. 3.9
    Pin 1: Spindle on/off Relay 1(active low)
    Pin 2: X Axis Step (active low)
    Pin 3: X Axis Dir (active low)
    Pin 4: Y Axis Step (active low)
    Pin 5: Y Axis Dir (active low)
    Pin 6: Z Axis Step (active low)
    Pin 7: Z Axis Dir (active low)
    Pin 8: A Axis Step (active low)
    Pin 9: A Axis Dir (active low)
    Pin 10:Estop (active low)
    Pin 11: X Axis Limit Switch (active high) = when NC switch(es) open
    Pin 12: Y Axis Limit Switch (active high)
    Pin 13: Z Axis Limit Switch (active high)
    Pin 14: Buffer Chips “Enable” controlled by computer if Jumper 3 is set to 1-2 position
    Pin 15: Probe (active low)
    Pin 16: Is supposed to turn Relay 2 on/off but is currently not connected in board.
    Pin 17: PWM 0-10V for VFD Spindle AN1 (if jumper 4 is in default 1-2 position) active low
    Pin 18: Gnd
    Pin 19: Gnd
    Pin 20: Gnd
    Pin 21: Gnd
    Pin 22: Gnd
    Pin 23: Gnd
    Pin 24: Gnd
    Pin 25: Gnd or NC

  6. #6
    Join Date
    Sep 2017
    Posts
    20

    Re: CNC 3040 Parallel port pinout

    Quote Originally Posted by reuel View Post
    Open the box and check the model of the control box. If it is JP-3163B ver 3.9, here are the pinouts

    JP-3163B ver. 3.9
    Pin 1: Spindle on/off Relay 1(active low)
    Pin 2: X Axis Step (active low)
    Pin 3: X Axis Dir (active low)
    Pin 4: Y Axis Step (active low)
    Pin 5: Y Axis Dir (active low)
    Pin 6: Z Axis Step (active low)
    Pin 7: Z Axis Dir (active low)
    Pin 8: A Axis Step (active low)
    Pin 9: A Axis Dir (active low)
    Pin 10:Estop (active low)
    Pin 11: X Axis Limit Switch (active high) = when NC switch(es) open
    Pin 12: Y Axis Limit Switch (active high)
    Pin 13: Z Axis Limit Switch (active high)
    Pin 14: Buffer Chips “Enable” controlled by computer if Jumper 3 is set to 1-2 position
    Pin 15: Probe (active low)
    Pin 16: Is supposed to turn Relay 2 on/off but is currently not connected in board.
    Pin 17: PWM 0-10V for VFD Spindle AN1 (if jumper 4 is in default 1-2 position) active low
    Pin 18: Gnd
    Pin 19: Gnd
    Pin 20: Gnd
    Pin 21: Gnd
    Pin 22: Gnd
    Pin 23: Gnd
    Pin 24: Gnd
    Pin 25: Gnd or NC
    Hello, I was wondering if the pin out would be universal for most of the controllers? I was the prt-e750 and connot get the spindle to move through mach3 . In motor outputs under spindle, what should step pin# be set as? as well as Dir pin#.

    regards,
    Josh

  7. #7
    Join Date
    May 2017
    Posts
    8

    Re: CNC 3040 Parallel port pinout

    Quote Originally Posted by JoshG502 View Post
    Hello, I was wondering if the pin out would be universal for most of the controllers? I was the prt-e750 and connot get the spindle to move through mach3 . In motor outputs under spindle, what should step pin# be set as? as well as Dir pin#.

    regards,
    Josh
    NO it is NOT universal - that's why you must open the lid of the control box and find out the model number of your BOB (breakout board) and get the manual for that board.
    Or else buy a famous control board from Gecko.

  8. #8
    Join Date
    Sep 2017
    Posts
    20
    Quote Originally Posted by reuel View Post
    NO it is NOT universal - that's why you must open the lid of the control box and find out the model number of your BOB (breakout board) and get the manual for that board.
    Or else buy a famous control board from Gecko.
    Great, thanks for the reply! I have the bob number but still curious how the pins correlate with the step and dir. which is which. Thanks

  9. #9
    Join Date
    May 2017
    Posts
    8

    Re: CNC 3040 Parallel port pinout

    [QUOTE=JoshG502;2093168]Great, thanks for the reply! I have the bob number but still curious how the pins correlate with the step and dir. which is which. Thanks[/QUOTE

    Tell us your BOB part number and I or someone else may have the information for you.

  10. #10
    Join Date
    Sep 2017
    Posts
    20
    [QUOTE=reuel;2093170]
    Quote Originally Posted by JoshG502 View Post
    Great, thanks for the reply! I have the bob number but still curious how the pins correlate with the step and dir. which is which. Thanks[/QUOTE

    Tell us your BOB part number and I or someone else may have the information for you.
    Sounds good! Part number ;tx14175

  11. #11
    Join Date
    May 2017
    Posts
    8

    Re: CNC 3040 Parallel port pinout

    [QUOTE=JoshG502;2093174]
    Quote Originally Posted by reuel View Post

    Sounds good! Part number ;tx14175
    See attached for pinout for your BOB
    Attached Thumbnails Attached Thumbnails Pinout.png  

  12. #12
    Join Date
    Sep 2017
    Posts
    20
    [QUOTE=reuel;2093186]
    Quote Originally Posted by JoshG502 View Post

    See attached for pinout for your BOB
    Awesome! So how does that pin out correlate as far as getting the spindle to operate through mach3?

  13. #13
    Join Date
    Mar 2007
    Posts
    2083

    Re: CNC 3040 Parallel port pinout

    in answer to another thread I traced part of the circuit of the TX14175 BOB

    Click image for larger version. 

Name:	partial TX14175 circuit.jpg 
Views:	25 
Size:	116.3 KB 
ID:	373192

    mach 3 or what ever control software you use must send the PWM signal to Pin 1

    pin 1 is connected to 2 buffers that are part of a 74HC245 IC ( the 74HC245 is an octal buffer)

    one buffer output goes to one pin of a 2 pin connector ( next to the B axis 4 pin connector )
    the output of the second buffer drives the opto-isolator at the input of the PWM to analoge converter
    that produces the analogue DC control for your spindle motors control board

    the enable signal needs to go to pin 14
    which is connected to 3 of the 74HC245 buffers

    the output of one buffer drives the X and Y enable connectors
    the second buffer output drives the Z , A and B enable connectors
    the third buffer output goes to the second of the pins on the 2 pin connector

    john


    PS

    using the information from the above diagram this should be printerport connections
    Click image for larger version. 

Name:	TX14175 printer port connections.jpg 
Views:	13 
Size:	57.5 KB 
ID:	373198


    PPS
    photo showing TX14175 PCB track suppling 10V DC to input opto-isolators

    Attachment 373226

    input details
    Click image for larger version. 

Name:	TX14175 bob location of input circuit on PCB.jpg 
Views:	23 
Size:	127.6 KB 
ID:	373230
    Attached Thumbnails Attached Thumbnails TX14175 bob location of input circuit on PCB.jpg  

  14. #14
    Join Date
    May 2017
    Posts
    8

    Re: CNC 3040 Parallel port pinout

    [QUOTE=JoshG502;2093190]
    Quote Originally Posted by reuel View Post

    Awesome! So how does that pin out correlate as far as getting the spindle to operate through mach3?
    fro the pinout it shows that YOUR BOB can turn on/off the spindle using the relay via pin 9 from Mach3 but cannot control the speed using Mach 3 since that BOB does not have any "0-10V variable analogue voltage port". So just manually preset the spindle speed and use Mach 3 to turn on and off the Spindle.

    You will need to replace with another BOB if you want to control the spindle speed via Mach 3.

  15. #15
    Join Date
    Sep 2017
    Posts
    20
    [QUOTE=reuel;2093404]
    Quote Originally Posted by JoshG502 View Post

    fro the pinout it shows that YOUR BOB can turn on/off the spindle using the relay via pin 9 from Mach3 but cannot control the speed using Mach 3 since that BOB does not have any "0-10V variable analogue voltage port". So just manually preset the spindle speed and use Mach 3 to turn on and off the Spindle.

    Perfect! I'll give this a try after work today thank you! I had it working yesterday but the CPU crashed and now it won't work lol I'll try uninstalling program and reinstalling it.

    You will need to replace with another BOB if you want to control the spindle speed via Mach 3.

Similar Threads

  1. Replies: 3
    Last Post: 04-20-2019, 11:23 PM
  2. parallel port dead with pc-suggestions for purchasing usb/ethernet to parallel port?
    By curiosity22 in forum Australia, New Zealand Club House
    Replies: 48
    Last Post: 08-19-2015, 11:32 AM
  3. arduino parallel port hack for Chinese 3040
    By RunForrestRun in forum USB, RS232, PARALLEL etc
    Replies: 10
    Last Post: 05-07-2015, 05:59 PM
  4. no new computers have parallel?? experience on adding parallel port yourself?
    By teglberg in forum Mach Software (ArtSoft software)
    Replies: 1
    Last Post: 11-26-2014, 07:18 PM
  5. EMC2 E-stop parallel port pinout and E-stop loop
    By GreenLead in forum LinuxCNC (formerly EMC2)
    Replies: 12
    Last Post: 08-03-2010, 06:05 PM

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
  •