7i76E analog output

More
3 years 9 months ago #261769 by Gorts Revenge
Is it feasible to reallocate the analog output for something other than the spindle?  If so, how would this be done (in the HAL files)?
I'd like to use it to send an analog signal to a separate processor (ARM micro-controller with a 12 bit ADC) which will be in control of a slightly unorthodox (and somewhat complicated) coolant supply.  Basically, I need to send it some user-definable control signals and I'd rather avoid serial comms if possible.  The analog would be mighty convenient (at least for half of it) if that's possible.

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #261780 by rodw
Replied by rodw on topic 7i76E analog output
the 7i76e already has some analog inputs that have nothing to do with the spindle.
Please check the docs.
You need to set a mode to enable them when loading hm2-eth in your hal file

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #261781 by rodw
Replied by rodw on topic 7i76E analog output
My bad you want outputs sorry!
THere will be a seperate daughter card that could be used with the 7i76e

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #261790 by tommylight
Replied by tommylight on topic 7i76E analog output
I would venture a guess that you can use the spindle output to drive an arduino input.

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #261799 by PCW
Replied by PCW on topic 7i76E analog output
Unless you need the isolation of the analog output it might be simpler to signal
the micro-controller with a PWM (pwmgen) or Frequency (stepgen) output.
The following user(s) said Thank You: Gorts Revenge

Please Log in or Create an account to join the conversation.

More
3 years 9 months ago #261809 by Gorts Revenge
Replied by Gorts Revenge on topic 7i76E analog output
A PWM or a straight pulse output would work great. Technically, I could even get away with a very slow pulse output of a few hundred mS (coded flip-flop timer). That would be done with the Classic Ladder module in the HAL file?

Please Log in or Create an account to join the conversation.

Time to create page: 0.209 seconds
Powered by Kunena Forum