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.
5 Attachment(s)
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
Attachment 366118
spindle control schematic pdf
Attachment 366120
printer port
Attachment 366122
you will need the manual for your control box to know the exact function of each pin
John
Re: CNC 3040 Parallel port pinout
I got the control box with the letters "T-D"
1 Attachment(s)
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
Attachment 366128
John
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
Re: CNC 3040 Parallel port pinout
Quote:
Originally Posted by
reuel
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
Re: CNC 3040 Parallel port pinout
Quote:
Originally Posted by
JoshG502
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.
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.
1 Attachment(s)
Re: CNC 3040 Parallel port pinout
[QUOTE=JoshG502;2093174]
Quote:
Originally Posted by
reuel
Sounds good! Part number ;tx14175
See attached for pinout for your BOB
4 Attachment(s)
Re: CNC 3040 Parallel port pinout
in answer to another thread I traced part of the circuit of the TX14175 BOB
Attachment 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
Attachment 373198
PPS
photo showing TX14175 PCB track suppling 10V DC to input opto-isolators
Attachment 373226
input details
Attachment 373230
Re: CNC 3040 Parallel port pinout
[QUOTE=JoshG502;2093190]
Quote:
Originally Posted by
reuel
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.