- LinuxCNC
- General LinuxCNC Questions
- 7i47 can I get a 0-5v output for spindle drive and how to wire it!
7i47 can I get a 0-5v output for spindle drive and how to wire it!
- M4MazakUser
- Offline
- Elite Member
Less
More
- Posts: 173
- Thank you received: 5
16 Dec 2022 08:00 - 16 Dec 2022 08:02 #259615
by M4MazakUser
7i47 can I get a 0-5v output for spindle drive and how to wire it! was created by M4MazakUser
I have a standard 7i47, I'm sure I read somewhere that I can get a 0-5v output from it to feed a spindle drive. I have pwm enabled to it I believe, can't get any 0-5v signal measured from it. How should I be wiring this, if its possible.
Last edit: 16 Dec 2022 08:02 by M4MazakUser. Reason: Add my card pin file
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23162
- Thank you received: 4860
17 Dec 2022 23:42 #259783
by andypugh
Replied by andypugh on topic 7i47 can I get a 0-5v output for spindle drive and how to wire it!
Skimming the product page at store.mesanet.com I don't see any mention of an analogue output.
Where did you read this?
Where did you read this?
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
Less
More
- Posts: 17945
- Thank you received: 4814
18 Dec 2022 04:01 #259797
by PCW
Replied by PCW on topic 7i47 can I get a 0-5v output for spindle drive and how to wire it!
Some VFDs have enough filtering that you can use raw PWM on their analog inputs
otherwise a simple RC network may be sufficient.
If you read the PWM output with most DVMs you should get a ~0 to 5V outpu as you vary the PWM duty cycle, since the DVM will average the PWM.
otherwise a simple RC network may be sufficient.
If you read the PWM output with most DVMs you should get a ~0 to 5V outpu as you vary the PWM duty cycle, since the DVM will average the PWM.
Please Log in or Create an account to join the conversation.
- DSS
- Offline
- Senior Member
Less
More
- Posts: 40
- Thank you received: 17
18 Dec 2022 08:46 #259806
by DSS
Replied by DSS on topic 7i47 can I get a 0-5v output for spindle drive and how to wire it!
As you only need a 0-5v output I would second a first-order RC low pass filter. ( just a resistor and capacitor ). I imagine a single pwm to analog dac IC could also do the job. Something along the lines of a LTC2644 "
Here
" should be pretty linear depending on the resolution required and the frequency of your pwm signal you can get 8 bit , 10 bit and even 12 bit (up to 6.25kHz) IC's.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23162
- Thank you received: 4860
19 Dec 2022 23:11 #259907
by andypugh
Replied by andypugh on topic 7i47 can I get a 0-5v output for spindle drive and how to wire it!
Or you can use the 10V from the VFD and an opto-isolator to get a 0-10V from a 5V (or 3,3v) logic output:
I used this for quite a while: photos.app.goo.gl/66pTsjk7DwEMM8HD6
It doesn't have to be the ACPL shown there, but it does need to be a logic output or push-pull output opto-isolator or the capacitor voltage will not be pulled down at logic low inputs.
I used this for quite a while: photos.app.goo.gl/66pTsjk7DwEMM8HD6
It doesn't have to be the ACPL shown there, but it does need to be a logic output or push-pull output opto-isolator or the capacitor voltage will not be pulled down at logic low inputs.
The following user(s) said Thank You: Todd Zuercher, mgm
Please Log in or Create an account to join the conversation.
- M4MazakUser
- Offline
- Elite Member
Less
More
- Posts: 173
- Thank you received: 5
24 Dec 2022 19:01 #260259
by M4MazakUser
Replied by M4MazakUser on topic 7i47 can I get a 0-5v output for spindle drive and how to wire it!
Well as an update, there's a modbus card available, so I'll order it in the new year, but I got it working for now using an option in the digital inputs. It's a "Lenze" vsd, and you can run 2 of the 4 digital inputs as speed up/down. So I sent the values i needed to ladder and made a quick hash up that gets the speed within 20rpm. Merry Christmas all!
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23162
- Thank you received: 4860
27 Dec 2022 22:49 #260442
by andypugh
Replied by andypugh on topic 7i47 can I get a 0-5v output for spindle drive and how to wire it!
Please Log in or Create an account to join the conversation.
- LinuxCNC
- General LinuxCNC Questions
- 7i47 can I get a 0-5v output for spindle drive and how to wire it!
Time to create page: 0.104 seconds