Physical Feed override knob

More
03 Apr 2019 20:49 #130233 by Erikcnc
Replied by Erikcnc on topic Physical Feed override knob

To get a higher reading (and more resolution), you should connect the potentiometer to field power (12 or 24VDC)


I got the potentiometer to 24vdc. Its reading the values if I turn it.
But sadly no response in gmoccapy.

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

More
03 Apr 2019 21:08 #130235 by PCW
Replied by PCW on topic Physical Feed override knob
Sorry I was thinking the ~24 was in counts but forgot that the default input scaling was in volts (and 24V is about 2/3 of full scale so resolution is about 1 part in 180, good enough for feed override)

You undoubtedly need some more hal plumbing before the feed over-ride pot will actually work...

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

More
03 Apr 2019 23:14 #130243 by andypugh

I got the potentiometer to 24vdc. Its reading the values if I turn it.
But sadly no response in gmoccapy.


Does halmeter show the gmoccapy input pin changing value as you turn the knob?

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

More
04 Apr 2019 06:35 #130263 by pl7i92
Replied by pl7i92 on topic Physical Feed override knob
can you show us your postgui File
to see the scale and connection

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

More
04 Apr 2019 08:16 #130272 by Erikcnc
Replied by Erikcnc on topic Physical Feed override knob

I got the potentiometer to 24vdc. Its reading the values if I turn it.
But sadly no response in gmoccapy.


Does halmeter show the gmoccapy input pin changing value as you turn the knob?



Quick answer. No it does not.

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

More
04 Apr 2019 12:08 #130278 by andypugh
I suspect, then, that you haven't made the HAL connection or have made it in a HAL file that is not being loaded by the config.
The following user(s) said Thank You: Erikcnc

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

More
05 Apr 2019 17:30 #130358 by Erikcnc
Replied by Erikcnc on topic Physical Feed override knob

I suspect, then, that you haven't made the HAL connection or have made it in a HAL file that is not being loaded by the config.


So, do i have to place it in a different hal file?

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

More
05 Apr 2019 18:15 #130362 by andypugh
Hard to say with no information at all.

What do have now, and where?

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

More
05 Apr 2019 20:25 #130363 by Erikcnc
Replied by Erikcnc on topic Physical Feed override knob
I got it now in the, let's say, in the standard hal file.

Only one line.

Net gmoccapy.feed.feed-override.direct-value => hm2_7i76e.0.7i76.0.0.analogin0

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

More
05 Apr 2019 20:45 - 05 Apr 2019 20:46 #130365 by andypugh
Ah! That creates a new "signal" called "gmoccapy.feed.feed-override.direct-value".

The format of a "net" statement is
net signal-name pin2 (pin2....)

try
net feed-override-direct gmoccapy.feed.feed-override.direct-value <= hm2_7i76e.0.7i76.0.0.analogin0
Last edit: 05 Apr 2019 20:46 by andypugh.
The following user(s) said Thank You: Erikcnc

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

Time to create page: 0.089 seconds
Powered by Kunena Forum