Help needed to get my 7i76E + 7i85S + 7i73 on my mill going.

More
8 years 2 months ago #116325 by tecno
Do you say that input-a-signal >>>>> input_a_signal ??

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

More
8 years 2 months ago #116326 by Hakan
I see your point. I just checked your previous post with halshow and saw "input-a"
and just assumed it was called that in the hal file.
Use input-a, that is what halshow shows.

Somewhere I may have read that _ # and some other characters in the comp are treated
specially and translated. But let's just go for trial and error, I think it is faster than read up on the subject.

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

More
8 years 2 months ago #116327 by Hakan
Code:
gearcomp3.0.input-a

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

More
8 years 2 months ago #116328 by dgarrett

HALNAME - An extended identifier. When used to create a HAL identifier, any underscores are replaced with dashes, and any trailing dash or period is removed, so that "this_name_" will be turned into "this-name", and if the name is "_", then a trailing period is removed as well, so that "function _" gives a HAL function name like "component.<num>" instead of "component.<num>."


Ref: linuxcnc.org/docs/2.7/html/hal/comp.html

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

More
8 years 2 months ago #116329 by tecno
Some progress, now we have pins from comp in halshow, but...

S90 = still direct to VFD not via comp.

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

More
8 years 2 months ago - 8 years 2 months ago #116331 by Hakan
Progress!

You see speed=0 in gearcomp3. It has to have a value, in this example speed=90.
How is speed connected in hal now?
You will have to disconnect it from wherever it is going now (to the vfd?)
and let it go into gearcomp3.
The output of gearcomp3 is speedratio. Maybe it is better to have a speed_out that is
speed*ratio or speed/ratio depending of how the ratio is defined.
You should probably modify the component to give the speed_out which is the motorspeed.
And then connect the speed_out to the vfd.
Last edit: 8 years 2 months ago by Hakan.

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

Moderators: cmorley
Time to create page: 0.248 seconds
Powered by Kunena Forum