Connect Spindel with 7i96s

More
25 Mar 2026 20:25 #344735 by Tach0
Connect Spindel with 7i96s was created by Tach0
Hello guys,
im new in Linux CNC i wat to connect Linux CNC with my Spindel+YL620a Frequency Converter
via a 7i96s and failed. I dont understand what im doing wrong.....

I connectet the Components like the Picture.

Added this to the Hal
setp hm2_7i96s.0.pwmgen.00.output-type 1
setp hm2_7i96s.0.pwmgen.00.scale [SPINDLE_0]OUTPUT_SCALE
net spindle-vel-cmd-rpm => hm2_7i96s.0.pwmgen.00.value
net spindle-enable => hm2_7i96s.0.pwmgen.00.enable

Added this to the ini
MAX_OUTPUT = 24000.0
OUTPUT_SCALE = 24000
OUTPUT_MIN_LIMIT = 0
OUTPUT_MAX_LIMIT = 24000

Changed the Frequency Converter Settings like in the Picture.

Im grateful for any help or tips.

Thaks in advance
Tach0
 
Attachments:

Please Log in or Create an account to join the conversation.

More
25 Mar 2026 21:24 - 26 Mar 2026 01:42 #344741 by PCW
Replied by PCW on topic Connect Spindel with 7i96s
At a first glance, I think you have the wrong GND
connected to  the 7I96S spindle analog SPINDLE- (TB2 pin 22).
It should be the potentiometer GND not the digital input GND.
Last edit: 26 Mar 2026 01:42 by PCW.

Please Log in or Create an account to join the conversation.

Time to create page: 0.127 seconds
Powered by Kunena Forum