now im beginning to wonder if the other axis, x, y, z, are getting the index. I cant replicate the same testing method on them due to it creating a joint following error. I tried to invoke the g33.1 and spin the axis by hand but that just throw's the error and shuts the machine down I tried to increase the following error in the ini but to no avail. I cant seem to setp net or unlink anything in the test hal line of hal config. so that I can test the hook up for polarity. I suspect it is correct im using all of the same encoders on everything and used the same diagram for wiring.
when issuing a g33.1 should the sync axis start to move till the index is found or is that all done in the homing sequence? just curious cause none of my axis move when issuing the g33.1 and ive tried all axis to get synced motion.
here is my z axis hal
#*******************
# AXIS Z
#*******************
setp pid.z.Pgain [AXIS_2]P
setp pid.z.Igain [AXIS_2]I
setp pid.z.Dgain [AXIS_2]D
setp pid.z.bias [AXIS_2]BIAS
setp pid.z.FF0 [AXIS_2]FF0
setp pid.z.FF1 [AXIS_2]FF1
setp pid.z.FF2 [AXIS_2]FF2
setp pid.z.deadband [AXIS_2]DEADBAND
setp pid.z.maxoutput [AXIS_2]MAX_OUTPUT
net z-index-enable <=> pid.z.index-enable
# ---PWM Generator signals/setup---
setp hm2_5i20.0.pwmgen.02.output-type 2
setp hm2_5i20.0.pwmgen.02.scale [AXIS_2]OUTPUT_SCALE
net zenable => pid.z.enable
net zoutput pid.z.output => hm2_5i20.0.pwmgen.02.value
net zpos-cmd axis.2.motor-pos-cmd => pid.z.command
net zenable axis.2.amp-enable-out => hm2_5i20.0.pwmgen.02.enable
# ---Encoder feedback signals/setup---
setp hm2_5i20.0.encoder.02.counter-mode 0
setp hm2_5i20.0.encoder.02.filter 1
setp hm2_5i20.0.encoder.02.index-invert 0
setp hm2_5i20.0.encoder.02.index-mask 0
setp hm2_5i20.0.encoder.02.index-mask-invert 0
setp hm2_5i20.0.encoder.02.scale [AXIS_2]ENCODER_SCALE
net zpos-fb <= hm2_5i20.0.encoder.02.position
net zpos-fb => pid.z.feedback
net zpos-fb => axis.2.motor-pos-fb
net z-index-enable axis.2.index-enable <=> hm2_5i20.0.encoder.02.index-enable
# ---setup home / limit switch signals---
net z-home-sw hm2_5i20.0.gpio.046.out => axis.2.home-sw-in hm2_5i20.0.gpio.027.in
net z-neg-limit => axis.2.neg-lim-sw-in hm2_5i20.0.gpio.028.in
net z-pos-limit => axis.2.pos-lim-sw-in hm2_5i20.0.gpio.029.in