OUTPUT_OFFSET and 7i43
05 Feb 2011 17:25 #7010
by SnurdSick
OUTPUT_OFFSET and 7i43 was created by SnurdSick
Does the combination of HM2_7i43 and SV8.bit use the OUTPUT_OFFSET setting or is it ignored?
I have drives that require a 0-5v analog input.. I can not seem to get the OUTPUT_OFFSET setting to work.
From the ini file:
BIAS = 0.00
OUTPUT_SCALE = 4.0
OUTPUT_OFFSET = 0.25
MAX_OUTPUT = 1.0
No matter what setting is use for OUTPUT_OFFSET the output is +-2.5v.
I would like to offset that so it is 0-+5v.
Hardware is:
7i43 + 7i33 + 7i37
Any Thoughts?
Thanks,
I have drives that require a 0-5v analog input.. I can not seem to get the OUTPUT_OFFSET setting to work.
From the ini file:
BIAS = 0.00
OUTPUT_SCALE = 4.0
OUTPUT_OFFSET = 0.25
MAX_OUTPUT = 1.0
No matter what setting is use for OUTPUT_OFFSET the output is +-2.5v.
I would like to offset that so it is 0-+5v.
Hardware is:
7i43 + 7i33 + 7i37
Any Thoughts?
Thanks,
Please Log in or Create an account to join the conversation.
05 Feb 2011 18:31 #7011
by PCW
Replied by PCW on topic Re:OUTPUT_OFFSET and 7i43
The OUTPUT_OFFSET parameter is not used in the hm2-servo HAL file.
If you want to offset the analog out, probably the easiest thing would be to use the sum2
component. and add your offset to the PID output.
Depending on what you are doing the abs component may help as well
If you want to offset the analog out, probably the easiest thing would be to use the sum2
component. and add your offset to the PID output.
Depending on what you are doing the abs component may help as well
Please Log in or Create an account to join the conversation.
06 Feb 2011 01:57 #7017
by SnurdSick
Replied by SnurdSick on topic Re:OUTPUT_OFFSET and 7i43
Thanks for the tip,
Please Log in or Create an account to join the conversation.
06 Feb 2011 02:09 #7018
by SnurdSick
Replied by SnurdSick on topic Re:OUTPUT_OFFSET and 7i43
That worked well, The output voltage is in range.
Now I need to find a way to bring the enable line low BEFORE the output slews to zero.
I get a slight tick from the motor when the motors are disabled. When they are first enabled there is no
unexpected movement, only when they are diabled.
I suspect the output is slewing towards zero prior to the enable line going low.
Thanks again
Now I need to find a way to bring the enable line low BEFORE the output slews to zero.
I get a slight tick from the motor when the motors are disabled. When they are first enabled there is no
unexpected movement, only when they are diabled.
I suspect the output is slewing towards zero prior to the enable line going low.
Thanks again
Please Log in or Create an account to join the conversation.
06 Feb 2011 18:09 #7028
by SnurdSick
Replied by SnurdSick on topic Re:OUTPUT_OFFSET and 7i43
The tick was all tuning.
Adding a little more Derivative did the trick.
Thanks again.
(\__/)
(='.'=) All your carrot are belong to us.
(")_(")
Adding a little more Derivative did the trick.
Thanks again.
(\__/)
(='.'=) All your carrot are belong to us.
(")_(")
Please Log in or Create an account to join the conversation.
Time to create page: 0.061 seconds