- Configuring LinuxCNC
- Configuration Tools
- PnCConf Wizard
- Help needed to get my 7i76E + 7i85S + 7i73 on my mill going.
Help needed to get my 7i76E + 7i85S + 7i73 on my mill going.
- tecno
-
Topic Author
- Offline
- Platinum Member
-
- Posts: 1850
- Thank you received: 127
Edited my hal and will test after dinner.
Please Log in or Create an account to join the conversation.
- tecno
-
Topic Author
- Offline
- Platinum Member
-
- Posts: 1850
- Thank you received: 127
Shutting down and cleaning up LinuxCNC...
net input-a-signal => gearcomp3.0.input_a <= hm2_7i76e.0.7i76.0.0.input-09
What went wrong ??
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
- Posts: 633
- Thank you received: 209
You have to have a critical eye and try to spot such things.
Please Log in or Create an account to join the conversation.
- tecno
-
Topic Author
- Offline
- Platinum Member
-
- Posts: 1850
- Thank you received: 127
comp says
pin in bit input_a
and same in HAL so what is wrong?
Please Log in or Create an account to join the conversation.
- tecno
-
Topic Author
- Offline
- Platinum Member
-
- Posts: 1850
- Thank you received: 127
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
- Posts: 633
- Thank you received: 209
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.
- Hakan
- Offline
- Platinum Member
-
- Posts: 633
- Thank you received: 209
gearcomp3.0.input-a
Please Log in or Create an account to join the conversation.
- dgarrett
- Offline
- Platinum Member
-
- Posts: 567
- Thank you received: 325
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.
- tecno
-
Topic Author
- Offline
- Platinum Member
-
- Posts: 1850
- Thank you received: 127
S90 = still direct to VFD not via comp.
Please Log in or Create an account to join the conversation.
- Hakan
- Offline
- Platinum Member
-
- Posts: 633
- Thank you received: 209
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.
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Configuration Tools
- PnCConf Wizard
- Help needed to get my 7i76E + 7i85S + 7i73 on my mill going.