Saturday 20 October 2018


The 3040T CNC Router


It’s a standard 3040T, 3 axis, 200W spindle, 3 nema 23 stepper motors.
After purchasing I’ve noticed the spindle is not going to be easy to upgrade beyond a 500W due to the mounting going to be a pain in the arse to change. When I get to that point I will get a friend who is a craftsman and will do a far better job than myself changing the mounting over.

The motors

These are from dongshundj, but as usual the part number on the motor is not in the list of motors they sell and the deciphering of the motor from the serial number is not publish on the site. It might be in mandarin this is a mute points.
57BYGH041F025BD-18
No. 201711


Not knowing the actual current sink on these is a bit of a pain as I would like to use a TMC2130 to drive these, but this has a max current of 1.4A. The TMC2130 is similar to the driver on the smoothier board and is easy to get as a module (around £6 each). I going to assume the current is more like 2A, and thus I might use something like a TMC5160, which can drive larger current.

The Parallel Port

This information is an acuminating of what I’ve found on the web and the documentation from the user manual supplied. I don’t know if this is correct, when I get things working up will update this table.
Pin

Direction to device
Status
1
Spindle on/off Relay 1(active low)
Input
Not Checked
2
X Axis Step (active low)
Input
Not Checked
3
X Axis Dir (active low)
Input
Not Checked
4
Y Axis Step (active low)
Input
Not Checked
5
Y Axis Dir (active low)
Input
Not Checked
6
Z Axis Step (active low)
Input
Not Checked
7
Z Axis Dir (active low)
Input
Not Checked
8
A Axis Step (active low)
Input
Not Checked
9
A Axis Dir (active low)
Input
Not Checked
10
External emergency button (active low)

Not Checked
11
X axis limit switch (active high) 
Output
Not Checked
12
Y axis limit switch (active high) 
Output
Not Checked
13
Z axis limit switch (active high) 
Output
Not Checked
14
XYZA axis Enabled
Output
Not Checked
15
Probe (active low)
Input
Not Checked
16
Is supposed to turn Relay 2 on/off but is currently not connected in board

Not Checked
17
PWM 0-10V for VFD Spindle AN1 (if jumper 4 is in default 1-2 position) active low
Input
Not Checked
18
Gnd

Not Checked
19
Gnd

Not Checked
20
Gnd

Not Checked
21
Gnd

Not Checked
22
Gnd

Not Checked
23
Gnd

Not Checked
24
Gnd

Not Checked
25
Gnd or NC

Not Checked

The voltage level are probably going to be 5v except for the PWM which seem to be 10V.

Motor Details


Machine Model
CNC3040
CNC3020

Stepping Motor Model
57BYGH218
Not Fixed
Units
Step Angle
1.8
1.8
(deg)
Motor Length
51
N/A
(mm)
Rate Voltage
2.6
2.6
(V)
Rate Current
2
2
(A)
Phase Resistance
1.3
N/A
(ohm)
Phase Inductance
4
N/A
(mH)
Holding Torque
9
N/A
(kg.cm2)
Lead Wire
4
N/A
(number)
Rotor Inertia
275
N/A
(g.cm)
Detect Torque
0.36
N/A
(g.cm2)
Motor Weight
0.65
N/A
(kg)


This might be the PWM for the spindle


Frequency
rpm
Frequency
rpm
10
600
210
12600
20
1200
220
13200
30
1800
230
13800
40
2400
240
14400
50
3000
250
15000
60
3600
260
15600
70
4200
270
16200
80
4800
280
16800
90
5400
290
17400
100
6000
300
18000
110
6600
310
18600
120
7200
320
19200
130
7800
330
19800
140
8400
340
20400
150
9000
350
21000
160
9600
360
21600
170
10200
370
22200
180
10800
380
22800
190
11400
390
23400
200
12000
400
24000