Read ampere from a spindle with frequency
- grandixximo
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 139
- Thank you received: 5
19 Sep 2011 08:06 #13282
by grandixximo
Read ampere from a spindle with frequency was created by grandixximo
I have made a small card that read Ampere from my spindle and converts it to a frequency, i wan to read this frequency and show it on axis interface, like my spindle Ampere Meter.
Right now what i have done is connecting the pin where i get the frequency to an encoder phase A in counter mode, i now check the velocity of this encoder to see an approximate frequency.
This way i can see that everything is working, but i want to display better, and i want to be able to display in ampere, right now when i'm at 3 Amps and i see 10000 in encoder velocity.
any suggestion
Right now what i have done is connecting the pin where i get the frequency to an encoder phase A in counter mode, i now check the velocity of this encoder to see an approximate frequency.
This way i can see that everything is working, but i want to display better, and i want to be able to display in ampere, right now when i'm at 3 Amps and i see 10000 in encoder velocity.
any suggestion
Please Log in or Create an account to join the conversation.
19 Sep 2011 11:16 #13288
by BigJohnT
Replied by BigJohnT on topic Re:Read ampere from a spindle with frequency
I use the same way to get voltage from my plasma cutter.
# Set up the Encoder for the THC
setp hm2_5i20.0.encoder.00.counter-mode 1
net thc-vel-in hm2_5i20.0.encoder.00.velocity => thc.encoder-vel
you will have to set the scale as needed to get your amps correct for the velocity.
John
# Set up the Encoder for the THC
setp hm2_5i20.0.encoder.00.counter-mode 1
net thc-vel-in hm2_5i20.0.encoder.00.velocity => thc.encoder-vel
you will have to set the scale as needed to get your amps correct for the velocity.
John
Please Log in or Create an account to join the conversation.
- grandixximo
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 139
- Thank you received: 5
20 Sep 2011 00:08 - 20 Sep 2011 00:13 #13321
by grandixximo
Replied by grandixximo on topic Re:Read ampere from a spindle with frequency
Thanks, i've done it, works like a charm
![:) :)](/media/kunena/emoticons/smile.png)
Last edit: 20 Sep 2011 00:13 by grandixximo.
Please Log in or Create an account to join the conversation.
Time to create page: 0.062 seconds