Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: AlesV on January 09, 2010, 09:26:12 AM

Title: very technical question for mach3 developers
Post by: AlesV on January 09, 2010, 09:26:12 AM
Hi everybody
I hope somebody can help me with this.
As I understand Mach 3 is the software which reads code (previously generated by some other software, I am using VisuallMill) and controls the stepper motors.
But you need the controle box which reads signal from mach3(on pc) and gives the power and signal to stepper motors.
So this controle box of mine (made by Isel Germany) had broken down. Isel does not want to fix it since they stopped producing this model in 2008. As I had the box looked by some other people they told me that the power part is ok. The only thing I need to change is the chip in the box which is responsable for correctly reading and delivering the signal (not the RS232 one). Of course the chip is not expensive (some 15 usd) but the program that is on it, is obviously defective.
So my question is. Is there a program that I could put on the new chip and it would then read the mach3 software I would put on the pc (windows maschine) and I'll be a happy man again.

Ales
Title: Re: very technical question for mach3 developers
Post by: ger21 on January 09, 2010, 10:42:45 AM
If the stepper drives accept step and direction signals, you should be able to replace your RS232 board with a parallel port breakout board and mach3.
Title: Re: very technical question for mach3 developers
Post by: rcrabb on January 09, 2010, 11:18:00 AM
Take a picture of the inside of the controller. Try to get good detail of the stepper drivers. Post the picture here and maybe someone can identify what would work best to get you going again.
Title: Re: very technical question for mach3 developers
Post by: AlesV on January 09, 2010, 11:31:40 AM
That was quick, thank you.
In the controller box there are two circuit boards. One is with the RS232 chip (which works) and another that has a chip on it with this Isel program which accepts commands from isel sofware on a PC. I've been told that this program could be corrupt. I do not know how it can become corrupt after working for a while but...

I'll post pictures as soon as I get it back from Isel's (still in Germany).

They really disappointed me. They could just replace the board and try if it works and that would be it. It was quite nice machine for my hobby work with 5A permisible current draw.
Title: Re: very technical question for mach3 developers
Post by: ger21 on January 09, 2010, 12:08:44 PM
and another that has a chip on it with this Isel program which accepts commands from isel sofware on a PC. I've been told that this program could be corrupt.

You wouldn't use that board with Mach3 anyway, so you should be able to bypass both boards.
Title: Re: very technical question for mach3 developers
Post by: stirling on January 10, 2010, 05:33:11 AM
just did a quick google. Don't know if these http://www.isel-germany.de/products/product.php?lang=en&ID=p321 (http://www.isel-germany.de/products/product.php?lang=en&ID=p321) or their ilk are what you have but there seems to be a parallel port option on some. see 2/3 way down the page where mach3 compatibility is mentioned.

cheers

Ian
Title: Re: very technical question for mach3 developers
Post by: AlesV on January 11, 2010, 03:31:08 AM
This is a picture of all the connection on it.
They are in German but from top left it goes like this:
first row - OUT (Programmable Logic Controller - PLC), SAFETY SWITCH (big red button to put anywhere at hand), IN (PLC), MILLING MOTOR, SAFETY SWITCH (IR or some other proximity sensor)
second row - CAN bus, RS232, Analog(for jostick)
third row - axes output

So far I have used the RS232 port to send info from PC to controller.
So to which port do I put my RS232 cable that come from a computer on which I will install demo Mach3?
I would just try it but the controller box is still in Germany (not being repared).

Now to find out how to put a picture here
Title: Re: very technical question for mach3 developers
Post by: AlesV on January 11, 2010, 03:41:47 AM
I hope this works.
Title: Re: very technical question for mach3 developers
Post by: Hood on January 11, 2010, 07:15:12 AM
You will need to have a pic of the internals or maybe if you have a link to tech documents. What is needed is to find out what the connections are on the stepper drives as you will have to dump the rest of the boards. It is not going to be a direct plugin replacement as Mach uses the Parallel port and it would seem yours uses the serial.
 The way a basic setup for Mach would be is your computers parallel port connects to a breakout board. The breakout board would have your drives connected to it and then the motors would be connected to the drives. Things like limit switches would also connect to the breakout board.
 Hood
Title: Re: very technical question for mach3 developers
Post by: AlesV on January 11, 2010, 07:28:57 AM
Tech docs are in german and I only have hardcopy. I'll make some scans.
I'll make pictures when I get the controller back.
As I remember the boards are stacked one above the other so I'll need to take it apart to make pictures of all the boards. At the same time I'll see where the end switches connections go. In my case the same RS232 cable goes to each of the motor and two wires of each cable are used for the end switch.
Title: Re: very technical question for mach3 developers
Post by: AlesV on January 13, 2010, 03:09:44 AM
Here is the manual, unfortunately in german. The technical stuff is international anyway, SPS means PLC,...
If anything can be worked out from the manual I'd be happy.
Hopefully the controller box comes back from germany next week and I'll dig into it.
Title: Re: very technical question for mach3 developers
Post by: AlesV on January 13, 2010, 03:11:18 AM
ok here it is
first 4 pages
Title: Re: very technical question for mach3 developers
Post by: AlesV on January 13, 2010, 03:12:23 AM
and final 3 pages
Title: Re: very technical question for mach3 developers
Post by: Hood on January 13, 2010, 04:23:14 AM
I am afraid it doesnt mean very much to me, dont suppose there is a wiring diagram is there?
The easiest way would probably be to forget the old control box all together and get new drives and a breakout but it is possible that the drives in your box could be suitable, just need to find out if they accept Step/Dir and if it is 5V step/dir.

Hood
Title: Re: very technical question for mach3 developers
Post by: AlesV on January 13, 2010, 04:27:26 AM
No, no wiring diagram.
Where do I look for Step/Dir?
I'll just have to wait for the control box to come back.
Title: Re: very technical question for mach3 developers
Post by: Hood on January 13, 2010, 04:39:31 AM
Without a wiring diagram it may not be possible to find out how things work, especially if the drives are integrated into a breakout board. Maybe if I could read German I would see from the above manual but afraid I dont :(

Hood
Title: Re: very technical question for mach3 developers
Post by: AlesV on January 13, 2010, 05:10:34 AM
I do enought to be able to read this manual. Is there any particular thing I should be looking for or just Step/Dir?
Title: Re: very technical question for mach3 developers
Post by: Hood on January 13, 2010, 05:12:51 AM
Step and Dir is the norm but could also be pulse and signal or pulse and sign or maybe a few other terms that are similar.
Hood
Title: Re: very technical question for mach3 developers
Post by: AlesV on January 13, 2010, 05:28:55 AM
On page 5 on the bottom there is a data transport protocol.
Byte 0 is ID
Byte 1-8 is CAN data protocol
Byte 9 is verifier
Title: Re: very technical question for mach3 developers
Post by: Hood on January 13, 2010, 01:21:29 PM
It sounds like its maybe CANBUS but I know nothing about it apart from its no use to Mach.
 The quickest route and probably the way you will have to go in the end if you want Mach is to get new drives and a breakout and just rewire to suit. The only thing you may be able to salvage from the box is the stepper drives and only if they are separate units, if they are integrated into the plc boards then its very doubtful you could use them.
Hood
Title: Re: very technical question for mach3 developers
Post by: AlesV on January 14, 2010, 04:04:11 AM
I'll wait for the controler to come back and then take some pict of the boards.