Category: Deutsch
Actually you can:
setp hm2_7192.0.encoder.00.index-enable true
As long as hm2_7192.0.encoder.00.index-enable is not connected to
a signal in the hal fiie. It will be set true once at LinuxCNC startup.
The error you have is that you did not comment out the net command connecting
hm2_7192.0.encoder.00.index-enable to the signal x-index-enable:
# ---Indexsignal GMS fuer Referenzpunkt X (NICHT MIT NORMALEM ENDSCHALTER)
net x-pos-fb <= hm2_7i92.0.encoder.00.position
net x-vel-fb <= hm2_7i92.0.encoder.00.velocity
net x-pos-fb => joint.0.motor-pos-fb
net x-index-enable joint.0.index-enable <=> hm2_7i92.0.encoder.00.index-enable
net x-pos-rawcounts <= hm2_7i92.0.encoder.00.rawcounts
But for testing it's better to do this in halshow
Note that while you cannot change hm2_7192.0.encoder.00.index-enable
in halshow (or the hal file) if it's connected to a signal, you can
change the signal ( x-index-enable) in halshow for testing.