Retrofit cnc 3axis
- Aciera
- Offline
- Administrator
- Posts: 3989
- Thank you received: 1726
So to start out connect the voltmeter leads to pin13 and pin25 of the db25 connector you should read 24V. If you read -24V then switch the leads around.
In order to know what voltage your motor drives expect you need to connect the pc and enable the machine then you can measure the voltage of pin 5 AX_ON on db25 (ie one test lead to Ground (pin13) the other lead to pin 5)
To measure the voltage of the DIR pins move the lead from pin5 to pin14 DIRX and jog the X axis first one way and then the other way. You should see a voltage change when you change the direction.
To measure resistance or continuity anywhere you want the pc / controller to be switched off.
Please Log in or Create an account to join the conversation.
- clayd_lopunk
- Offline
- Senior Member
- Posts: 60
- Thank you received: 3
Please Log in or Create an account to join the conversation.
- clayd_lopunk
- Offline
- Senior Member
- Posts: 60
- Thank you received: 3
I did the tests on the male db25 cable next to the db9 that comes out of the machine and goes to the pc. I also tried to test it in a mirrored way in case the schematic pinout was the other way around. Could it be that the signals are at 5v? If I have a 3.8V result does it mean that the ground is in that pin anyway? Also, to do the other tests with the axes enabled, do I have to open the cable socket and test the pins from behind? If I disconnect the db25 from the pc, the machine gives an error before enabling the axes.
I enclose the tests
Thanks Alex
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
- Posts: 3989
- Thank you received: 1726
Yes, as a matter of fact that is what I expected to come from the PC but the "24V" in the pinout of db25 on the schematics made me wonder if maybe the PC card is switching 24V coming from the controller.Could it be that the signals are at 5v?
Not necessarily. What you could try is to use the ohmmeter to see if a pin on the db25 connector is connected to the case of the controller as the Ground might well be connected to the body of the controller, the pc and or the machine. Remember to only use the ohmmeter with the controller/pc switched off.If I have a 3.8V result does it mean that the ground is in that pin anyway?
Yes, you need to find a way to probe with everything connected.to do the other tests with the axes enabled, do I have to open the cable socket and test the pins from behind?
Please Log in or Create an account to join the conversation.
- clayd_lopunk
- Offline
- Senior Member
- Posts: 60
- Thank you received: 3
Thanks for your big help Aciera
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
- Posts: 3989
- Thank you received: 1726
Yes, if you find a pin with continuity make sure to switch the meters leads around and check that pin again.Do I connect one end by testing each of the DB25 pins and put the other in contact with the iron of the machine cabinet or the machine itself?
Please Log in or Create an account to join the conversation.
- clayd_lopunk
- Offline
- Senior Member
- Posts: 60
- Thank you received: 3
On the others of db 25 and db9 I have values on 1600/1900.
Now the next test is to find the pin to enable the axes? With the machine on and the axes enabled, do I have to make ground on pin ground 5 or 9 of the db9 and find the pin of the axes on the db25?
I enclose the result.
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
- Posts: 3989
- Thank you received: 1726
What you want to look for is changes in voltage on the individual pins. ie the pin to enable the motor drives may change from ~5V to ~0V (or from ~0V to ~5V) when you enable the motors.
Same for the DIR pins when you change the direction of an axis. Same again for the toolchanger functions. The STEP pins will show a voltage somewhere between 0..5V during jogging of the axis as the meter will be reading an average of a rectangular signal.
edit:
You want to note down if the change is from 0 to 5 or the other way around to activate a function as that will be important later.
function active when pin is 0V -> active low
function active when pin is 5V -> active high
Please Log in or Create an account to join the conversation.
- clayd_lopunk
- Offline
- Senior Member
- Posts: 60
- Thank you received: 3
What wires should I buy to bridge the two sockets that i would buy, I have seen many acronyms.
Are 18AWG 0.8mm² good for connect db25 male to db25 female with clamp?
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
- Posts: 3989
- Thank you received: 1726
Please Log in or Create an account to join the conversation.