Page 1 sur 1

simple export possibility

Posté : jeu. juil. 10, 2008 6:09 pm
par MartinL
Jedicut is a very nice tool.
I just miss a possibility to export the data sent to the motors to a readable text file.
I mean a file with absolute 4d-coordinates (not each step) and maybe commands to switch the heating.

This would give the possibility to use your software independend of the motor controllers.
Maybe this is easily possible to implement as a interface dll like your FileTrace.dll or directly in the cut-preview menue.

The background of my question is that I will use stepper motor controllers which are not compatible with the direction/step interface. Also the timing would be then independend of the PC which is used for Jedicut.

Hopefully you like this idea.
Best reagrds and thank you very much for the Jedicut.

Martin

Re: simple export possibility

Posté : mer. juil. 16, 2008 9:01 pm
par Jerome
Hi,

I don't understand the need. What do you want to do with data files ? Do you have an incompatible cnc board ? If it's right, you can program your own dll file ;)

Re: simple export possibility

Posté : lun. juil. 21, 2008 6:21 pm
par MLeist
Hello Jerome,

the cnc driver I use is a 3 phase stepper driver.
I developed this about 18 years ago for my cnc-milling machine.
This board is controlled by an old DOS PC programmed with the good old Borland Pascal connected to the printerport.
I want to use the same 3-phase stepper motors for the cutting machine, because I have some of them and the motor drivers are available.

I wanted to program a small atmel controller to connect direction/step interface to my 3-phase stepper interface.
I tried all the dlls together with my PC (Dell Intel P4, 2.8GHz, WinXP).
I used the Manual Engine Control window and I have the following results for the step signals:

DLL-name.....................max-Stepping-Speed.....................................................Stepping-Speed
........................................(Cut speed = 0)...............................................................(Cut speed = 12700000)
CncNet_XP.dll...............64Hz..............................................................................64Hz
MaxCom_XP.dll............352kHz (but every 770µs dropouts of 78µs)............144Hz (but very often dropouts of up to 17ms)
VisualCNC_XP.dll........64Hz..............................................................................64Hz

So at this time the usable DLL was the MaxCom_XP.dll. The other two were too slow.
But unfortunately with the MaxCom_XP.dll there are many dropouts which results in a none smooth running.
After these measurements I wrote this request for the export possibility.
Then I would be easily able to implement the 3-phase motor and timing control with my old solution.

Today I tried the nice external timer feature.
I used a 4kHz signal.
The CncNet_XP.dll and the VisualCNC_XP.dll use this signal and I can get higher speeds.
But still with dropouts of about 10ms.
With the MaxCom_XP.dll it seems that this signal is not used and I get the same speeds as without the timer.

Programming an own dll for my motors would be very nice.
If you could provide me an interface description of the functions you implemented in the dlls or just an example project of your dlls then I will try to implement the functions ?

Best regards
Martin

Re: simple export possibility

Posté : mar. juil. 22, 2008 7:07 pm
par Jerome
In fact, maxcom.dll don't use external timer. VisualCnc_XP.dll and CncNet_XP.dll do. But this two others dll can also work without external timer, but without heating control and with a different speed configuration.

You use 3 phase stepper, but how many signals on parallel port do you use for each motor ?

Is the "dropout" very important for CNC foam cutting ? No Jedicut user have problem with this... It also may by an other process on your computer wich use processor...