Plasma/Mesa Guru's
- austin.mn
- Offline
- Senior Member
- Posts: 51
- Thank you received: 0
The stepper outputs are on the 7i42:
Pins 100 and 101 for the X
Pins 106 and 107 for the Y
Pins 1012 and 1013 for the Z
I currently don't have any limits wired, but probably will down the road, and I am currently still using the parallel port for the torch relay and signals as john did.
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
- Posts: 17904
- Thank you received: 4774
freeby.mesanet.com/st8p.zip
the ST8_PLASMA.PIN lists the pinout, note that all high speed I/O is on P2 now (where the 7I42 should be) P3 and P4 just have GPIO .
I also only connected the 'A' pins of the 2 encoder counters present so as not to waste the 'B' or 'I' pins
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
- Posts: 23559
- Thank you received: 4858
Heres a bitfile with a more rational pinout for use with a 7I42TA:
There ought to be a +10 karma button. That's what I call customer service.
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
- Posts: 7330
- Thank you received: 1177
PCW wrote:
Heres a bitfile with a more rational pinout for use with a 7I42TA:
There ought to be a +10 karma button. That's what I call customer service.
Andy, you just keep pressing it
John
Please Log in or Create an account to join the conversation.
- austin.mn
- Offline
- Senior Member
- Posts: 51
- Thank you received: 0
Thank you very much. It took me a little bit to figure out where to put those files and how to get them to those folders. But, I got it done and so far it all seems to be working. I will have a chance to rewire the step and dir pins after I send the kids to bed. I did notice that you set the pins to the odd numbers, thank you for that, it will make it extra easy to wire them into place.
With every day on this project I feel like I am learning something new. I like it!
Thank you again everyone for your help, I truly appreciate it.
Please Log in or Create an account to join the conversation.
- austin.mn
- Offline
- Senior Member
- Posts: 51
- Thank you received: 0
Thank you again!
Please Log in or Create an account to join the conversation.
- austin.mn
- Offline
- Senior Member
- Posts: 51
- Thank you received: 0
I ca go to the HAL configuration screen and see the thc.encoder-vel number change. It is normally at -1902 to -1905 and if I put my little battery pack (3 AAA batteries) I that number jumps to -7230ish
But, still no volts registering on the volt meter (test it button) or in Hal configuration thc.volts
I tried to change some of your parameters thc.vel-scale and thc.correction-vel but non of that seemed to make any difference.
But at least I can see that the THCAD is hooked up and doing something.
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
- Posts: 7330
- Thank you received: 1177
volts = (encoder_vel - scale_offset) * vel_scale;
So if your scale offset or velocity scale are wrong and produce a negative volts the output is set to zero just to prevent the little noise at idle from driving you nuts.
I'm assuming you have the thc.volts connected to your volt meter? What is the test it button?
The correction velocity only works when your actually running and cutting.
This is the code for the comp
git.linuxcnc.org/gitweb?p=emc2.git;a=blo...nts/thc.comp;hb=HEAD
John
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
- Posts: 17904
- Thank you received: 4774
In a configuration that only has the 'A' encoder pin brought out, the counter will always count down (because its 'B' input is tied low internally).
Since in this case the counter always counts down, you will always have negative velocity numbers. So you will need to use around -1903 for scale_offset and a negative vel_scale
number.
Please Log in or Create an account to join the conversation.
- austin.mn
- Offline
- Senior Member
- Posts: 51
- Thank you received: 0
Once I had the scale and offset numbers corrected Volts were looking good. So I tried running the Xtrim file... the Z axis was going completely nuts. I had to go look at the unmodified ini file, that is where I noticed I had already modified the thc.correction-vel to 5000, it was originally .0001 so yeah, the Z was just crazy.
After that was sorted it seems to be working great.
Now I am going to get the relay output, and other inputs moved from the parallel port to the 5i20, make sure all that is working good and go out and hook it onto the torch.
Thank you!
John, the 'Test it' button is on screen, just under the voltage dial. It doesn't seem to do anything though.
Please Log in or Create an account to join the conversation.