Closed Vorms closed 1 year ago
Version and Build Date Version = 1.2.1
Describe the bug I am not sure, I am not an linuxcnc specialist config for pwm`s are not indexed with join number. for example. join 0:
setp hm2MESA.0.pwmgen.00.output-type 1 #PWM pin0 setp hm2MESA.0.pwmgen.00.offset-mode 1 # offset mode so 50% = 0 setp hm2_MESA.0.pwmgen.00.scale [JOINT_0]SCALE
config for join 2:
same pins ? I have an example that I find in internet (join 1)
setp HMOT.pwmgen.01.output-type 1 #PWM pin0 setp HMOT.pwmgen.01.offset-mode 1 # offset mode so 50% = 0 setp HMOT.pwmgen.01.scale [JOINT_1]OUTPUT_SCALE
net y-output => HMOT.pwmgen.01.value net y-pos-cmd <= joint.1.motor-pos-cmd net y-enable <= joint.1.amp-enable-out
Steps to reproduce the behavior: build a config with the tool
Expected behavior build correct pwm config
Config File the bug is on the hal file autosave.halscope.zip
Operating System OS = Debian 10
Additional context Many thanks for your help.
Version and Build Date Version = 1.2.1
Describe the bug I am not sure, I am not an linuxcnc specialist config for pwm`s are not indexed with join number. for example. join 0:
PWM setup
setp hm2MESA.0.pwmgen.00.output-type 1 #PWM pin0 setp hm2MESA.0.pwmgen.00.offset-mode 1 # offset mode so 50% = 0 setp hm2_MESA.0.pwmgen.00.scale [JOINT_0]SCALE
config for join 2:
PWM setup
setp hm2MESA.0.pwmgen.00.output-type 1 #PWM pin0 setp hm2MESA.0.pwmgen.00.offset-mode 1 # offset mode so 50% = 0 setp hm2_MESA.0.pwmgen.00.scale [JOINT_0]SCALE
same pins ? I have an example that I find in internet (join 1)
---PWM Generator signals/setup---
setp HMOT.pwmgen.01.output-type 1 #PWM pin0 setp HMOT.pwmgen.01.offset-mode 1 # offset mode so 50% = 0 setp HMOT.pwmgen.01.scale [JOINT_1]OUTPUT_SCALE
net y-output => HMOT.pwmgen.01.value net y-pos-cmd <= joint.1.motor-pos-cmd net y-enable <= joint.1.amp-enable-out
Steps to reproduce the behavior: build a config with the tool
Expected behavior build correct pwm config
Config File the bug is on the hal file autosave.halscope.zip
Operating System OS = Debian 10
Additional context Many thanks for your help.