Physical Feed override knob

More
7 years 6 months ago #130233 by Erikcnc
Replied by Erikcnc on topic Physical Feed override knob

PCW wrote: 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 to join the conversation.

More
7 years 6 months ago #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 to join the conversation.

More
7 years 6 months ago #130243 by andypugh

Erikcnc wrote: 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 to join the conversation.

More
7 years 6 months ago #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 to join the conversation.

More
7 years 6 months ago #130272 by Erikcnc
Replied by Erikcnc on topic Physical Feed override knob

andypugh wrote:

Erikcnc wrote: 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 to join the conversation.

More
7 years 6 months ago #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.

Please Log in to join the conversation.

More
7 years 6 months ago #130358 by Erikcnc
Replied by Erikcnc on topic Physical Feed override knob

andypugh wrote: 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 to join the conversation.

More
7 years 6 months ago #130362 by andypugh
Hard to say with no information at all.

What do have now, and where?

Please Log in to join the conversation.

More
7 years 6 months ago #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 to join the conversation.

More
7 years 6 months ago #130365 by andypugh
Ah! That creates a new "signal" called "gmoccapy.feed.feed-override.direct-value".

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

try
Code:
net feed-override-direct gmoccapy.feed.feed-override.direct-value <= hm2_7i76e.0.7i76.0.0.analogin0

Please Log in to join the conversation.

Time to create page: 0.077 seconds
Powered by Kunena Forum