Hi again, my problem is that i would like to use it but needs modifications and we only have de Hex code, so if you could do it for me that would nice, of course with the necessary cash amount for your work, if you wish so !
thanks
Hi again, my problem is that i would like to use it but needs modifications and we only have de Hex code, so if you could do it for me that would nice, of course with the necessary cash amount for your work, if you wish so !
thanks
Attached the PBP files in txt format. If you need to add more code then you have to change pic.
Suggesting pic 16f628 which has the same pinout but 4K of memory. In this case you have to add these two instructions at very top of the code.
This version is the latest so if you have in use the previous one replace it, with this one.Code:CMCON = 7 VRCON = 0
More torque, better homing and high precision also with 1 single step travel command.
Enjoy.
Al.
All progress began with an idea
Hi Al,
1. Thanks for the nice code example / project, I will try it out !
2. Question: It appears you have set this up as a control for a home brew CNC project, just judging from the use of limit switch inputs, is that correct, and any issues using it for that?
Thank You
JS
If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
.
Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
.
There simply is no "Happy Spam" If you do it you will disappear from this forum.
Hi Joe, the original idea was to have a handy and simple device to solve linear positioning requirement, and when you do positioning, you also need a zero point to start and limits security.
But since you can serialy network the controllers, you can also control two or three axis and have a small open loop cnc system. The only limitation is that you will have only point to point positioning or linear interpolation but not the circular. But for simple drilling tasks, for instance, this will be ok.
Nice to hear from you.
Al.
Last edited by aratti; - 3rd February 2009 at 08:34.
All progress began with an idea
I believe there is a typo in this sub...
WAddress: ' write controller address
Write 4,RData[1]
goto ReadEeprom
should read...
WAddress: ' write controller address
Write 5,RData[1] 'matches the reads...
goto ReadEeprom
Tenaja you are correct. Correction is necessary otherwise controller address cannot be canged. Any attempt to change the address will modify the configuration.
So please correct the write controller address code as per Tenaja suggestion.
Al.Code:WAddress: ' write controller address Write 5,RData[1] goto ReadEeprom
All progress began with an idea
Bookmarks