Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
25 Mar 2025 00:22 - 25 Mar 2025 00:47

neeed help with additional pwm 6i25 and 7i76

Category: Basic Configuration

try this:

setp   hm2_5i25.0.pwmgen.pwm_frequency 1000
setp   hm2_5i25.0.pwmgen.00.scale 100
net pwm-enable <= motion.motion-enabled  => hm2_5i25.0.pwmgen.00.enable
net pwm-output hm2_5i25.0.pwmgen.00.value

This assumes pwm-output is a signal that has the current desired PWM value


And delete this line:

loadrt pwmgen output_type=0

Note: if you have a issue with names, you can list all pwm related pin/parameter names with

halcmd show all | grep pwm

(when LinuxCNC is running)
  • PCW
  • PCW's Avatar
24 Mar 2025 23:28 - 25 Mar 2025 19:26

correspondence of unused i/o pins to physical connector location?

Category: PnCConf Wizard

On bare FPGA pins (like on P1) any pin can be an input or output
_IF_ if it's  secondary function is disabled (or it has no secondary function)
Secondary functions can be disabled in the hal file with the num_xxxx=N stanzas

For example, the default 7I96S firmware has just GPIO (no secondary function)
on P1 so all P1 pins can be input or output. On a more complex configuration
say 7i96s_5abobd, the P1 pins used for the second encoder inputs can only be
inputs unless you disable the second encoder in the hal file (num_encoders=1)
(this leaves the encoder on the 7I96S card itself enabled)


The hostmot2  manual page has more details


 
Displaying 17791 - 17792 out of 17792 results.
Time to create page: 0.996 seconds
Powered by Kunena Forum